Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,33 @@ class AWS_JSONPROTOCOL_API JsonProtocolClient : public Aws::Client::AWSJsonClien
return SubmitAsync(&JsonProtocolClient::SimpleScalarProperties, request, handler, context);
}

void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr<JsonProtocolEndpointProviderBase>& accessEndpointProvider();
/**
*
*/
virtual Model::SparseNullsOperationOutcome SparseNullsOperation(const Model::SparseNullsOperationRequest& request = {}) const;

/**
* A Callable wrapper for SparseNullsOperation that returns a future to the operation so that it can be executed in parallel to other
* requests.
*/
template <typename SparseNullsOperationRequestT = Model::SparseNullsOperationRequest>
Model::SparseNullsOperationOutcomeCallable SparseNullsOperationCallable(const SparseNullsOperationRequestT& request = {}) const {
return SubmitCallable(&JsonProtocolClient::SparseNullsOperation, request);
}

/**
* An Async wrapper for SparseNullsOperation that queues the request into a thread executor and triggers associated callback when
* operation has finished.
*/
template <typename SparseNullsOperationRequestT = Model::SparseNullsOperationRequest>
void SparseNullsOperationAsync(const SparseNullsOperationResponseReceivedHandler& handler,
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
const SparseNullsOperationRequestT& request = {}) const {
return SubmitAsync(&JsonProtocolClient::SparseNullsOperation, request, handler, context);
}

virtual void OverrideEndpoint(const Aws::String& endpoint);
virtual std::shared_ptr<JsonProtocolEndpointProviderBase>& accessEndpointProvider();

private:
friend class Aws::Client::ClientWithAsyncTemplateMethods<JsonProtocolClient>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
#include <aws/json-protocol/model/PutWithContentEncodingRequest.h>
#include <aws/json-protocol/model/SimpleScalarPropertiesRequest.h>
#include <aws/json-protocol/model/SimpleScalarPropertiesResult.h>
#include <aws/json-protocol/model/SparseNullsOperationRequest.h>
#include <aws/json-protocol/model/SparseNullsOperationResult.h>
/* End of service model headers required in JsonProtocolClient header */

namespace Aws {
Expand Down Expand Up @@ -98,6 +100,7 @@ class OperationWithOptionalInputOutputRequest;
class PutAndGetInlineDocumentsRequest;
class PutWithContentEncodingRequest;
class SimpleScalarPropertiesRequest;
class SparseNullsOperationRequest;
/* End of service model forward declarations required in JsonProtocolClient header */

/* Service model Outcome class definitions */
Expand All @@ -118,6 +121,7 @@ typedef Aws::Utils::Outcome<OperationWithOptionalInputOutputResult, JsonProtocol
typedef Aws::Utils::Outcome<PutAndGetInlineDocumentsResult, JsonProtocolError> PutAndGetInlineDocumentsOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, JsonProtocolError> PutWithContentEncodingOutcome;
typedef Aws::Utils::Outcome<SimpleScalarPropertiesResult, JsonProtocolError> SimpleScalarPropertiesOutcome;
typedef Aws::Utils::Outcome<SparseNullsOperationResult, JsonProtocolError> SparseNullsOperationOutcome;
/* End of service model Outcome class definitions */

/* Service model Outcome callable definitions */
Expand All @@ -138,6 +142,7 @@ typedef std::future<OperationWithOptionalInputOutputOutcome> OperationWithOption
typedef std::future<PutAndGetInlineDocumentsOutcome> PutAndGetInlineDocumentsOutcomeCallable;
typedef std::future<PutWithContentEncodingOutcome> PutWithContentEncodingOutcomeCallable;
typedef std::future<SimpleScalarPropertiesOutcome> SimpleScalarPropertiesOutcomeCallable;
typedef std::future<SparseNullsOperationOutcome> SparseNullsOperationOutcomeCallable;
/* End of service model Outcome callable definitions */
} // namespace Model

Expand Down Expand Up @@ -197,6 +202,9 @@ typedef std::function<void(const JsonProtocolClient*, const Model::PutWithConten
typedef std::function<void(const JsonProtocolClient*, const Model::SimpleScalarPropertiesRequest&,
const Model::SimpleScalarPropertiesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
SimpleScalarPropertiesResponseReceivedHandler;
typedef std::function<void(const JsonProtocolClient*, const Model::SparseNullsOperationRequest&, const Model::SparseNullsOperationOutcome&,
const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
SparseNullsOperationResponseReceivedHandler;
/* End of service model async handlers definitions */
} // namespace JsonProtocol
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ class ComplexError {
///@}
private:
Aws::String m_topLevel;
bool m_topLevelHasBeenSet = false;

ComplexNestedErrorData m_nested;
bool m_topLevelHasBeenSet = false;
bool m_nestedHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/json-protocol/JsonProtocol_EXPORTS.h>

Expand Down Expand Up @@ -40,8 +41,11 @@ class ContentTypeParametersResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/json-protocol/JsonProtocol_EXPORTS.h>
Expand Down Expand Up @@ -56,11 +57,14 @@ class DatetimeOffsetsResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
Aws::Utils::DateTime m_datetime{};
bool m_datetimeHasBeenSet = false;

Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_datetimeHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,24 @@ class ErrorWithMembers {
///@}
private:
Aws::String m_code;
bool m_codeHasBeenSet = false;

KitchenSink m_complexData;
bool m_complexDataHasBeenSet = false;

int m_integerField{0};
bool m_integerFieldHasBeenSet = false;

Aws::Vector<Aws::String> m_listField;
bool m_listFieldHasBeenSet = false;

Aws::Map<Aws::String, Aws::String> m_mapField;
bool m_mapFieldHasBeenSet = false;

Aws::String m_message;
bool m_messageHasBeenSet = false;

Aws::String m_stringField;
bool m_codeHasBeenSet = false;
bool m_complexDataHasBeenSet = false;
bool m_integerFieldHasBeenSet = false;
bool m_listFieldHasBeenSet = false;
bool m_mapFieldHasBeenSet = false;
bool m_messageHasBeenSet = false;
bool m_stringFieldHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/json-protocol/JsonProtocol_EXPORTS.h>
Expand Down Expand Up @@ -56,11 +57,14 @@ class FractionalSecondsResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
Aws::Utils::DateTime m_datetime{};
bool m_datetimeHasBeenSet = false;

Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_datetimeHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/json-protocol/JsonProtocol_EXPORTS.h>

Expand Down Expand Up @@ -55,11 +56,14 @@ class GreetingWithErrorsResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
Aws::String m_greeting;
bool m_greetingHasBeenSet = false;

Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_greetingHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,24 +155,24 @@ class JsonEnumsRequest : public JsonProtocolRequest {
///@}
private:
FooEnum m_fooEnum1{FooEnum::NOT_SET};
bool m_fooEnum1HasBeenSet = false;

FooEnum m_fooEnum2{FooEnum::NOT_SET};
bool m_fooEnum2HasBeenSet = false;

FooEnum m_fooEnum3{FooEnum::NOT_SET};
bool m_fooEnum3HasBeenSet = false;

Aws::Vector<FooEnum> m_fooEnumList;
bool m_fooEnumListHasBeenSet = false;

Aws::Vector<FooEnum> m_fooEnumSet;
bool m_fooEnumSetHasBeenSet = false;

Aws::Map<Aws::String, FooEnum> m_fooEnumMap;
bool m_fooEnumMapHasBeenSet = false;

Aws::String m_requestId;
bool m_fooEnum1HasBeenSet = false;
bool m_fooEnum2HasBeenSet = false;
bool m_fooEnum3HasBeenSet = false;
bool m_fooEnumListHasBeenSet = false;
bool m_fooEnumSetHasBeenSet = false;
bool m_fooEnumMapHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
Expand Down Expand Up @@ -142,26 +143,29 @@ class JsonEnumsResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
FooEnum m_fooEnum1{FooEnum::NOT_SET};
bool m_fooEnum1HasBeenSet = false;

FooEnum m_fooEnum2{FooEnum::NOT_SET};
bool m_fooEnum2HasBeenSet = false;

FooEnum m_fooEnum3{FooEnum::NOT_SET};
bool m_fooEnum3HasBeenSet = false;

Aws::Vector<FooEnum> m_fooEnumList;
bool m_fooEnumListHasBeenSet = false;

Aws::Vector<FooEnum> m_fooEnumSet;
bool m_fooEnumSetHasBeenSet = false;

Aws::Map<Aws::String, FooEnum> m_fooEnumMap;
bool m_fooEnumMapHasBeenSet = false;

Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_fooEnum1HasBeenSet = false;
bool m_fooEnum2HasBeenSet = false;
bool m_fooEnum3HasBeenSet = false;
bool m_fooEnumListHasBeenSet = false;
bool m_fooEnumSetHasBeenSet = false;
bool m_fooEnumMapHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,24 @@ class JsonIntEnumsRequest : public JsonProtocolRequest {
///@}
private:
int m_intEnum1{0};
bool m_intEnum1HasBeenSet = false;

int m_intEnum2{0};
bool m_intEnum2HasBeenSet = false;

int m_intEnum3{0};
bool m_intEnum3HasBeenSet = false;

Aws::Vector<int> m_intEnumList;
bool m_intEnumListHasBeenSet = false;

Aws::Vector<int> m_intEnumSet;
bool m_intEnumSetHasBeenSet = false;

Aws::Map<Aws::String, int> m_intEnumMap;
bool m_intEnumMapHasBeenSet = false;

Aws::String m_requestId;
bool m_intEnum1HasBeenSet = false;
bool m_intEnum2HasBeenSet = false;
bool m_intEnum3HasBeenSet = false;
bool m_intEnumListHasBeenSet = false;
bool m_intEnumSetHasBeenSet = false;
bool m_intEnumMapHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
Expand Down Expand Up @@ -141,26 +142,29 @@ class JsonIntEnumsResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
int m_intEnum1{0};
bool m_intEnum1HasBeenSet = false;

int m_intEnum2{0};
bool m_intEnum2HasBeenSet = false;

int m_intEnum3{0};
bool m_intEnum3HasBeenSet = false;

Aws::Vector<int> m_intEnumList;
bool m_intEnumListHasBeenSet = false;

Aws::Vector<int> m_intEnumSet;
bool m_intEnumSetHasBeenSet = false;

Aws::Map<Aws::String, int> m_intEnumMap;
bool m_intEnumMapHasBeenSet = false;

Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_intEnum1HasBeenSet = false;
bool m_intEnum2HasBeenSet = false;
bool m_intEnum3HasBeenSet = false;
bool m_intEnumListHasBeenSet = false;
bool m_intEnumSetHasBeenSet = false;
bool m_intEnumMapHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ class JsonUnionsRequest : public JsonProtocolRequest {
///@}
private:
MyUnion m_contents;
bool m_contentsHasBeenSet = false;

Aws::String m_requestId;
bool m_contentsHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/json-protocol/JsonProtocol_EXPORTS.h>
#include <aws/json-protocol/model/MyUnion.h>
Expand Down Expand Up @@ -62,11 +63,14 @@ class JsonUnionsResult {
return *this;
}
///@}
inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

private:
MyUnion m_contents;
bool m_contentsHasBeenSet = false;

Aws::String m_requestId;
Aws::Http::HttpResponseCode m_HttpResponseCode;
bool m_contentsHasBeenSet = false;
bool m_requestIdHasBeenSet = false;
};

Expand Down
Loading
Loading