/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A location in Amazon S3.See Also:
AWS
* API Reference
A bucket name.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *A bucket name.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *A bucket name.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *A bucket name.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *A bucket name.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *A bucket name.
*/ inline S3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *A bucket name.
*/ inline S3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *A bucket name.
*/ inline S3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *An object key.
*/ inline const Aws::String& GetObjectKey() const{ return m_objectKey; } /** *An object key.
*/ inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; } /** *An object key.
*/ inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; } /** *An object key.
*/ inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); } /** *An object key.
*/ inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); } /** *An object key.
*/ inline S3Location& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;} /** *An object key.
*/ inline S3Location& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;} /** *An object key.
*/ inline S3Location& WithObjectKey(const char* value) { SetObjectKey(value); return *this;} /** *The bucket's Region.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The bucket's Region.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The bucket's Region.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The bucket's Region.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The bucket's Region.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The bucket's Region.
*/ inline S3Location& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The bucket's Region.
*/ inline S3Location& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The bucket's Region.
*/ inline S3Location& WithRegion(const char* value) { SetRegion(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_objectKey; bool m_objectKeyHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws