AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExportApiRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace ApiGatewayV2
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APIGATEWAYV2_API ExportApiRequest() = default;
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 "ExportApi"; }
35
36 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
37
38 AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetApiId() const { return m_apiId; }
46 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
47 template<typename ApiIdT = Aws::String>
48 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
49 template<typename ApiIdT = Aws::String>
50 ExportApiRequest& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetExportVersion() const { return m_exportVersion; }
59 inline bool ExportVersionHasBeenSet() const { return m_exportVersionHasBeenSet; }
60 template<typename ExportVersionT = Aws::String>
61 void SetExportVersion(ExportVersionT&& value) { m_exportVersionHasBeenSet = true; m_exportVersion = std::forward<ExportVersionT>(value); }
62 template<typename ExportVersionT = Aws::String>
63 ExportApiRequest& WithExportVersion(ExportVersionT&& value) { SetExportVersion(std::forward<ExportVersionT>(value)); return *this;}
65
67
73 inline bool GetIncludeExtensions() const { return m_includeExtensions; }
74 inline bool IncludeExtensionsHasBeenSet() const { return m_includeExtensionsHasBeenSet; }
75 inline void SetIncludeExtensions(bool value) { m_includeExtensionsHasBeenSet = true; m_includeExtensions = value; }
76 inline ExportApiRequest& WithIncludeExtensions(bool value) { SetIncludeExtensions(value); return *this;}
78
80
84 inline const Aws::String& GetOutputType() const { return m_outputType; }
85 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
86 template<typename OutputTypeT = Aws::String>
87 void SetOutputType(OutputTypeT&& value) { m_outputTypeHasBeenSet = true; m_outputType = std::forward<OutputTypeT>(value); }
88 template<typename OutputTypeT = Aws::String>
89 ExportApiRequest& WithOutputType(OutputTypeT&& value) { SetOutputType(std::forward<OutputTypeT>(value)); return *this;}
91
93
97 inline const Aws::String& GetSpecification() const { return m_specification; }
98 inline bool SpecificationHasBeenSet() const { return m_specificationHasBeenSet; }
99 template<typename SpecificationT = Aws::String>
100 void SetSpecification(SpecificationT&& value) { m_specificationHasBeenSet = true; m_specification = std::forward<SpecificationT>(value); }
101 template<typename SpecificationT = Aws::String>
102 ExportApiRequest& WithSpecification(SpecificationT&& value) { SetSpecification(std::forward<SpecificationT>(value)); return *this;}
104
106
110 inline const Aws::String& GetStageName() const { return m_stageName; }
111 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
112 template<typename StageNameT = Aws::String>
113 void SetStageName(StageNameT&& value) { m_stageNameHasBeenSet = true; m_stageName = std::forward<StageNameT>(value); }
114 template<typename StageNameT = Aws::String>
115 ExportApiRequest& WithStageName(StageNameT&& value) { SetStageName(std::forward<StageNameT>(value)); return *this;}
117 private:
118
119 Aws::String m_apiId;
120 bool m_apiIdHasBeenSet = false;
121
122 Aws::String m_exportVersion;
123 bool m_exportVersionHasBeenSet = false;
124
125 bool m_includeExtensions{false};
126 bool m_includeExtensionsHasBeenSet = false;
127
128 Aws::String m_outputType;
129 bool m_outputTypeHasBeenSet = false;
130
131 Aws::String m_specification;
132 bool m_specificationHasBeenSet = false;
133
134 Aws::String m_stageName;
135 bool m_stageNameHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace ApiGatewayV2
140} // namespace Aws
ExportApiRequest & WithStageName(StageNameT &&value)
void SetExportVersion(ExportVersionT &&value)
ExportApiRequest & WithOutputType(OutputTypeT &&value)
ExportApiRequest & WithIncludeExtensions(bool value)
const Aws::String & GetExportVersion() const
const Aws::String & GetOutputType() const
void SetSpecification(SpecificationT &&value)
ExportApiRequest & WithApiId(ApiIdT &&value)
const Aws::String & GetSpecification() const
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ExportApiRequest & WithExportVersion(ExportVersionT &&value)
ExportApiRequest & WithSpecification(SpecificationT &&value)
AWS_APIGATEWAYV2_API ExportApiRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String