/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request details.See Also:
AWS
* API Reference
The API description. Markdown supported.
*/ inline const Aws::String& GetApiDescription() const{ return m_apiDescription; } /** *The API description. Markdown supported.
*/ inline bool ApiDescriptionHasBeenSet() const { return m_apiDescriptionHasBeenSet; } /** *The API description. Markdown supported.
*/ inline void SetApiDescription(const Aws::String& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = value; } /** *The API description. Markdown supported.
*/ inline void SetApiDescription(Aws::String&& value) { m_apiDescriptionHasBeenSet = true; m_apiDescription = std::move(value); } /** *The API description. Markdown supported.
*/ inline void SetApiDescription(const char* value) { m_apiDescriptionHasBeenSet = true; m_apiDescription.assign(value); } /** *The API description. Markdown supported.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiDescription(const Aws::String& value) { SetApiDescription(value); return *this;} /** *The API description. Markdown supported.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiDescription(Aws::String&& value) { SetApiDescription(std::move(value)); return *this;} /** *The API description. Markdown supported.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiDescription(const char* value) { SetApiDescription(value); return *this;} /** *The API Gateway API ID.
*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *The API Gateway API ID.
*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *The API Gateway API ID.
*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *The API Gateway API ID.
*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *The API Gateway API ID.
*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *The API Gateway API ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *The API Gateway API ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *The API Gateway API ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiId(const char* value) { SetApiId(value); return *this;} /** *The API Gateway API key.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *The API Gateway API key.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *The API Gateway API key.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *The API Gateway API key.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *The API Gateway API key.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *The API Gateway API key.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *The API Gateway API key.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *The API Gateway API key.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& 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 ImportAssetFromApiGatewayApiRequestDetails& WithApiName(const Aws::String& value) { SetApiName(value); return *this;} /** *The API name.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiName(Aws::String&& value) { SetApiName(std::move(value)); return *this;} /** *The API name.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiName(const char* value) { SetApiName(value); return *this;} /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline const Aws::String& GetApiSpecificationMd5Hash() const{ return m_apiSpecificationMd5Hash; } /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline bool ApiSpecificationMd5HashHasBeenSet() const { return m_apiSpecificationMd5HashHasBeenSet; } /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline void SetApiSpecificationMd5Hash(const Aws::String& value) { m_apiSpecificationMd5HashHasBeenSet = true; m_apiSpecificationMd5Hash = value; } /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline void SetApiSpecificationMd5Hash(Aws::String&& value) { m_apiSpecificationMd5HashHasBeenSet = true; m_apiSpecificationMd5Hash = std::move(value); } /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline void SetApiSpecificationMd5Hash(const char* value) { m_apiSpecificationMd5HashHasBeenSet = true; m_apiSpecificationMd5Hash.assign(value); } /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiSpecificationMd5Hash(const Aws::String& value) { SetApiSpecificationMd5Hash(value); return *this;} /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiSpecificationMd5Hash(Aws::String&& value) { SetApiSpecificationMd5Hash(std::move(value)); return *this;} /** *The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. * It is used to ensure the integrity of the file.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithApiSpecificationMd5Hash(const char* value) { SetApiSpecificationMd5Hash(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 ImportAssetFromApiGatewayApiRequestDetails& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *The data set ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *The data set ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& 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 ImportAssetFromApiGatewayApiRequestDetails& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;} /** *The protocol type.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& 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 ImportAssetFromApiGatewayApiRequestDetails& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *The revision ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *The revision ID.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& 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 ImportAssetFromApiGatewayApiRequestDetails& WithStage(const Aws::String& value) { SetStage(value); return *this;} /** *The API stage.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;} /** *The API stage.
*/ inline ImportAssetFromApiGatewayApiRequestDetails& 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_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