AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
48 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
49 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
50 inline ExportApiRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
51 inline ExportApiRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
52 inline ExportApiRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
54
56
60 inline const Aws::String& GetExportVersion() const{ return m_exportVersion; }
61 inline bool ExportVersionHasBeenSet() const { return m_exportVersionHasBeenSet; }
62 inline void SetExportVersion(const Aws::String& value) { m_exportVersionHasBeenSet = true; m_exportVersion = value; }
63 inline void SetExportVersion(Aws::String&& value) { m_exportVersionHasBeenSet = true; m_exportVersion = std::move(value); }
64 inline void SetExportVersion(const char* value) { m_exportVersionHasBeenSet = true; m_exportVersion.assign(value); }
65 inline ExportApiRequest& WithExportVersion(const Aws::String& value) { SetExportVersion(value); return *this;}
66 inline ExportApiRequest& WithExportVersion(Aws::String&& value) { SetExportVersion(std::move(value)); return *this;}
67 inline ExportApiRequest& WithExportVersion(const char* value) { SetExportVersion(value); return *this;}
69
71
77 inline bool GetIncludeExtensions() const{ return m_includeExtensions; }
78 inline bool IncludeExtensionsHasBeenSet() const { return m_includeExtensionsHasBeenSet; }
79 inline void SetIncludeExtensions(bool value) { m_includeExtensionsHasBeenSet = true; m_includeExtensions = value; }
80 inline ExportApiRequest& WithIncludeExtensions(bool value) { SetIncludeExtensions(value); return *this;}
82
84
88 inline const Aws::String& GetOutputType() const{ return m_outputType; }
89 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
90 inline void SetOutputType(const Aws::String& value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
91 inline void SetOutputType(Aws::String&& value) { m_outputTypeHasBeenSet = true; m_outputType = std::move(value); }
92 inline void SetOutputType(const char* value) { m_outputTypeHasBeenSet = true; m_outputType.assign(value); }
93 inline ExportApiRequest& WithOutputType(const Aws::String& value) { SetOutputType(value); return *this;}
94 inline ExportApiRequest& WithOutputType(Aws::String&& value) { SetOutputType(std::move(value)); return *this;}
95 inline ExportApiRequest& WithOutputType(const char* value) { SetOutputType(value); return *this;}
97
99
103 inline const Aws::String& GetSpecification() const{ return m_specification; }
104 inline bool SpecificationHasBeenSet() const { return m_specificationHasBeenSet; }
105 inline void SetSpecification(const Aws::String& value) { m_specificationHasBeenSet = true; m_specification = value; }
106 inline void SetSpecification(Aws::String&& value) { m_specificationHasBeenSet = true; m_specification = std::move(value); }
107 inline void SetSpecification(const char* value) { m_specificationHasBeenSet = true; m_specification.assign(value); }
108 inline ExportApiRequest& WithSpecification(const Aws::String& value) { SetSpecification(value); return *this;}
109 inline ExportApiRequest& WithSpecification(Aws::String&& value) { SetSpecification(std::move(value)); return *this;}
110 inline ExportApiRequest& WithSpecification(const char* value) { SetSpecification(value); return *this;}
112
114
118 inline const Aws::String& GetStageName() const{ return m_stageName; }
119 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
120 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
121 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
122 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
123 inline ExportApiRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
124 inline ExportApiRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
125 inline ExportApiRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
127 private:
128
129 Aws::String m_apiId;
130 bool m_apiIdHasBeenSet = false;
131
132 Aws::String m_exportVersion;
133 bool m_exportVersionHasBeenSet = false;
134
135 bool m_includeExtensions;
136 bool m_includeExtensionsHasBeenSet = false;
137
138 Aws::String m_outputType;
139 bool m_outputTypeHasBeenSet = false;
140
141 Aws::String m_specification;
142 bool m_specificationHasBeenSet = false;
143
144 Aws::String m_stageName;
145 bool m_stageNameHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace ApiGatewayV2
150} // namespace Aws
ExportApiRequest & WithApiId(const char *value)
ExportApiRequest & WithOutputType(const char *value)
ExportApiRequest & WithApiId(const Aws::String &value)
void SetStageName(const Aws::String &value)
ExportApiRequest & WithStageName(const char *value)
void SetSpecification(const Aws::String &value)
ExportApiRequest & WithStageName(const Aws::String &value)
ExportApiRequest & WithStageName(Aws::String &&value)
ExportApiRequest & WithIncludeExtensions(bool value)
void SetApiId(const Aws::String &value)
const Aws::String & GetExportVersion() const
ExportApiRequest & WithOutputType(Aws::String &&value)
ExportApiRequest & WithExportVersion(const char *value)
ExportApiRequest & WithExportVersion(const Aws::String &value)
void SetExportVersion(const Aws::String &value)
ExportApiRequest & WithApiId(Aws::String &&value)
const Aws::String & GetOutputType() const
ExportApiRequest & WithSpecification(const Aws::String &value)
ExportApiRequest & WithOutputType(const Aws::String &value)
ExportApiRequest & WithSpecification(const char *value)
const Aws::String & GetSpecification() const
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
ExportApiRequest & WithExportVersion(Aws::String &&value)
ExportApiRequest & WithSpecification(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetOutputType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String