7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/PatchOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename RestApiIdT = Aws::String>
45 m_restApiIdHasBeenSet =
true;
46 m_restApiId = std::forward<RestApiIdT>(value);
48 template <
typename RestApiIdT = Aws::String>
61 template <
typename ModelNameT = Aws::String>
63 m_modelNameHasBeenSet =
true;
64 m_modelName = std::forward<ModelNameT>(value);
66 template <
typename ModelNameT = Aws::String>
81 template <
typename PatchOperationsT = Aws::Vector<PatchOperation>>
83 m_patchOperationsHasBeenSet =
true;
84 m_patchOperations = std::forward<PatchOperationsT>(value);
86 template <
typename PatchOperationsT = Aws::Vector<PatchOperation>>
91 template <
typename PatchOperationsT = PatchOperation>
93 m_patchOperationsHasBeenSet =
true;
94 m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
104 bool m_restApiIdHasBeenSet =
false;
105 bool m_modelNameHasBeenSet =
false;
106 bool m_patchOperationsHasBeenSet =
false;
void SetModelName(ModelNameT &&value)
AWS_APIGATEWAY_API UpdateModelRequest()=default
void SetRestApiId(RestApiIdT &&value)
bool PatchOperationsHasBeenSet() const
UpdateModelRequest & WithModelName(ModelNameT &&value)
const Aws::String & GetRestApiId() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetModelName() const
const Aws::Vector< PatchOperation > & GetPatchOperations() const
bool ModelNameHasBeenSet() const
bool RestApiIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateModelRequest & WithRestApiId(RestApiIdT &&value)
void SetPatchOperations(PatchOperationsT &&value)
UpdateModelRequest & AddPatchOperations(PatchOperationsT &&value)
UpdateModelRequest & WithPatchOperations(PatchOperationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector