AWS SDK for C++  1.9.21
AWS SDK for C++
GetExportRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace APIGateway
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "GetExport"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
46 
47 
51  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
52 
56  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
57 
61  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
62 
66  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
67 
71  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
72 
76  inline GetExportRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
77 
81  inline GetExportRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
82 
86  inline GetExportRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
87 
88 
92  inline const Aws::String& GetStageName() const{ return m_stageName; }
93 
97  inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
98 
102  inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
103 
107  inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
108 
112  inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
113 
117  inline GetExportRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
118 
122  inline GetExportRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
123 
127  inline GetExportRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
128 
129 
134  inline const Aws::String& GetExportType() const{ return m_exportType; }
135 
140  inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
141 
146  inline void SetExportType(const Aws::String& value) { m_exportTypeHasBeenSet = true; m_exportType = value; }
147 
152  inline void SetExportType(Aws::String&& value) { m_exportTypeHasBeenSet = true; m_exportType = std::move(value); }
153 
158  inline void SetExportType(const char* value) { m_exportTypeHasBeenSet = true; m_exportType.assign(value); }
159 
164  inline GetExportRequest& WithExportType(const Aws::String& value) { SetExportType(value); return *this;}
165 
170  inline GetExportRequest& WithExportType(Aws::String&& value) { SetExportType(std::move(value)); return *this;}
171 
176  inline GetExportRequest& WithExportType(const char* value) { SetExportType(value); return *this;}
177 
178 
190  inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
191 
203  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
204 
216  inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
217 
229  inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
230 
242  inline GetExportRequest& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
243 
255  inline GetExportRequest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
256 
268  inline GetExportRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
269 
281  inline GetExportRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
282 
294  inline GetExportRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
295 
307  inline GetExportRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
308 
320  inline GetExportRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
321 
333  inline GetExportRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
334 
346  inline GetExportRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
347 
348 
356  inline const Aws::String& GetAccepts() const{ return m_accepts; }
357 
365  inline bool AcceptsHasBeenSet() const { return m_acceptsHasBeenSet; }
366 
374  inline void SetAccepts(const Aws::String& value) { m_acceptsHasBeenSet = true; m_accepts = value; }
375 
383  inline void SetAccepts(Aws::String&& value) { m_acceptsHasBeenSet = true; m_accepts = std::move(value); }
384 
392  inline void SetAccepts(const char* value) { m_acceptsHasBeenSet = true; m_accepts.assign(value); }
393 
401  inline GetExportRequest& WithAccepts(const Aws::String& value) { SetAccepts(value); return *this;}
402 
410  inline GetExportRequest& WithAccepts(Aws::String&& value) { SetAccepts(std::move(value)); return *this;}
411 
419  inline GetExportRequest& WithAccepts(const char* value) { SetAccepts(value); return *this;}
420 
421  private:
422 
423  Aws::String m_restApiId;
424  bool m_restApiIdHasBeenSet;
425 
426  Aws::String m_stageName;
427  bool m_stageNameHasBeenSet;
428 
429  Aws::String m_exportType;
430  bool m_exportTypeHasBeenSet;
431 
433  bool m_parametersHasBeenSet;
434 
435  Aws::String m_accepts;
436  bool m_acceptsHasBeenSet;
437  };
438 
439 } // namespace Model
440 } // namespace APIGateway
441 } // namespace Aws
Aws::APIGateway::Model::GetExportRequest::SetExportType
void SetExportType(const char *value)
Definition: GetExportRequest.h:158
Aws::APIGateway::Model::GetExportRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetExportRequest.h:39
Aws::APIGateway::Model::GetExportRequest::SetParameters
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetExportRequest.h:216
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(const char *key, Aws::String &&value)
Definition: GetExportRequest.h:320
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetExportRequest::SetParameters
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetExportRequest.h:229
Aws::APIGateway::Model::GetExportRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetExportRequest.h:66
Aws::APIGateway::Model::GetExportRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetExportRequest.h:71
Aws::APIGateway::Model::GetExportRequest::WithRestApiId
GetExportRequest & WithRestApiId(Aws::String &&value)
Definition: GetExportRequest.h:81
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetExportRequest::WithStageName
GetExportRequest & WithStageName(const Aws::String &value)
Definition: GetExportRequest.h:117
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::APIGateway::Model::GetExportRequest::WithParameters
GetExportRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetExportRequest.h:255
Aws::APIGateway::Model::GetExportRequest::WithExportType
GetExportRequest & WithExportType(const Aws::String &value)
Definition: GetExportRequest.h:164
Aws::APIGateway::Model::GetExportRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetExportRequest.h:61
Aws::APIGateway::Model::GetExportRequest::SetExportType
void SetExportType(Aws::String &&value)
Definition: GetExportRequest.h:152
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(Aws::String &&key, const char *value)
Definition: GetExportRequest.h:333
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(Aws::String &&key, const Aws::String &value)
Definition: GetExportRequest.h:281
Aws::APIGateway::Model::GetExportRequest::GetParameters
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition: GetExportRequest.h:190
Aws::APIGateway::Model::GetExportRequest::SetExportType
void SetExportType(const Aws::String &value)
Definition: GetExportRequest.h:146
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetExportRequest::WithAccepts
GetExportRequest & WithAccepts(Aws::String &&value)
Definition: GetExportRequest.h:410
Aws::APIGateway::Model::GetExportRequest::WithAccepts
GetExportRequest & WithAccepts(const char *value)
Definition: GetExportRequest.h:419
Aws::APIGateway::Model::GetExportRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::APIGateway::Model::GetExportRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetExportRequest::WithRestApiId
GetExportRequest & WithRestApiId(const char *value)
Definition: GetExportRequest.h:86
APIGatewayRequest.h
Aws::APIGateway::Model::GetExportRequest::SetStageName
void SetStageName(const Aws::String &value)
Definition: GetExportRequest.h:102
Aws::APIGateway::Model::GetExportRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetExportRequest.h:51
Aws::APIGateway::Model::GetExportRequest::WithRestApiId
GetExportRequest & WithRestApiId(const Aws::String &value)
Definition: GetExportRequest.h:76
Aws::APIGateway::Model::GetExportRequest::WithStageName
GetExportRequest & WithStageName(const char *value)
Definition: GetExportRequest.h:127
Aws::APIGateway::Model::GetExportRequest::GetExportRequest
GetExportRequest()
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(const Aws::String &key, const Aws::String &value)
Definition: GetExportRequest.h:268
AWSString.h
Aws::APIGateway::Model::GetExportRequest::GetStageName
const Aws::String & GetStageName() const
Definition: GetExportRequest.h:92
Aws::APIGateway::Model::GetExportRequest::SetStageName
void SetStageName(const char *value)
Definition: GetExportRequest.h:112
Aws::APIGateway::Model::GetExportRequest::ExportTypeHasBeenSet
bool ExportTypeHasBeenSet() const
Definition: GetExportRequest.h:140
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(const Aws::String &key, Aws::String &&value)
Definition: GetExportRequest.h:294
Aws::APIGateway::Model::GetExportRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: GetExportRequest.h:203
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(const char *key, const char *value)
Definition: GetExportRequest.h:346
Aws::APIGateway::Model::GetExportRequest::AcceptsHasBeenSet
bool AcceptsHasBeenSet() const
Definition: GetExportRequest.h:365
Aws::APIGateway::Model::GetExportRequest::WithStageName
GetExportRequest & WithStageName(Aws::String &&value)
Definition: GetExportRequest.h:122
Aws::APIGateway::Model::GetExportRequest::GetAccepts
const Aws::String & GetAccepts() const
Definition: GetExportRequest.h:356
Aws::APIGateway::Model::GetExportRequest::SetAccepts
void SetAccepts(const Aws::String &value)
Definition: GetExportRequest.h:374
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetExportRequest::SetAccepts
void SetAccepts(const char *value)
Definition: GetExportRequest.h:392
Aws::APIGateway::Model::GetExportRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetExportRequest.h:56
Aws::APIGateway::Model::GetExportRequest::AddParameters
GetExportRequest & AddParameters(Aws::String &&key, Aws::String &&value)
Definition: GetExportRequest.h:307
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetExportRequest::GetExportType
const Aws::String & GetExportType() const
Definition: GetExportRequest.h:134
Aws::APIGateway::Model::GetExportRequest::StageNameHasBeenSet
bool StageNameHasBeenSet() const
Definition: GetExportRequest.h:97
Aws::APIGateway::Model::GetExportRequest::WithExportType
GetExportRequest & WithExportType(Aws::String &&value)
Definition: GetExportRequest.h:170
Aws::APIGateway::Model::GetExportRequest
Definition: GetExportRequest.h:31
Aws::APIGateway::Model::GetExportRequest::WithExportType
GetExportRequest & WithExportType(const char *value)
Definition: GetExportRequest.h:176
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetExportRequest::SetStageName
void SetStageName(Aws::String &&value)
Definition: GetExportRequest.h:107
Aws::APIGateway::Model::GetExportRequest::SerializePayload
Aws::String SerializePayload() const override
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::GetExportRequest::WithParameters
GetExportRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetExportRequest.h:242
Aws::APIGateway::Model::GetExportRequest::SetAccepts
void SetAccepts(Aws::String &&value)
Definition: GetExportRequest.h:383
Aws::APIGateway::Model::GetExportRequest::WithAccepts
GetExportRequest & WithAccepts(const Aws::String &value)
Definition: GetExportRequest.h:401