AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExportRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace APIGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAY_API GetExportRequest();
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_APIGATEWAY_API Aws::String SerializePayload() const override;
42
43 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
46
47
49
52 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
53 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
54 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
55 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
56 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
57 inline GetExportRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
58 inline GetExportRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
59 inline GetExportRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
61
63
66 inline const Aws::String& GetStageName() const{ return m_stageName; }
67 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
68 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
69 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
70 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
71 inline GetExportRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
72 inline GetExportRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
73 inline GetExportRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
75
77
81 inline const Aws::String& GetExportType() const{ return m_exportType; }
82 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
83 inline void SetExportType(const Aws::String& value) { m_exportTypeHasBeenSet = true; m_exportType = value; }
84 inline void SetExportType(Aws::String&& value) { m_exportTypeHasBeenSet = true; m_exportType = std::move(value); }
85 inline void SetExportType(const char* value) { m_exportTypeHasBeenSet = true; m_exportType.assign(value); }
86 inline GetExportRequest& WithExportType(const Aws::String& value) { SetExportType(value); return *this;}
87 inline GetExportRequest& WithExportType(Aws::String&& value) { SetExportType(std::move(value)); return *this;}
88 inline GetExportRequest& WithExportType(const char* value) { SetExportType(value); return *this;}
90
92
103 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
104 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
105 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
106 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
108 inline GetExportRequest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
109 inline GetExportRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
110 inline GetExportRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
111 inline GetExportRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
112 inline GetExportRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
113 inline GetExportRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
114 inline GetExportRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
115 inline GetExportRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
117
119
126 inline const Aws::String& GetAccepts() const{ return m_accepts; }
127 inline bool AcceptsHasBeenSet() const { return m_acceptsHasBeenSet; }
128 inline void SetAccepts(const Aws::String& value) { m_acceptsHasBeenSet = true; m_accepts = value; }
129 inline void SetAccepts(Aws::String&& value) { m_acceptsHasBeenSet = true; m_accepts = std::move(value); }
130 inline void SetAccepts(const char* value) { m_acceptsHasBeenSet = true; m_accepts.assign(value); }
131 inline GetExportRequest& WithAccepts(const Aws::String& value) { SetAccepts(value); return *this;}
132 inline GetExportRequest& WithAccepts(Aws::String&& value) { SetAccepts(std::move(value)); return *this;}
133 inline GetExportRequest& WithAccepts(const char* value) { SetAccepts(value); return *this;}
135 private:
136
137 Aws::String m_restApiId;
138 bool m_restApiIdHasBeenSet = false;
139
140 Aws::String m_stageName;
141 bool m_stageNameHasBeenSet = false;
142
143 Aws::String m_exportType;
144 bool m_exportTypeHasBeenSet = false;
145
147 bool m_parametersHasBeenSet = false;
148
149 Aws::String m_accepts;
150 bool m_acceptsHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace APIGateway
155} // namespace Aws
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetExportRequest & WithStageName(const Aws::String &value)
GetExportRequest & WithAccepts(const char *value)
GetExportRequest & AddParameters(const char *key, const char *value)
GetExportRequest & AddParameters(const Aws::String &key, Aws::String &&value)
GetExportRequest & AddParameters(Aws::String &&key, const char *value)
GetExportRequest & WithRestApiId(const char *value)
GetExportRequest & WithExportType(const Aws::String &value)
GetExportRequest & AddParameters(const Aws::String &key, const Aws::String &value)
GetExportRequest & WithExportType(Aws::String &&value)
void SetExportType(const Aws::String &value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APIGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetExportType() const
const Aws::String & GetRestApiId() const
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetExportRequest & WithAccepts(Aws::String &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetExportRequest & WithStageName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
GetExportRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetExportRequest & WithRestApiId(Aws::String &&value)
void SetStageName(const Aws::String &value)
GetExportRequest & WithAccepts(const Aws::String &value)
void SetAccepts(const Aws::String &value)
GetExportRequest & AddParameters(const char *key, Aws::String &&value)
GetExportRequest & AddParameters(Aws::String &&key, const Aws::String &value)
GetExportRequest & WithStageName(const char *value)
const Aws::String & GetStageName() const
void SetRestApiId(const Aws::String &value)
GetExportRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetExportRequest & WithRestApiId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetExportRequest & WithExportType(const char *value)
GetExportRequest & AddParameters(Aws::String &&key, Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String