7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/PatchOperation.h>
47 template<
typename RestApiIdT = Aws::String>
48 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
49 template<
typename RestApiIdT = Aws::String>
59 template<
typename ModelNameT = Aws::String>
60 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet =
true; m_modelName = std::forward<ModelNameT>(value); }
61 template<
typename ModelNameT = Aws::String>
73 template<
typename PatchOperationsT = Aws::Vector<PatchOperation>>
74 void SetPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet =
true; m_patchOperations = std::forward<PatchOperationsT>(value); }
75 template<
typename PatchOperationsT = Aws::Vector<PatchOperation>>
77 template<
typename PatchOperationsT = PatchOperation>
78 UpdateModelRequest&
AddPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet =
true; m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
return *
this; }
83 bool m_restApiIdHasBeenSet =
false;
86 bool m_modelNameHasBeenSet =
false;
89 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