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>
46 template<
typename RestApiIdT = Aws::String>
47 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
48 template<
typename RestApiIdT = Aws::String>
58 template<
typename ResourceIdT = Aws::String>
59 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
60 template<
typename ResourceIdT = Aws::String>
70 template<
typename HttpMethodT = Aws::String>
71 void SetHttpMethod(HttpMethodT&& value) { m_httpMethodHasBeenSet =
true; m_httpMethod = std::forward<HttpMethodT>(value); }
72 template<
typename HttpMethodT = Aws::String>
84 template<
typename PatchOperationsT = Aws::Vector<PatchOperation>>
85 void SetPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet =
true; m_patchOperations = std::forward<PatchOperationsT>(value); }
86 template<
typename PatchOperationsT = Aws::Vector<PatchOperation>>
88 template<
typename PatchOperationsT = PatchOperation>
94 bool m_restApiIdHasBeenSet =
false;
97 bool m_resourceIdHasBeenSet =
false;
100 bool m_httpMethodHasBeenSet =
false;
103 bool m_patchOperationsHasBeenSet =
false;
UpdateMethodRequest & WithRestApiId(RestApiIdT &&value)
UpdateMethodRequest & AddPatchOperations(PatchOperationsT &&value)
bool PatchOperationsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool RestApiIdHasBeenSet() const
UpdateMethodRequest & WithHttpMethod(HttpMethodT &&value)
void SetPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetRestApiId() const
void SetHttpMethod(HttpMethodT &&value)
void SetRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API UpdateMethodRequest()=default
const Aws::Vector< PatchOperation > & GetPatchOperations() const
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetResourceId() const
bool HttpMethodHasBeenSet() const
UpdateMethodRequest & WithPatchOperations(PatchOperationsT &&value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetHttpMethod() const
UpdateMethodRequest & WithResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector