AWS SDK for C++  1.9.20
AWS SDK for C++
CreateDocumentationVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace APIGateway
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateDocumentationVersion"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
43 
47  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
48 
52  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
53 
57  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
58 
62  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
63 
67  inline CreateDocumentationVersionRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
68 
72  inline CreateDocumentationVersionRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
73 
77  inline CreateDocumentationVersionRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
78 
79 
83  inline const Aws::String& GetDocumentationVersion() const{ return m_documentationVersion; }
84 
88  inline bool DocumentationVersionHasBeenSet() const { return m_documentationVersionHasBeenSet; }
89 
93  inline void SetDocumentationVersion(const Aws::String& value) { m_documentationVersionHasBeenSet = true; m_documentationVersion = value; }
94 
98  inline void SetDocumentationVersion(Aws::String&& value) { m_documentationVersionHasBeenSet = true; m_documentationVersion = std::move(value); }
99 
103  inline void SetDocumentationVersion(const char* value) { m_documentationVersionHasBeenSet = true; m_documentationVersion.assign(value); }
104 
108  inline CreateDocumentationVersionRequest& WithDocumentationVersion(const Aws::String& value) { SetDocumentationVersion(value); return *this;}
109 
113  inline CreateDocumentationVersionRequest& WithDocumentationVersion(Aws::String&& value) { SetDocumentationVersion(std::move(value)); return *this;}
114 
118  inline CreateDocumentationVersionRequest& WithDocumentationVersion(const char* value) { SetDocumentationVersion(value); return *this;}
119 
120 
124  inline const Aws::String& GetStageName() const{ return m_stageName; }
125 
129  inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
130 
134  inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
135 
139  inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
140 
144  inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
145 
149  inline CreateDocumentationVersionRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
150 
154  inline CreateDocumentationVersionRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
155 
159  inline CreateDocumentationVersionRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
160 
161 
165  inline const Aws::String& GetDescription() const{ return m_description; }
166 
170  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
171 
175  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
176 
180  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
181 
185  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
186 
190  inline CreateDocumentationVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
191 
195  inline CreateDocumentationVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
196 
200  inline CreateDocumentationVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
201 
202  private:
203 
204  Aws::String m_restApiId;
205  bool m_restApiIdHasBeenSet;
206 
207  Aws::String m_documentationVersion;
208  bool m_documentationVersionHasBeenSet;
209 
210  Aws::String m_stageName;
211  bool m_stageNameHasBeenSet;
212 
213  Aws::String m_description;
214  bool m_descriptionHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace APIGateway
219 } // namespace Aws
Aws::APIGateway::Model::CreateDocumentationVersionRequest::GetStageName
const Aws::String & GetStageName() const
Definition: CreateDocumentationVersionRequest.h:124
Aws::APIGateway::Model::CreateDocumentationVersionRequest
Definition: CreateDocumentationVersionRequest.h:26
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithRestApiId
CreateDocumentationVersionRequest & WithRestApiId(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:67
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:175
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:52
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDocumentationVersionRequest.h:185
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithStageName
CreateDocumentationVersionRequest & WithStageName(const char *value)
Definition: CreateDocumentationVersionRequest.h:159
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithDocumentationVersion
CreateDocumentationVersionRequest & WithDocumentationVersion(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:108
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: CreateDocumentationVersionRequest.h:62
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetDocumentationVersion
void SetDocumentationVersion(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:98
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateDocumentationVersionRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: CreateDocumentationVersionRequest.h:47
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithRestApiId
CreateDocumentationVersionRequest & WithRestApiId(const char *value)
Definition: CreateDocumentationVersionRequest.h:77
Aws::APIGateway::Model::CreateDocumentationVersionRequest::StageNameHasBeenSet
bool StageNameHasBeenSet() const
Definition: CreateDocumentationVersionRequest.h:129
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithRestApiId
CreateDocumentationVersionRequest & WithRestApiId(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:72
APIGatewayRequest.h
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetStageName
void SetStageName(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:134
Aws::APIGateway::Model::CreateDocumentationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDocumentationVersionRequest.h:34
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetDocumentationVersion
void SetDocumentationVersion(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:93
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithDescription
CreateDocumentationVersionRequest & WithDescription(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:195
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetStageName
void SetStageName(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:139
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:57
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithDocumentationVersion
CreateDocumentationVersionRequest & WithDocumentationVersion(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:113
Aws::APIGateway::Model::CreateDocumentationVersionRequest::GetDocumentationVersion
const Aws::String & GetDocumentationVersion() const
Definition: CreateDocumentationVersionRequest.h:83
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithStageName
CreateDocumentationVersionRequest & WithStageName(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:154
AWSString.h
Aws::APIGateway::Model::CreateDocumentationVersionRequest::CreateDocumentationVersionRequest
CreateDocumentationVersionRequest()
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithStageName
CreateDocumentationVersionRequest & WithStageName(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:149
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithDescription
CreateDocumentationVersionRequest & WithDescription(const Aws::String &value)
Definition: CreateDocumentationVersionRequest.h:190
Aws::APIGateway::Model::CreateDocumentationVersionRequest::DocumentationVersionHasBeenSet
bool DocumentationVersionHasBeenSet() const
Definition: CreateDocumentationVersionRequest.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDocumentationVersionRequest.h:180
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetDocumentationVersion
void SetDocumentationVersion(const char *value)
Definition: CreateDocumentationVersionRequest.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithDescription
CreateDocumentationVersionRequest & WithDescription(const char *value)
Definition: CreateDocumentationVersionRequest.h:200
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::CreateDocumentationVersionRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: CreateDocumentationVersionRequest.h:42
Aws::APIGateway::Model::CreateDocumentationVersionRequest::SetStageName
void SetStageName(const char *value)
Definition: CreateDocumentationVersionRequest.h:144
Aws::APIGateway::Model::CreateDocumentationVersionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDocumentationVersionRequest.h:165
Aws::APIGateway::Model::CreateDocumentationVersionRequest::WithDocumentationVersion
CreateDocumentationVersionRequest & WithDocumentationVersion(const char *value)
Definition: CreateDocumentationVersionRequest.h:118
Aws::APIGateway::Model::CreateDocumentationVersionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDocumentationVersionRequest.h:170