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