/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the response of the operation to create an S3 data access from
* an S3 bucket.See Also:
AWS
* API Reference
Details about the asset source from an Amazon S3 bucket.
*/ inline const S3DataAccessAssetSourceEntry& GetAssetSource() const{ return m_assetSource; } /** *Details about the asset source from an Amazon S3 bucket.
*/ inline bool AssetSourceHasBeenSet() const { return m_assetSourceHasBeenSet; } /** *Details about the asset source from an Amazon S3 bucket.
*/ inline void SetAssetSource(const S3DataAccessAssetSourceEntry& value) { m_assetSourceHasBeenSet = true; m_assetSource = value; } /** *Details about the asset source from an Amazon S3 bucket.
*/ inline void SetAssetSource(S3DataAccessAssetSourceEntry&& value) { m_assetSourceHasBeenSet = true; m_assetSource = std::move(value); } /** *Details about the asset source from an Amazon S3 bucket.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithAssetSource(const S3DataAccessAssetSourceEntry& value) { SetAssetSource(value); return *this;} /** *Details about the asset source from an Amazon S3 bucket.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithAssetSource(S3DataAccessAssetSourceEntry&& value) { SetAssetSource(std::move(value)); return *this;} /** *The unique identifier for this data set.
*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *The unique identifier for this data set.
*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *The unique identifier for this data set.
*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *The unique identifier for this data set.
*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *The unique identifier for this data set.
*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *The unique identifier for this data set.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *The unique identifier for this data set.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *The unique identifier for this data set.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *The unique identifier for the revision.
*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *The unique identifier for the revision.
*/ inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; } /** *The unique identifier for the revision.
*/ inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; } /** *The unique identifier for the revision.
*/ inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); } /** *The unique identifier for the revision.
*/ inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); } /** *The unique identifier for the revision.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *The unique identifier for the revision.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *The unique identifier for the revision.
*/ inline CreateS3DataAccessFromS3BucketResponseDetails& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} private: S3DataAccessAssetSourceEntry m_assetSource; bool m_assetSourceHasBeenSet = false; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws