AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApiGatewayApiAsset.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/dataexchange/model/ProtocolType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataExchange
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAEXCHANGE_API ApiGatewayApiAsset();
37 AWS_DATAEXCHANGE_API ApiGatewayApiAsset(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApiDescription() const{ return m_apiDescription; }
47 inline bool ApiDescriptionHasBeenSet() const { return m_apiDescriptionHasBeenSet; }
48 inline void SetApiDescription(const Aws::String& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = value; }
49 inline void SetApiDescription(Aws::String&& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = std::move(value); }
50 inline void SetApiDescription(const char* value) { m_apiDescriptionHasBeenSet = true; m_apiDescription.assign(value); }
51 inline ApiGatewayApiAsset& WithApiDescription(const Aws::String& value) { SetApiDescription(value); return *this;}
52 inline ApiGatewayApiAsset& WithApiDescription(Aws::String&& value) { SetApiDescription(std::move(value)); return *this;}
53 inline ApiGatewayApiAsset& WithApiDescription(const char* value) { SetApiDescription(value); return *this;}
55
57
60 inline const Aws::String& GetApiEndpoint() const{ return m_apiEndpoint; }
61 inline bool ApiEndpointHasBeenSet() const { return m_apiEndpointHasBeenSet; }
62 inline void SetApiEndpoint(const Aws::String& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = value; }
63 inline void SetApiEndpoint(Aws::String&& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = std::move(value); }
64 inline void SetApiEndpoint(const char* value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint.assign(value); }
65 inline ApiGatewayApiAsset& WithApiEndpoint(const Aws::String& value) { SetApiEndpoint(value); return *this;}
66 inline ApiGatewayApiAsset& WithApiEndpoint(Aws::String&& value) { SetApiEndpoint(std::move(value)); return *this;}
67 inline ApiGatewayApiAsset& WithApiEndpoint(const char* value) { SetApiEndpoint(value); return *this;}
69
71
74 inline const Aws::String& GetApiId() const{ return m_apiId; }
75 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
76 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
77 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
78 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
79 inline ApiGatewayApiAsset& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
80 inline ApiGatewayApiAsset& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
81 inline ApiGatewayApiAsset& WithApiId(const char* value) { SetApiId(value); return *this;}
83
85
88 inline const Aws::String& GetApiKey() const{ return m_apiKey; }
89 inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; }
90 inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; }
91 inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); }
92 inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); }
93 inline ApiGatewayApiAsset& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;}
94 inline ApiGatewayApiAsset& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;}
95 inline ApiGatewayApiAsset& WithApiKey(const char* value) { SetApiKey(value); return *this;}
97
99
102 inline const Aws::String& GetApiName() const{ return m_apiName; }
103 inline bool ApiNameHasBeenSet() const { return m_apiNameHasBeenSet; }
104 inline void SetApiName(const Aws::String& value) { m_apiNameHasBeenSet = true; m_apiName = value; }
105 inline void SetApiName(Aws::String&& value) { m_apiNameHasBeenSet = true; m_apiName = std::move(value); }
106 inline void SetApiName(const char* value) { m_apiNameHasBeenSet = true; m_apiName.assign(value); }
107 inline ApiGatewayApiAsset& WithApiName(const Aws::String& value) { SetApiName(value); return *this;}
108 inline ApiGatewayApiAsset& WithApiName(Aws::String&& value) { SetApiName(std::move(value)); return *this;}
109 inline ApiGatewayApiAsset& WithApiName(const char* value) { SetApiName(value); return *this;}
111
113
116 inline const Aws::String& GetApiSpecificationDownloadUrl() const{ return m_apiSpecificationDownloadUrl; }
117 inline bool ApiSpecificationDownloadUrlHasBeenSet() const { return m_apiSpecificationDownloadUrlHasBeenSet; }
118 inline void SetApiSpecificationDownloadUrl(const Aws::String& value) { m_apiSpecificationDownloadUrlHasBeenSet = true; m_apiSpecificationDownloadUrl = value; }
119 inline void SetApiSpecificationDownloadUrl(Aws::String&& value) { m_apiSpecificationDownloadUrlHasBeenSet = true; m_apiSpecificationDownloadUrl = std::move(value); }
120 inline void SetApiSpecificationDownloadUrl(const char* value) { m_apiSpecificationDownloadUrlHasBeenSet = true; m_apiSpecificationDownloadUrl.assign(value); }
125
127
130 inline const Aws::Utils::DateTime& GetApiSpecificationDownloadUrlExpiresAt() const{ return m_apiSpecificationDownloadUrlExpiresAt; }
131 inline bool ApiSpecificationDownloadUrlExpiresAtHasBeenSet() const { return m_apiSpecificationDownloadUrlExpiresAtHasBeenSet; }
132 inline void SetApiSpecificationDownloadUrlExpiresAt(const Aws::Utils::DateTime& value) { m_apiSpecificationDownloadUrlExpiresAtHasBeenSet = true; m_apiSpecificationDownloadUrlExpiresAt = value; }
133 inline void SetApiSpecificationDownloadUrlExpiresAt(Aws::Utils::DateTime&& value) { m_apiSpecificationDownloadUrlExpiresAtHasBeenSet = true; m_apiSpecificationDownloadUrlExpiresAt = std::move(value); }
137
139
142 inline const ProtocolType& GetProtocolType() const{ return m_protocolType; }
143 inline bool ProtocolTypeHasBeenSet() const { return m_protocolTypeHasBeenSet; }
144 inline void SetProtocolType(const ProtocolType& value) { m_protocolTypeHasBeenSet = true; m_protocolType = value; }
145 inline void SetProtocolType(ProtocolType&& value) { m_protocolTypeHasBeenSet = true; m_protocolType = std::move(value); }
146 inline ApiGatewayApiAsset& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;}
147 inline ApiGatewayApiAsset& WithProtocolType(ProtocolType&& value) { SetProtocolType(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetStage() const{ return m_stage; }
155 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
156 inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; }
157 inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
158 inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); }
159 inline ApiGatewayApiAsset& WithStage(const Aws::String& value) { SetStage(value); return *this;}
160 inline ApiGatewayApiAsset& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
161 inline ApiGatewayApiAsset& WithStage(const char* value) { SetStage(value); return *this;}
163 private:
164
165 Aws::String m_apiDescription;
166 bool m_apiDescriptionHasBeenSet = false;
167
168 Aws::String m_apiEndpoint;
169 bool m_apiEndpointHasBeenSet = false;
170
171 Aws::String m_apiId;
172 bool m_apiIdHasBeenSet = false;
173
174 Aws::String m_apiKey;
175 bool m_apiKeyHasBeenSet = false;
176
177 Aws::String m_apiName;
178 bool m_apiNameHasBeenSet = false;
179
180 Aws::String m_apiSpecificationDownloadUrl;
181 bool m_apiSpecificationDownloadUrlHasBeenSet = false;
182
183 Aws::Utils::DateTime m_apiSpecificationDownloadUrlExpiresAt;
184 bool m_apiSpecificationDownloadUrlExpiresAtHasBeenSet = false;
185
186 ProtocolType m_protocolType;
187 bool m_protocolTypeHasBeenSet = false;
188
189 Aws::String m_stage;
190 bool m_stageHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace DataExchange
195} // namespace Aws
ApiGatewayApiAsset & WithApiName(Aws::String &&value)
ApiGatewayApiAsset & WithApiEndpoint(const Aws::String &value)
ApiGatewayApiAsset & WithProtocolType(const ProtocolType &value)
ApiGatewayApiAsset & WithApiKey(const Aws::String &value)
const Aws::String & GetApiSpecificationDownloadUrl() const
ApiGatewayApiAsset & WithApiId(Aws::String &&value)
ApiGatewayApiAsset & WithStage(const char *value)
ApiGatewayApiAsset & WithApiDescription(const char *value)
ApiGatewayApiAsset & WithApiDescription(Aws::String &&value)
ApiGatewayApiAsset & WithStage(const Aws::String &value)
ApiGatewayApiAsset & WithApiDescription(const Aws::String &value)
ApiGatewayApiAsset & WithApiEndpoint(Aws::String &&value)
void SetApiSpecificationDownloadUrl(Aws::String &&value)
ApiGatewayApiAsset & WithApiSpecificationDownloadUrlExpiresAt(Aws::Utils::DateTime &&value)
ApiGatewayApiAsset & WithApiSpecificationDownloadUrl(const Aws::String &value)
void SetApiSpecificationDownloadUrl(const Aws::String &value)
ApiGatewayApiAsset & WithApiName(const Aws::String &value)
ApiGatewayApiAsset & WithApiId(const char *value)
const Aws::Utils::DateTime & GetApiSpecificationDownloadUrlExpiresAt() const
AWS_DATAEXCHANGE_API ApiGatewayApiAsset(Aws::Utils::Json::JsonView jsonValue)
void SetApiSpecificationDownloadUrlExpiresAt(Aws::Utils::DateTime &&value)
ApiGatewayApiAsset & WithStage(Aws::String &&value)
void SetApiEndpoint(const Aws::String &value)
AWS_DATAEXCHANGE_API ApiGatewayApiAsset & operator=(Aws::Utils::Json::JsonView jsonValue)
ApiGatewayApiAsset & WithApiEndpoint(const char *value)
void SetApiDescription(const Aws::String &value)
ApiGatewayApiAsset & WithProtocolType(ProtocolType &&value)
void SetProtocolType(const ProtocolType &value)
ApiGatewayApiAsset & WithApiSpecificationDownloadUrlExpiresAt(const Aws::Utils::DateTime &value)
ApiGatewayApiAsset & WithApiKey(const char *value)
ApiGatewayApiAsset & WithApiName(const char *value)
void SetApiSpecificationDownloadUrlExpiresAt(const Aws::Utils::DateTime &value)
ApiGatewayApiAsset & WithApiKey(Aws::String &&value)
ApiGatewayApiAsset & WithApiSpecificationDownloadUrl(Aws::String &&value)
ApiGatewayApiAsset & WithApiSpecificationDownloadUrl(const char *value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ApiGatewayApiAsset & WithApiId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue