AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RestApiIdT = Aws::String>
55 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
56 template<typename RestApiIdT = Aws::String>
57 GetExportRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetStageName() const { return m_stageName; }
65 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
66 template<typename StageNameT = Aws::String>
67 void SetStageName(StageNameT&& value) { m_stageNameHasBeenSet = true; m_stageName = std::forward<StageNameT>(value); }
68 template<typename StageNameT = Aws::String>
69 GetExportRequest& WithStageName(StageNameT&& value) { SetStageName(std::forward<StageNameT>(value)); return *this;}
71
73
77 inline const Aws::String& GetExportType() const { return m_exportType; }
78 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
79 template<typename ExportTypeT = Aws::String>
80 void SetExportType(ExportTypeT&& value) { m_exportTypeHasBeenSet = true; m_exportType = std::forward<ExportTypeT>(value); }
81 template<typename ExportTypeT = Aws::String>
82 GetExportRequest& WithExportType(ExportTypeT&& value) { SetExportType(std::forward<ExportTypeT>(value)); return *this;}
84
86
97 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
98 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
99 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
100 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
101 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
102 GetExportRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
103 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
104 GetExportRequest& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
105 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
106 }
108
110
117 inline const Aws::String& GetAccepts() const { return m_accepts; }
118 inline bool AcceptsHasBeenSet() const { return m_acceptsHasBeenSet; }
119 template<typename AcceptsT = Aws::String>
120 void SetAccepts(AcceptsT&& value) { m_acceptsHasBeenSet = true; m_accepts = std::forward<AcceptsT>(value); }
121 template<typename AcceptsT = Aws::String>
122 GetExportRequest& WithAccepts(AcceptsT&& value) { SetAccepts(std::forward<AcceptsT>(value)); return *this;}
124 private:
125
126 Aws::String m_restApiId;
127 bool m_restApiIdHasBeenSet = false;
128
129 Aws::String m_stageName;
130 bool m_stageNameHasBeenSet = false;
131
132 Aws::String m_exportType;
133 bool m_exportTypeHasBeenSet = false;
134
136 bool m_parametersHasBeenSet = false;
137
138 Aws::String m_accepts;
139 bool m_acceptsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace APIGateway
144} // namespace Aws
GetExportRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
GetExportRequest & WithParameters(ParametersT &&value)
GetExportRequest & WithAccepts(AcceptsT &&value)
GetExportRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetExportRequest & WithExportType(ExportTypeT &&value)
AWS_APIGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetExportType() const
const Aws::String & GetRestApiId() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
GetExportRequest & WithStageName(StageNameT &&value)
const Aws::String & GetStageName() const
AWS_APIGATEWAY_API GetExportRequest()=default
virtual const char * GetServiceRequestName() const override
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