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>
48 template<
typename ApiDescriptionT = Aws::String>
49 void SetApiDescription(ApiDescriptionT&& value) { m_apiDescriptionHasBeenSet =
true; m_apiDescription = std::forward<ApiDescriptionT>(value); }
50 template<
typename ApiDescriptionT = Aws::String>
60 template<
typename ApiEndpo
intT = Aws::String>
61 void SetApiEndpoint(ApiEndpointT&& value) { m_apiEndpointHasBeenSet =
true; m_apiEndpoint = std::forward<ApiEndpointT>(value); }
62 template<
typename ApiEndpo
intT = Aws::String>
72 template<
typename ApiIdT = Aws::String>
73 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
74 template<
typename ApiIdT = Aws::String>
84 template<
typename ApiKeyT = Aws::String>
85 void SetApiKey(ApiKeyT&& value) { m_apiKeyHasBeenSet =
true; m_apiKey = std::forward<ApiKeyT>(value); }
86 template<
typename ApiKeyT = Aws::String>
96 template<
typename ApiNameT = Aws::String>
97 void SetApiName(ApiNameT&& value) { m_apiNameHasBeenSet =
true; m_apiName = std::forward<ApiNameT>(value); }
98 template<
typename ApiNameT = Aws::String>
108 template<
typename ApiSpecificationDownloadUrlT = Aws::String>
109 void SetApiSpecificationDownloadUrl(ApiSpecificationDownloadUrlT&& value) { m_apiSpecificationDownloadUrlHasBeenSet =
true; m_apiSpecificationDownloadUrl = std::forward<ApiSpecificationDownloadUrlT>(value); }
110 template<
typename ApiSpecificationDownloadUrlT = Aws::String>
120 template<
typename ApiSpecificationDownloadUrlExpiresAtT = Aws::Utils::DateTime>
121 void SetApiSpecificationDownloadUrlExpiresAt(ApiSpecificationDownloadUrlExpiresAtT&& value) { m_apiSpecificationDownloadUrlExpiresAtHasBeenSet =
true; m_apiSpecificationDownloadUrlExpiresAt = std::forward<ApiSpecificationDownloadUrlExpiresAtT>(value); }
122 template<
typename ApiSpecificationDownloadUrlExpiresAtT = Aws::Utils::DateTime>
142 template<
typename StageT = Aws::String>
143 void SetStage(StageT&& value) { m_stageHasBeenSet =
true; m_stage = std::forward<StageT>(value); }
144 template<
typename StageT = Aws::String>
150 bool m_apiDescriptionHasBeenSet =
false;
153 bool m_apiEndpointHasBeenSet =
false;
156 bool m_apiIdHasBeenSet =
false;
159 bool m_apiKeyHasBeenSet =
false;
162 bool m_apiNameHasBeenSet =
false;
165 bool m_apiSpecificationDownloadUrlHasBeenSet =
false;
168 bool m_apiSpecificationDownloadUrlExpiresAtHasBeenSet =
false;
171 bool m_protocolTypeHasBeenSet =
false;
174 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