/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The API Gateway API that is the asset.See Also:
AWS
* API Reference
The API description of the API asset.
*/ inline const Aws::String& GetApiDescription() const{ return m_apiDescription; } /** *The API description of the API asset.
*/ inline bool ApiDescriptionHasBeenSet() const { return m_apiDescriptionHasBeenSet; } /** *The API description of the API asset.
*/ inline void SetApiDescription(const Aws::String& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = value; } /** *The API description of the API asset.
*/ inline void SetApiDescription(Aws::String&& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = std::move(value); } /** *The API description of the API asset.
*/ inline void SetApiDescription(const char* value) { m_apiDescriptionHasBeenSet = true; m_apiDescription.assign(value); } /** *The API description of the API asset.
*/ inline ApiGatewayApiAsset& WithApiDescription(const Aws::String& value) { SetApiDescription(value); return *this;} /** *The API description of the API asset.
*/ inline ApiGatewayApiAsset& WithApiDescription(Aws::String&& value) { SetApiDescription(std::move(value)); return *this;} /** *The API description of the API asset.
*/ inline ApiGatewayApiAsset& WithApiDescription(const char* value) { SetApiDescription(value); return *this;} /** *The API endpoint of the API asset.
*/ inline const Aws::String& GetApiEndpoint() const{ return m_apiEndpoint; } /** *The API endpoint of the API asset.
*/ inline bool ApiEndpointHasBeenSet() const { return m_apiEndpointHasBeenSet; } /** *The API endpoint of the API asset.
*/ inline void SetApiEndpoint(const Aws::String& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = value; } /** *The API endpoint of the API asset.
*/ inline void SetApiEndpoint(Aws::String&& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = std::move(value); } /** *The API endpoint of the API asset.
*/ inline void SetApiEndpoint(const char* value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint.assign(value); } /** *The API endpoint of the API asset.
*/ inline ApiGatewayApiAsset& WithApiEndpoint(const Aws::String& value) { SetApiEndpoint(value); return *this;} /** *The API endpoint of the API asset.
*/ inline ApiGatewayApiAsset& WithApiEndpoint(Aws::String&& value) { SetApiEndpoint(std::move(value)); return *this;} /** *The API endpoint of the API asset.
*/ inline ApiGatewayApiAsset& WithApiEndpoint(const char* value) { SetApiEndpoint(value); return *this;} /** *The unique identifier of the API asset.
*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *The unique identifier of the API asset.
*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *The unique identifier of the API asset.
*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *The unique identifier of the API asset.
*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *The unique identifier of the API asset.
*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *The unique identifier of the API asset.
*/ inline ApiGatewayApiAsset& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *The unique identifier of the API asset.
*/ inline ApiGatewayApiAsset& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *The unique identifier of the API asset.
*/ inline ApiGatewayApiAsset& WithApiId(const char* value) { SetApiId(value); return *this;} /** *The API key of the API asset.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *The API key of the API asset.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *The API key of the API asset.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *The API key of the API asset.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *The API key of the API asset.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *The API key of the API asset.
*/ inline ApiGatewayApiAsset& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *The API key of the API asset.
*/ inline ApiGatewayApiAsset& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *The API key of the API asset.
*/ inline ApiGatewayApiAsset& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *The API name of the API asset.
*/ inline const Aws::String& GetApiName() const{ return m_apiName; } /** *The API name of the API asset.
*/ inline bool ApiNameHasBeenSet() const { return m_apiNameHasBeenSet; } /** *The API name of the API asset.
*/ inline void SetApiName(const Aws::String& value) { m_apiNameHasBeenSet = true; m_apiName = value; } /** *The API name of the API asset.
*/ inline void SetApiName(Aws::String&& value) { m_apiNameHasBeenSet = true; m_apiName = std::move(value); } /** *The API name of the API asset.
*/ inline void SetApiName(const char* value) { m_apiNameHasBeenSet = true; m_apiName.assign(value); } /** *The API name of the API asset.
*/ inline ApiGatewayApiAsset& WithApiName(const Aws::String& value) { SetApiName(value); return *this;} /** *The API name of the API asset.
*/ inline ApiGatewayApiAsset& WithApiName(Aws::String&& value) { SetApiName(std::move(value)); return *this;} /** *The API name of the API asset.
*/ inline ApiGatewayApiAsset& WithApiName(const char* value) { SetApiName(value); return *this;} /** *The download URL of the API specification of the API asset.
*/ inline const Aws::String& GetApiSpecificationDownloadUrl() const{ return m_apiSpecificationDownloadUrl; } /** *The download URL of the API specification of the API asset.
*/ inline bool ApiSpecificationDownloadUrlHasBeenSet() const { return m_apiSpecificationDownloadUrlHasBeenSet; } /** *The download URL of the API specification of the API asset.
*/ inline void SetApiSpecificationDownloadUrl(const Aws::String& value) { m_apiSpecificationDownloadUrlHasBeenSet = true; m_apiSpecificationDownloadUrl = value; } /** *The download URL of the API specification of the API asset.
*/ inline void SetApiSpecificationDownloadUrl(Aws::String&& value) { m_apiSpecificationDownloadUrlHasBeenSet = true; m_apiSpecificationDownloadUrl = std::move(value); } /** *The download URL of the API specification of the API asset.
*/ inline void SetApiSpecificationDownloadUrl(const char* value) { m_apiSpecificationDownloadUrlHasBeenSet = true; m_apiSpecificationDownloadUrl.assign(value); } /** *The download URL of the API specification of the API asset.
*/ inline ApiGatewayApiAsset& WithApiSpecificationDownloadUrl(const Aws::String& value) { SetApiSpecificationDownloadUrl(value); return *this;} /** *The download URL of the API specification of the API asset.
*/ inline ApiGatewayApiAsset& WithApiSpecificationDownloadUrl(Aws::String&& value) { SetApiSpecificationDownloadUrl(std::move(value)); return *this;} /** *The download URL of the API specification of the API asset.
*/ inline ApiGatewayApiAsset& WithApiSpecificationDownloadUrl(const char* value) { SetApiSpecificationDownloadUrl(value); return *this;} /** *The date and time that the upload URL expires, in ISO 8601 format.
*/ inline const Aws::Utils::DateTime& GetApiSpecificationDownloadUrlExpiresAt() const{ return m_apiSpecificationDownloadUrlExpiresAt; } /** *The date and time that the upload URL expires, in ISO 8601 format.
*/ inline bool ApiSpecificationDownloadUrlExpiresAtHasBeenSet() const { return m_apiSpecificationDownloadUrlExpiresAtHasBeenSet; } /** *The date and time that the upload URL expires, in ISO 8601 format.
*/ inline void SetApiSpecificationDownloadUrlExpiresAt(const Aws::Utils::DateTime& value) { m_apiSpecificationDownloadUrlExpiresAtHasBeenSet = true; m_apiSpecificationDownloadUrlExpiresAt = value; } /** *The date and time that the upload URL expires, in ISO 8601 format.
*/ inline void SetApiSpecificationDownloadUrlExpiresAt(Aws::Utils::DateTime&& value) { m_apiSpecificationDownloadUrlExpiresAtHasBeenSet = true; m_apiSpecificationDownloadUrlExpiresAt = std::move(value); } /** *The date and time that the upload URL expires, in ISO 8601 format.
*/ inline ApiGatewayApiAsset& WithApiSpecificationDownloadUrlExpiresAt(const Aws::Utils::DateTime& value) { SetApiSpecificationDownloadUrlExpiresAt(value); return *this;} /** *The date and time that the upload URL expires, in ISO 8601 format.
*/ inline ApiGatewayApiAsset& WithApiSpecificationDownloadUrlExpiresAt(Aws::Utils::DateTime&& value) { SetApiSpecificationDownloadUrlExpiresAt(std::move(value)); return *this;} /** *The protocol type of the API asset.
*/ inline const ProtocolType& GetProtocolType() const{ return m_protocolType; } /** *The protocol type of the API asset.
*/ inline bool ProtocolTypeHasBeenSet() const { return m_protocolTypeHasBeenSet; } /** *The protocol type of the API asset.
*/ inline void SetProtocolType(const ProtocolType& value) { m_protocolTypeHasBeenSet = true; m_protocolType = value; } /** *The protocol type of the API asset.
*/ inline void SetProtocolType(ProtocolType&& value) { m_protocolTypeHasBeenSet = true; m_protocolType = std::move(value); } /** *The protocol type of the API asset.
*/ inline ApiGatewayApiAsset& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;} /** *The protocol type of the API asset.
*/ inline ApiGatewayApiAsset& WithProtocolType(ProtocolType&& value) { SetProtocolType(std::move(value)); return *this;} /** *The stage of the API asset.
*/ inline const Aws::String& GetStage() const{ return m_stage; } /** *The stage of the API asset.
*/ inline bool StageHasBeenSet() const { return m_stageHasBeenSet; } /** *The stage of the API asset.
*/ inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; } /** *The stage of the API asset.
*/ inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); } /** *The stage of the API asset.
*/ inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); } /** *The stage of the API asset.
*/ inline ApiGatewayApiAsset& WithStage(const Aws::String& value) { SetStage(value); return *this;} /** *The stage of the API asset.
*/ inline ApiGatewayApiAsset& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;} /** *The stage of the API asset.
*/ inline ApiGatewayApiAsset& WithStage(const char* value) { SetStage(value); return *this;} private: Aws::String m_apiDescription; bool m_apiDescriptionHasBeenSet = false; Aws::String m_apiEndpoint; bool m_apiEndpointHasBeenSet = false; Aws::String m_apiId; bool m_apiIdHasBeenSet = false; Aws::String m_apiKey; bool m_apiKeyHasBeenSet = false; Aws::String m_apiName; bool m_apiNameHasBeenSet = false; Aws::String m_apiSpecificationDownloadUrl; bool m_apiSpecificationDownloadUrlHasBeenSet = false; Aws::Utils::DateTime m_apiSpecificationDownloadUrlExpiresAt; bool m_apiSpecificationDownloadUrlExpiresAtHasBeenSet = false; ProtocolType m_protocolType; bool m_protocolTypeHasBeenSet = false; Aws::String m_stage; bool m_stageHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws