7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
10#include <aws/dataexchange/model/ProtocolType.h>
21namespace DataExchange {
42 template <
typename ApiDescriptionT = Aws::String>
44 m_apiDescriptionHasBeenSet =
true;
45 m_apiDescription = std::forward<ApiDescriptionT>(value);
47 template <
typename ApiDescriptionT = Aws::String>
60 template <
typename ApiEndpo
intT = Aws::String>
62 m_apiEndpointHasBeenSet =
true;
63 m_apiEndpoint = std::forward<ApiEndpointT>(value);
65 template <
typename ApiEndpo
intT = Aws::String>
78 template <
typename ApiIdT = Aws::String>
80 m_apiIdHasBeenSet =
true;
81 m_apiId = std::forward<ApiIdT>(value);
83 template <
typename ApiIdT = Aws::String>
85 SetApiId(std::forward<ApiIdT>(value));
96 template <
typename ApiKeyT = Aws::String>
98 m_apiKeyHasBeenSet =
true;
99 m_apiKey = std::forward<ApiKeyT>(value);
101 template <
typename ApiKeyT = Aws::String>
114 template <
typename ApiNameT = Aws::String>
116 m_apiNameHasBeenSet =
true;
117 m_apiName = std::forward<ApiNameT>(value);
119 template <
typename ApiNameT = Aws::String>
132 template <
typename ApiSpecificationDownloadUrlT = Aws::String>
134 m_apiSpecificationDownloadUrlHasBeenSet =
true;
135 m_apiSpecificationDownloadUrl = std::forward<ApiSpecificationDownloadUrlT>(value);
137 template <
typename ApiSpecificationDownloadUrlT = Aws::String>
150 template <
typename ApiSpecificationDownloadUrlExpiresAtT = Aws::Utils::DateTime>
152 m_apiSpecificationDownloadUrlExpiresAtHasBeenSet =
true;
153 m_apiSpecificationDownloadUrlExpiresAt = std::forward<ApiSpecificationDownloadUrlExpiresAtT>(value);
155 template <
typename ApiSpecificationDownloadUrlExpiresAtT = Aws::Utils::DateTime>
169 m_protocolTypeHasBeenSet =
true;
170 m_protocolType = value;
184 template <
typename StageT = Aws::String>
186 m_stageHasBeenSet =
true;
187 m_stage = std::forward<StageT>(value);
189 template <
typename StageT = Aws::String>
191 SetStage(std::forward<StageT>(value));
213 bool m_apiDescriptionHasBeenSet =
false;
214 bool m_apiEndpointHasBeenSet =
false;
215 bool m_apiIdHasBeenSet =
false;
216 bool m_apiKeyHasBeenSet =
false;
217 bool m_apiNameHasBeenSet =
false;
218 bool m_apiSpecificationDownloadUrlHasBeenSet =
false;
219 bool m_apiSpecificationDownloadUrlExpiresAtHasBeenSet =
false;
220 bool m_protocolTypeHasBeenSet =
false;
221 bool m_stageHasBeenSet =
false;
ProtocolType GetProtocolType() const
const Aws::String & GetApiKey() const
void SetApiSpecificationDownloadUrl(ApiSpecificationDownloadUrlT &&value)
void SetApiEndpoint(ApiEndpointT &&value)
bool ApiSpecificationDownloadUrlExpiresAtHasBeenSet() const
AWS_DATAEXCHANGE_API ApiGatewayApiAsset()=default
const Aws::String & GetApiSpecificationDownloadUrl() const
ApiGatewayApiAsset & WithApiEndpoint(ApiEndpointT &&value)
const Aws::String & GetApiDescription() const
void SetApiId(ApiIdT &&value)
bool ApiDescriptionHasBeenSet() const
ApiGatewayApiAsset & WithApiKey(ApiKeyT &&value)
void SetApiDescription(ApiDescriptionT &&value)
const Aws::String & GetApiEndpoint() const
void SetStage(StageT &&value)
bool ApiEndpointHasBeenSet() const
bool ApiKeyHasBeenSet() const
void SetApiKey(ApiKeyT &&value)
ApiGatewayApiAsset & WithApiDescription(ApiDescriptionT &&value)
bool StageHasBeenSet() const
const Aws::String & GetStage() const
const Aws::Utils::DateTime & GetApiSpecificationDownloadUrlExpiresAt() const
AWS_DATAEXCHANGE_API ApiGatewayApiAsset(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API ApiGatewayApiAsset & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApiId() const
void SetApiName(ApiNameT &&value)
const Aws::String & GetApiName() const
ApiGatewayApiAsset & WithApiSpecificationDownloadUrlExpiresAt(ApiSpecificationDownloadUrlExpiresAtT &&value)
bool ApiNameHasBeenSet() const
void SetProtocolType(ProtocolType value)
bool ApiSpecificationDownloadUrlHasBeenSet() const
void SetApiSpecificationDownloadUrlExpiresAt(ApiSpecificationDownloadUrlExpiresAtT &&value)
ApiGatewayApiAsset & WithApiSpecificationDownloadUrl(ApiSpecificationDownloadUrlT &&value)
ApiGatewayApiAsset & WithApiId(ApiIdT &&value)
ApiGatewayApiAsset & WithProtocolType(ProtocolType value)
bool ApiIdHasBeenSet() const
ApiGatewayApiAsset & WithStage(StageT &&value)
ApiGatewayApiAsset & WithApiName(ApiNameT &&value)
bool ProtocolTypeHasBeenSet() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue