/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The S3 bucket that is being imported from. See Also:
AWS
* API Reference
The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline const Aws::String& GetS3BucketOwner() const{ return m_s3BucketOwner; } /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; } /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline void SetS3BucketOwner(const Aws::String& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = value; } /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline void SetS3BucketOwner(Aws::String&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::move(value); } /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline void SetS3BucketOwner(const char* value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner.assign(value); } /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline S3BucketSource& WithS3BucketOwner(const Aws::String& value) { SetS3BucketOwner(value); return *this;} /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline S3BucketSource& WithS3BucketOwner(Aws::String&& value) { SetS3BucketOwner(std::move(value)); return *this;} /** *The account number of the S3 bucket that is being imported from. If the * bucket is owned by the requester this is optional.
*/ inline S3BucketSource& WithS3BucketOwner(const char* value) { SetS3BucketOwner(value); return *this;} /** *The S3 bucket that is being imported from.
*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *The S3 bucket that is being imported from.
*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *The S3 bucket that is being imported from.
*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *The S3 bucket that is being imported from.
*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *The S3 bucket that is being imported from.
*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *The S3 bucket that is being imported from.
*/ inline S3BucketSource& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *The S3 bucket that is being imported from.
*/ inline S3BucketSource& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *The S3 bucket that is being imported from.
*/ inline S3BucketSource& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; } /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; } /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; } /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); } /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); } /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline S3BucketSource& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;} /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline S3BucketSource& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;} /** *The key prefix shared by all S3 Objects that are being imported.
*/ inline S3BucketSource& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;} private: Aws::String m_s3BucketOwner; bool m_s3BucketOwnerHasBeenSet = false; Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::String m_s3KeyPrefix; bool m_s3KeyPrefixHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws