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

Details for the response.

See Also:

AWS * API Reference

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

Details for the export to signed URL response.

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

Details for the export to signed URL response.

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

Details for the export to signed URL response.

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

Details for the export to signed URL response.

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

Details for the export to signed URL response.

*/ inline ResponseDetails& WithExportAssetToSignedUrl(const ExportAssetToSignedUrlResponseDetails& value) { SetExportAssetToSignedUrl(value); return *this;} /** *

Details for the export to signed URL response.

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

Details for the export to Amazon S3 response.

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

Details for the export to Amazon S3 response.

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

Details for the export to Amazon S3 response.

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

Details for the export to Amazon S3 response.

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

Details for the export to Amazon S3 response.

*/ inline ResponseDetails& WithExportAssetsToS3(const ExportAssetsToS3ResponseDetails& value) { SetExportAssetsToS3(value); return *this;} /** *

Details for the export to Amazon S3 response.

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

Details for the import from signed URL response.

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

Details for the import from signed URL response.

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

Details for the import from signed URL response.

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

Details for the import from signed URL response.

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

Details for the import from signed URL response.

*/ inline ResponseDetails& WithImportAssetFromSignedUrl(const ImportAssetFromSignedUrlResponseDetails& value) { SetImportAssetFromSignedUrl(value); return *this;} /** *

Details for the import from signed URL response.

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

Details for the import from Amazon S3 response.

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

Details for the import from Amazon S3 response.

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

Details for the import from Amazon S3 response.

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

Details for the import from Amazon S3 response.

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

Details for the import from Amazon S3 response.

*/ inline ResponseDetails& WithImportAssetsFromS3(const ImportAssetsFromS3ResponseDetails& value) { SetImportAssetsFromS3(value); return *this;} /** *

Details for the import from Amazon S3 response.

*/ inline ResponseDetails& WithImportAssetsFromS3(ImportAssetsFromS3ResponseDetails&& value) { SetImportAssetsFromS3(std::move(value)); return *this;} private: ExportAssetToSignedUrlResponseDetails m_exportAssetToSignedUrl; bool m_exportAssetToSignedUrlHasBeenSet; ExportAssetsToS3ResponseDetails m_exportAssetsToS3; bool m_exportAssetsToS3HasBeenSet; ImportAssetFromSignedUrlResponseDetails m_importAssetFromSignedUrl; bool m_importAssetFromSignedUrlHasBeenSet; ImportAssetsFromS3ResponseDetails m_importAssetsFromS3; bool m_importAssetsFromS3HasBeenSet; }; } // namespace Model } // namespace DataExchange } // namespace Aws