AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateDeploymentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ApiGatewayV2
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateDeployment"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetApiId() const{ return m_apiId; }
42 
46  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
47 
51  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
52 
56  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
57 
61  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
62 
66  inline UpdateDeploymentRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
67 
71  inline UpdateDeploymentRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
72 
76  inline UpdateDeploymentRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
77 
78 
82  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
83 
87  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
88 
92  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
93 
97  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
98 
102  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
103 
107  inline UpdateDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
108 
112  inline UpdateDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
113 
117  inline UpdateDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline UpdateDeploymentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline UpdateDeploymentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline UpdateDeploymentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160  private:
161 
162  Aws::String m_apiId;
163  bool m_apiIdHasBeenSet;
164 
165  Aws::String m_deploymentId;
166  bool m_deploymentIdHasBeenSet;
167 
168  Aws::String m_description;
169  bool m_descriptionHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace ApiGatewayV2
174 } // namespace Aws
UpdateDeploymentRequest & WithDescription(const char *value)
UpdateDeploymentRequest & WithDeploymentId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateDeploymentRequest & WithApiId(Aws::String &&value)
#define AWS_APIGATEWAYV2_API
UpdateDeploymentRequest & WithDeploymentId(Aws::String &&value)
UpdateDeploymentRequest & WithApiId(const char *value)
UpdateDeploymentRequest & WithDeploymentId(const Aws::String &value)
UpdateDeploymentRequest & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateDeploymentRequest & WithDescription(const Aws::String &value)
UpdateDeploymentRequest & WithApiId(const Aws::String &value)