AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateDeploymentRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ApiGatewayV2 {
15namespace Model {
16
23 public:
24 AWS_APIGATEWAYV2_API UpdateDeploymentRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateDeployment"; }
31
32 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetApiId() const { return m_apiId; }
39 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
40 template <typename ApiIdT = Aws::String>
41 void SetApiId(ApiIdT&& value) {
42 m_apiIdHasBeenSet = true;
43 m_apiId = std::forward<ApiIdT>(value);
44 }
45 template <typename ApiIdT = Aws::String>
47 SetApiId(std::forward<ApiIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
57 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
58 template <typename DeploymentIdT = Aws::String>
59 void SetDeploymentId(DeploymentIdT&& value) {
60 m_deploymentIdHasBeenSet = true;
61 m_deploymentId = std::forward<DeploymentIdT>(value);
62 }
63 template <typename DeploymentIdT = Aws::String>
64 UpdateDeploymentRequest& WithDeploymentId(DeploymentIdT&& value) {
65 SetDeploymentId(std::forward<DeploymentIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_apiId;
89
90 Aws::String m_deploymentId;
91
92 Aws::String m_description;
93 bool m_apiIdHasBeenSet = false;
94 bool m_deploymentIdHasBeenSet = false;
95 bool m_descriptionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace ApiGatewayV2
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAYV2_API UpdateDeploymentRequest()=default
UpdateDeploymentRequest & WithDeploymentId(DeploymentIdT &&value)
UpdateDeploymentRequest & WithApiId(ApiIdT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateDeploymentRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String