/** * 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 { /** *

Details from an import from Amazon S3 response.

See Also:

AWS * API Reference

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

Is a list of Amazon S3 bucket and object key pairs.

*/ inline const Aws::Vector& GetAssetSources() const{ return m_assetSources; } /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline bool AssetSourcesHasBeenSet() const { return m_assetSourcesHasBeenSet; } /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline void SetAssetSources(const Aws::Vector& value) { m_assetSourcesHasBeenSet = true; m_assetSources = value; } /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline void SetAssetSources(Aws::Vector&& value) { m_assetSourcesHasBeenSet = true; m_assetSources = std::move(value); } /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline ImportAssetsFromS3ResponseDetails& WithAssetSources(const Aws::Vector& value) { SetAssetSources(value); return *this;} /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline ImportAssetsFromS3ResponseDetails& WithAssetSources(Aws::Vector&& value) { SetAssetSources(std::move(value)); return *this;} /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline ImportAssetsFromS3ResponseDetails& AddAssetSources(const AssetSourceEntry& value) { m_assetSourcesHasBeenSet = true; m_assetSources.push_back(value); return *this; } /** *

Is a list of Amazon S3 bucket and object key pairs.

*/ inline ImportAssetsFromS3ResponseDetails& AddAssetSources(AssetSourceEntry&& value) { m_assetSourcesHasBeenSet = true; m_assetSources.push_back(std::move(value)); return *this; } /** *

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the data set associated with this import job.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

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

The unique identifier for the revision associated with this import * response.

*/ inline ImportAssetsFromS3ResponseDetails& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} private: Aws::Vector m_assetSources; bool m_assetSourcesHasBeenSet = false; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws