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>
62 template <
typename DeploymentIdT = Aws::String>
64 m_deploymentIdHasBeenSet =
true;
65 m_deploymentId = std::forward<DeploymentIdT>(value);
67 template <
typename DeploymentIdT = Aws::String>
82 template <
typename PatchOperationsT = Aws::Vector<PatchOperation>>
84 m_patchOperationsHasBeenSet =
true;
85 m_patchOperations = std::forward<PatchOperationsT>(value);
87 template <
typename PatchOperationsT = Aws::Vector<PatchOperation>>
92 template <
typename PatchOperationsT = PatchOperation>
94 m_patchOperationsHasBeenSet =
true;
95 m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
105 bool m_restApiIdHasBeenSet =
false;
106 bool m_deploymentIdHasBeenSet =
false;
107 bool m_patchOperationsHasBeenSet =
false;
UpdateDeploymentRequest & WithPatchOperations(PatchOperationsT &&value)
bool RestApiIdHasBeenSet() const
void SetPatchOperations(PatchOperationsT &&value)
void SetRestApiId(RestApiIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDeploymentRequest & WithDeploymentId(DeploymentIdT &&value)
AWS_APIGATEWAY_API UpdateDeploymentRequest()=default
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetDeploymentId() const
bool DeploymentIdHasBeenSet() const
const Aws::Vector< PatchOperation > & GetPatchOperations() const
void SetDeploymentId(DeploymentIdT &&value)
bool PatchOperationsHasBeenSet() const
const Aws::String & GetRestApiId() const
UpdateDeploymentRequest & AddPatchOperations(PatchOperationsT &&value)
UpdateDeploymentRequest & WithRestApiId(RestApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector