/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DataExchange { namespace Model { /** *

The response details.

See Also:

AWS * API Reference

*/ class ImportAssetFromApiGatewayApiResponseDetails { public: AWS_DATAEXCHANGE_API ImportAssetFromApiGatewayApiResponseDetails(); AWS_DATAEXCHANGE_API ImportAssetFromApiGatewayApiResponseDetails(Aws::Utils::Json::JsonView jsonValue); AWS_DATAEXCHANGE_API ImportAssetFromApiGatewayApiResponseDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The API description.

*/ inline const Aws::String& GetApiDescription() const{ return m_apiDescription; } /** *

The API description.

*/ inline bool ApiDescriptionHasBeenSet() const { return m_apiDescriptionHasBeenSet; } /** *

The API description.

*/ inline void SetApiDescription(const Aws::String& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = value; } /** *

The API description.

*/ inline void SetApiDescription(Aws::String&& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = std::move(value); } /** *

The API description.

*/ inline void SetApiDescription(const char* value) { m_apiDescriptionHasBeenSet = true; m_apiDescription.assign(value); } /** *

The API description.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiDescription(const Aws::String& value) { SetApiDescription(value); return *this;} /** *

The API description.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiDescription(Aws::String&& value) { SetApiDescription(std::move(value)); return *this;} /** *

The API description.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiDescription(const char* value) { SetApiDescription(value); return *this;} /** *

The API ID.

*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *

The API ID.

*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *

The API ID.

*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *

The API ID.

*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *

The API ID.

*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *

The API ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *

The API ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *

The API ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiId(const char* value) { SetApiId(value); return *this;} /** *

The API key.

*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *

The API key.

*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *

The API key.

*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *

The API key.

*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *

The API key.

*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *

The API key.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *

The API key.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *

The API key.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *

The API name.

*/ inline const Aws::String& GetApiName() const{ return m_apiName; } /** *

The API name.

*/ inline bool ApiNameHasBeenSet() const { return m_apiNameHasBeenSet; } /** *

The API name.

*/ inline void SetApiName(const Aws::String& value) { m_apiNameHasBeenSet = true; m_apiName = value; } /** *

The API name.

*/ inline void SetApiName(Aws::String&& value) { m_apiNameHasBeenSet = true; m_apiName = std::move(value); } /** *

The API name.

*/ inline void SetApiName(const char* value) { m_apiNameHasBeenSet = true; m_apiName.assign(value); } /** *

The API name.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiName(const Aws::String& value) { SetApiName(value); return *this;} /** *

The API name.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiName(Aws::String&& value) { SetApiName(std::move(value)); return *this;} /** *

The API name.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiName(const char* value) { SetApiName(value); return *this;} /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline const Aws::String& GetApiSpecificationMd5Hash() const{ return m_apiSpecificationMd5Hash; } /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline bool ApiSpecificationMd5HashHasBeenSet() const { return m_apiSpecificationMd5HashHasBeenSet; } /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline void SetApiSpecificationMd5Hash(const Aws::String& value) { m_apiSpecificationMd5HashHasBeenSet = true; m_apiSpecificationMd5Hash = value; } /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline void SetApiSpecificationMd5Hash(Aws::String&& value) { m_apiSpecificationMd5HashHasBeenSet = true; m_apiSpecificationMd5Hash = std::move(value); } /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline void SetApiSpecificationMd5Hash(const char* value) { m_apiSpecificationMd5HashHasBeenSet = true; m_apiSpecificationMd5Hash.assign(value); } /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationMd5Hash(const Aws::String& value) { SetApiSpecificationMd5Hash(value); return *this;} /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationMd5Hash(Aws::String&& value) { SetApiSpecificationMd5Hash(std::move(value)); return *this;} /** *

The Base64-encoded Md5 hash for the API asset, used to ensure the integrity * of the API at that location.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationMd5Hash(const char* value) { SetApiSpecificationMd5Hash(value); return *this;} /** *

The upload URL of the API specification.

*/ inline const Aws::String& GetApiSpecificationUploadUrl() const{ return m_apiSpecificationUploadUrl; } /** *

The upload URL of the API specification.

*/ inline bool ApiSpecificationUploadUrlHasBeenSet() const { return m_apiSpecificationUploadUrlHasBeenSet; } /** *

The upload URL of the API specification.

*/ inline void SetApiSpecificationUploadUrl(const Aws::String& value) { m_apiSpecificationUploadUrlHasBeenSet = true; m_apiSpecificationUploadUrl = value; } /** *

The upload URL of the API specification.

*/ inline void SetApiSpecificationUploadUrl(Aws::String&& value) { m_apiSpecificationUploadUrlHasBeenSet = true; m_apiSpecificationUploadUrl = std::move(value); } /** *

The upload URL of the API specification.

*/ inline void SetApiSpecificationUploadUrl(const char* value) { m_apiSpecificationUploadUrlHasBeenSet = true; m_apiSpecificationUploadUrl.assign(value); } /** *

The upload URL of the API specification.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationUploadUrl(const Aws::String& value) { SetApiSpecificationUploadUrl(value); return *this;} /** *

The upload URL of the API specification.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationUploadUrl(Aws::String&& value) { SetApiSpecificationUploadUrl(std::move(value)); return *this;} /** *

The upload URL of the API specification.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationUploadUrl(const char* value) { SetApiSpecificationUploadUrl(value); return *this;} /** *

The date and time that the upload URL expires, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetApiSpecificationUploadUrlExpiresAt() const{ return m_apiSpecificationUploadUrlExpiresAt; } /** *

The date and time that the upload URL expires, in ISO 8601 format.

*/ inline bool ApiSpecificationUploadUrlExpiresAtHasBeenSet() const { return m_apiSpecificationUploadUrlExpiresAtHasBeenSet; } /** *

The date and time that the upload URL expires, in ISO 8601 format.

*/ inline void SetApiSpecificationUploadUrlExpiresAt(const Aws::Utils::DateTime& value) { m_apiSpecificationUploadUrlExpiresAtHasBeenSet = true; m_apiSpecificationUploadUrlExpiresAt = value; } /** *

The date and time that the upload URL expires, in ISO 8601 format.

*/ inline void SetApiSpecificationUploadUrlExpiresAt(Aws::Utils::DateTime&& value) { m_apiSpecificationUploadUrlExpiresAtHasBeenSet = true; m_apiSpecificationUploadUrlExpiresAt = std::move(value); } /** *

The date and time that the upload URL expires, in ISO 8601 format.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationUploadUrlExpiresAt(const Aws::Utils::DateTime& value) { SetApiSpecificationUploadUrlExpiresAt(value); return *this;} /** *

The date and time that the upload URL expires, in ISO 8601 format.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithApiSpecificationUploadUrlExpiresAt(Aws::Utils::DateTime&& value) { SetApiSpecificationUploadUrlExpiresAt(std::move(value)); return *this;} /** *

The data set ID.

*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *

The data set ID.

*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *

The data set ID.

*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *

The data set ID.

*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *

The data set ID.

*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *

The data set ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

The data set ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *

The data set ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *

The protocol type.

*/ inline const ProtocolType& GetProtocolType() const{ return m_protocolType; } /** *

The protocol type.

*/ inline bool ProtocolTypeHasBeenSet() const { return m_protocolTypeHasBeenSet; } /** *

The protocol type.

*/ inline void SetProtocolType(const ProtocolType& value) { m_protocolTypeHasBeenSet = true; m_protocolType = value; } /** *

The protocol type.

*/ inline void SetProtocolType(ProtocolType&& value) { m_protocolTypeHasBeenSet = true; m_protocolType = std::move(value); } /** *

The protocol type.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;} /** *

The protocol type.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithProtocolType(ProtocolType&& value) { SetProtocolType(std::move(value)); return *this;} /** *

The revision ID.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

The revision ID.

*/ inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; } /** *

The revision ID.

*/ inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; } /** *

The revision ID.

*/ inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); } /** *

The revision ID.

*/ inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); } /** *

The revision ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

The revision ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

The revision ID.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} /** *

The API stage.

*/ inline const Aws::String& GetStage() const{ return m_stage; } /** *

The API stage.

*/ inline bool StageHasBeenSet() const { return m_stageHasBeenSet; } /** *

The API stage.

*/ inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; } /** *

The API stage.

*/ inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); } /** *

The API stage.

*/ inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); } /** *

The API stage.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithStage(const Aws::String& value) { SetStage(value); return *this;} /** *

The API stage.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;} /** *

The API stage.

*/ inline ImportAssetFromApiGatewayApiResponseDetails& WithStage(const char* value) { SetStage(value); return *this;} private: Aws::String m_apiDescription; bool m_apiDescriptionHasBeenSet = 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_apiSpecificationMd5Hash; bool m_apiSpecificationMd5HashHasBeenSet = false; Aws::String m_apiSpecificationUploadUrl; bool m_apiSpecificationUploadUrlHasBeenSet = false; Aws::Utils::DateTime m_apiSpecificationUploadUrlExpiresAt; bool m_apiSpecificationUploadUrlExpiresAtHasBeenSet = false; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; ProtocolType m_protocolType; bool m_protocolTypeHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; Aws::String m_stage; bool m_stageHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws