/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The description of the location of an object in Amazon S3.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline const Aws::String& GetBucketArn() const{ return m_bucketArn; } /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; } /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); } /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline S3LocationDescription& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline S3LocationDescription& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an S3 bucket.
*/ inline S3LocationDescription& WithBucketArn(const char* value) { SetBucketArn(value); return *this;} /** *The file key for an object in an S3 bucket.
*/ inline const Aws::String& GetFileKey() const{ return m_fileKey; } /** *The file key for an object in an S3 bucket.
*/ inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; } /** *The file key for an object in an S3 bucket.
*/ inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; } /** *The file key for an object in an S3 bucket.
*/ inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); } /** *The file key for an object in an S3 bucket.
*/ inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); } /** *The file key for an object in an S3 bucket.
*/ inline S3LocationDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;} /** *The file key for an object in an S3 bucket.
*/ inline S3LocationDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;} /** *The file key for an object in an S3 bucket.
*/ inline S3LocationDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;} /** *The version of an object in an S3 bucket.
*/ inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; } /** *The version of an object in an S3 bucket.
*/ inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; } /** *The version of an object in an S3 bucket.
*/ inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; } /** *The version of an object in an S3 bucket.
*/ inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); } /** *The version of an object in an S3 bucket.
*/ inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); } /** *The version of an object in an S3 bucket.
*/ inline S3LocationDescription& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;} /** *The version of an object in an S3 bucket.
*/ inline S3LocationDescription& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;} /** *The version of an object in an S3 bucket.
*/ inline S3LocationDescription& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;} private: Aws::String m_bucketArn; bool m_bucketArnHasBeenSet = false; Aws::String m_fileKey; bool m_fileKeyHasBeenSet = false; Aws::String m_objectVersion; bool m_objectVersionHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws