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

The details for the request.

See Also:

AWS * API Reference

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

Details about the export to signed URL request.

*/ inline const ExportAssetToSignedUrlRequestDetails& GetExportAssetToSignedUrl() const{ return m_exportAssetToSignedUrl; } /** *

Details about the export to signed URL request.

*/ inline bool ExportAssetToSignedUrlHasBeenSet() const { return m_exportAssetToSignedUrlHasBeenSet; } /** *

Details about the export to signed URL request.

*/ inline void SetExportAssetToSignedUrl(const ExportAssetToSignedUrlRequestDetails& value) { m_exportAssetToSignedUrlHasBeenSet = true; m_exportAssetToSignedUrl = value; } /** *

Details about the export to signed URL request.

*/ inline void SetExportAssetToSignedUrl(ExportAssetToSignedUrlRequestDetails&& value) { m_exportAssetToSignedUrlHasBeenSet = true; m_exportAssetToSignedUrl = std::move(value); } /** *

Details about the export to signed URL request.

*/ inline RequestDetails& WithExportAssetToSignedUrl(const ExportAssetToSignedUrlRequestDetails& value) { SetExportAssetToSignedUrl(value); return *this;} /** *

Details about the export to signed URL request.

*/ inline RequestDetails& WithExportAssetToSignedUrl(ExportAssetToSignedUrlRequestDetails&& value) { SetExportAssetToSignedUrl(std::move(value)); return *this;} /** *

Details about the export to Amazon S3 request.

*/ inline const ExportAssetsToS3RequestDetails& GetExportAssetsToS3() const{ return m_exportAssetsToS3; } /** *

Details about the export to Amazon S3 request.

*/ inline bool ExportAssetsToS3HasBeenSet() const { return m_exportAssetsToS3HasBeenSet; } /** *

Details about the export to Amazon S3 request.

*/ inline void SetExportAssetsToS3(const ExportAssetsToS3RequestDetails& value) { m_exportAssetsToS3HasBeenSet = true; m_exportAssetsToS3 = value; } /** *

Details about the export to Amazon S3 request.

*/ inline void SetExportAssetsToS3(ExportAssetsToS3RequestDetails&& value) { m_exportAssetsToS3HasBeenSet = true; m_exportAssetsToS3 = std::move(value); } /** *

Details about the export to Amazon S3 request.

*/ inline RequestDetails& WithExportAssetsToS3(const ExportAssetsToS3RequestDetails& value) { SetExportAssetsToS3(value); return *this;} /** *

Details about the export to Amazon S3 request.

*/ inline RequestDetails& WithExportAssetsToS3(ExportAssetsToS3RequestDetails&& value) { SetExportAssetsToS3(std::move(value)); return *this;} /** *

Details about the export to Amazon S3 request.

*/ inline const ExportRevisionsToS3RequestDetails& GetExportRevisionsToS3() const{ return m_exportRevisionsToS3; } /** *

Details about the export to Amazon S3 request.

*/ inline bool ExportRevisionsToS3HasBeenSet() const { return m_exportRevisionsToS3HasBeenSet; } /** *

Details about the export to Amazon S3 request.

*/ inline void SetExportRevisionsToS3(const ExportRevisionsToS3RequestDetails& value) { m_exportRevisionsToS3HasBeenSet = true; m_exportRevisionsToS3 = value; } /** *

Details about the export to Amazon S3 request.

*/ inline void SetExportRevisionsToS3(ExportRevisionsToS3RequestDetails&& value) { m_exportRevisionsToS3HasBeenSet = true; m_exportRevisionsToS3 = std::move(value); } /** *

Details about the export to Amazon S3 request.

*/ inline RequestDetails& WithExportRevisionsToS3(const ExportRevisionsToS3RequestDetails& value) { SetExportRevisionsToS3(value); return *this;} /** *

Details about the export to Amazon S3 request.

*/ inline RequestDetails& WithExportRevisionsToS3(ExportRevisionsToS3RequestDetails&& value) { SetExportRevisionsToS3(std::move(value)); return *this;} /** *

Details about the import from Amazon S3 request.

*/ inline const ImportAssetFromSignedUrlRequestDetails& GetImportAssetFromSignedUrl() const{ return m_importAssetFromSignedUrl; } /** *

Details about the import from Amazon S3 request.

*/ inline bool ImportAssetFromSignedUrlHasBeenSet() const { return m_importAssetFromSignedUrlHasBeenSet; } /** *

Details about the import from Amazon S3 request.

*/ inline void SetImportAssetFromSignedUrl(const ImportAssetFromSignedUrlRequestDetails& value) { m_importAssetFromSignedUrlHasBeenSet = true; m_importAssetFromSignedUrl = value; } /** *

Details about the import from Amazon S3 request.

*/ inline void SetImportAssetFromSignedUrl(ImportAssetFromSignedUrlRequestDetails&& value) { m_importAssetFromSignedUrlHasBeenSet = true; m_importAssetFromSignedUrl = std::move(value); } /** *

Details about the import from Amazon S3 request.

*/ inline RequestDetails& WithImportAssetFromSignedUrl(const ImportAssetFromSignedUrlRequestDetails& value) { SetImportAssetFromSignedUrl(value); return *this;} /** *

Details about the import from Amazon S3 request.

*/ inline RequestDetails& WithImportAssetFromSignedUrl(ImportAssetFromSignedUrlRequestDetails&& value) { SetImportAssetFromSignedUrl(std::move(value)); return *this;} /** *

Details about the import asset from API Gateway API request.

*/ inline const ImportAssetsFromS3RequestDetails& GetImportAssetsFromS3() const{ return m_importAssetsFromS3; } /** *

Details about the import asset from API Gateway API request.

*/ inline bool ImportAssetsFromS3HasBeenSet() const { return m_importAssetsFromS3HasBeenSet; } /** *

Details about the import asset from API Gateway API request.

*/ inline void SetImportAssetsFromS3(const ImportAssetsFromS3RequestDetails& value) { m_importAssetsFromS3HasBeenSet = true; m_importAssetsFromS3 = value; } /** *

Details about the import asset from API Gateway API request.

*/ inline void SetImportAssetsFromS3(ImportAssetsFromS3RequestDetails&& value) { m_importAssetsFromS3HasBeenSet = true; m_importAssetsFromS3 = std::move(value); } /** *

Details about the import asset from API Gateway API request.

*/ inline RequestDetails& WithImportAssetsFromS3(const ImportAssetsFromS3RequestDetails& value) { SetImportAssetsFromS3(value); return *this;} /** *

Details about the import asset from API Gateway API request.

*/ inline RequestDetails& WithImportAssetsFromS3(ImportAssetsFromS3RequestDetails&& value) { SetImportAssetsFromS3(std::move(value)); return *this;} /** *

Details from an import from Amazon Redshift datashare request.

*/ inline const ImportAssetsFromRedshiftDataSharesRequestDetails& GetImportAssetsFromRedshiftDataShares() const{ return m_importAssetsFromRedshiftDataShares; } /** *

Details from an import from Amazon Redshift datashare request.

*/ inline bool ImportAssetsFromRedshiftDataSharesHasBeenSet() const { return m_importAssetsFromRedshiftDataSharesHasBeenSet; } /** *

Details from an import from Amazon Redshift datashare request.

*/ inline void SetImportAssetsFromRedshiftDataShares(const ImportAssetsFromRedshiftDataSharesRequestDetails& value) { m_importAssetsFromRedshiftDataSharesHasBeenSet = true; m_importAssetsFromRedshiftDataShares = value; } /** *

Details from an import from Amazon Redshift datashare request.

*/ inline void SetImportAssetsFromRedshiftDataShares(ImportAssetsFromRedshiftDataSharesRequestDetails&& value) { m_importAssetsFromRedshiftDataSharesHasBeenSet = true; m_importAssetsFromRedshiftDataShares = std::move(value); } /** *

Details from an import from Amazon Redshift datashare request.

*/ inline RequestDetails& WithImportAssetsFromRedshiftDataShares(const ImportAssetsFromRedshiftDataSharesRequestDetails& value) { SetImportAssetsFromRedshiftDataShares(value); return *this;} /** *

Details from an import from Amazon Redshift datashare request.

*/ inline RequestDetails& WithImportAssetsFromRedshiftDataShares(ImportAssetsFromRedshiftDataSharesRequestDetails&& value) { SetImportAssetsFromRedshiftDataShares(std::move(value)); return *this;} /** *

Details about the import from signed URL request.

*/ inline const ImportAssetFromApiGatewayApiRequestDetails& GetImportAssetFromApiGatewayApi() const{ return m_importAssetFromApiGatewayApi; } /** *

Details about the import from signed URL request.

*/ inline bool ImportAssetFromApiGatewayApiHasBeenSet() const { return m_importAssetFromApiGatewayApiHasBeenSet; } /** *

Details about the import from signed URL request.

*/ inline void SetImportAssetFromApiGatewayApi(const ImportAssetFromApiGatewayApiRequestDetails& value) { m_importAssetFromApiGatewayApiHasBeenSet = true; m_importAssetFromApiGatewayApi = value; } /** *

Details about the import from signed URL request.

*/ inline void SetImportAssetFromApiGatewayApi(ImportAssetFromApiGatewayApiRequestDetails&& value) { m_importAssetFromApiGatewayApiHasBeenSet = true; m_importAssetFromApiGatewayApi = std::move(value); } /** *

Details about the import from signed URL request.

*/ inline RequestDetails& WithImportAssetFromApiGatewayApi(const ImportAssetFromApiGatewayApiRequestDetails& value) { SetImportAssetFromApiGatewayApi(value); return *this;} /** *

Details about the import from signed URL request.

*/ inline RequestDetails& WithImportAssetFromApiGatewayApi(ImportAssetFromApiGatewayApiRequestDetails&& value) { SetImportAssetFromApiGatewayApi(std::move(value)); return *this;} /** *

Details of the request to create S3 data access from the Amazon S3 * bucket.

*/ inline const CreateS3DataAccessFromS3BucketRequestDetails& GetCreateS3DataAccessFromS3Bucket() const{ return m_createS3DataAccessFromS3Bucket; } /** *

Details of the request to create S3 data access from the Amazon S3 * bucket.

*/ inline bool CreateS3DataAccessFromS3BucketHasBeenSet() const { return m_createS3DataAccessFromS3BucketHasBeenSet; } /** *

Details of the request to create S3 data access from the Amazon S3 * bucket.

*/ inline void SetCreateS3DataAccessFromS3Bucket(const CreateS3DataAccessFromS3BucketRequestDetails& value) { m_createS3DataAccessFromS3BucketHasBeenSet = true; m_createS3DataAccessFromS3Bucket = value; } /** *

Details of the request to create S3 data access from the Amazon S3 * bucket.

*/ inline void SetCreateS3DataAccessFromS3Bucket(CreateS3DataAccessFromS3BucketRequestDetails&& value) { m_createS3DataAccessFromS3BucketHasBeenSet = true; m_createS3DataAccessFromS3Bucket = std::move(value); } /** *

Details of the request to create S3 data access from the Amazon S3 * bucket.

*/ inline RequestDetails& WithCreateS3DataAccessFromS3Bucket(const CreateS3DataAccessFromS3BucketRequestDetails& value) { SetCreateS3DataAccessFromS3Bucket(value); return *this;} /** *

Details of the request to create S3 data access from the Amazon S3 * bucket.

*/ inline RequestDetails& WithCreateS3DataAccessFromS3Bucket(CreateS3DataAccessFromS3BucketRequestDetails&& value) { SetCreateS3DataAccessFromS3Bucket(std::move(value)); return *this;} /** *

Request details for the ImportAssetsFromLakeFormationTagPolicy job.

*/ inline const ImportAssetsFromLakeFormationTagPolicyRequestDetails& GetImportAssetsFromLakeFormationTagPolicy() const{ return m_importAssetsFromLakeFormationTagPolicy; } /** *

Request details for the ImportAssetsFromLakeFormationTagPolicy job.

*/ inline bool ImportAssetsFromLakeFormationTagPolicyHasBeenSet() const { return m_importAssetsFromLakeFormationTagPolicyHasBeenSet; } /** *

Request details for the ImportAssetsFromLakeFormationTagPolicy job.

*/ inline void SetImportAssetsFromLakeFormationTagPolicy(const ImportAssetsFromLakeFormationTagPolicyRequestDetails& value) { m_importAssetsFromLakeFormationTagPolicyHasBeenSet = true; m_importAssetsFromLakeFormationTagPolicy = value; } /** *

Request details for the ImportAssetsFromLakeFormationTagPolicy job.

*/ inline void SetImportAssetsFromLakeFormationTagPolicy(ImportAssetsFromLakeFormationTagPolicyRequestDetails&& value) { m_importAssetsFromLakeFormationTagPolicyHasBeenSet = true; m_importAssetsFromLakeFormationTagPolicy = std::move(value); } /** *

Request details for the ImportAssetsFromLakeFormationTagPolicy job.

*/ inline RequestDetails& WithImportAssetsFromLakeFormationTagPolicy(const ImportAssetsFromLakeFormationTagPolicyRequestDetails& value) { SetImportAssetsFromLakeFormationTagPolicy(value); return *this;} /** *

Request details for the ImportAssetsFromLakeFormationTagPolicy job.

*/ inline RequestDetails& WithImportAssetsFromLakeFormationTagPolicy(ImportAssetsFromLakeFormationTagPolicyRequestDetails&& value) { SetImportAssetsFromLakeFormationTagPolicy(std::move(value)); return *this;} private: ExportAssetToSignedUrlRequestDetails m_exportAssetToSignedUrl; bool m_exportAssetToSignedUrlHasBeenSet = false; ExportAssetsToS3RequestDetails m_exportAssetsToS3; bool m_exportAssetsToS3HasBeenSet = false; ExportRevisionsToS3RequestDetails m_exportRevisionsToS3; bool m_exportRevisionsToS3HasBeenSet = false; ImportAssetFromSignedUrlRequestDetails m_importAssetFromSignedUrl; bool m_importAssetFromSignedUrlHasBeenSet = false; ImportAssetsFromS3RequestDetails m_importAssetsFromS3; bool m_importAssetsFromS3HasBeenSet = false; ImportAssetsFromRedshiftDataSharesRequestDetails m_importAssetsFromRedshiftDataShares; bool m_importAssetsFromRedshiftDataSharesHasBeenSet = false; ImportAssetFromApiGatewayApiRequestDetails m_importAssetFromApiGatewayApi; bool m_importAssetFromApiGatewayApiHasBeenSet = false; CreateS3DataAccessFromS3BucketRequestDetails m_createS3DataAccessFromS3Bucket; bool m_createS3DataAccessFromS3BucketHasBeenSet = false; ImportAssetsFromLakeFormationTagPolicyRequestDetails m_importAssetsFromLakeFormationTagPolicy; bool m_importAssetsFromLakeFormationTagPolicyHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws