/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Panorama { namespace Model { /** *

The location of an output object in Amazon S3.

See Also:

AWS * API Reference

*/ class OutPutS3Location { public: AWS_PANORAMA_API OutPutS3Location(); AWS_PANORAMA_API OutPutS3Location(Aws::Utils::Json::JsonView jsonValue); AWS_PANORAMA_API OutPutS3Location& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The object's bucket.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The object's bucket.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The object's bucket.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The object's bucket.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The object's bucket.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The object's bucket.

*/ inline OutPutS3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The object's bucket.

*/ inline OutPutS3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The object's bucket.

*/ inline OutPutS3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The object's key.

*/ inline const Aws::String& GetObjectKey() const{ return m_objectKey; } /** *

The object's key.

*/ inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; } /** *

The object's key.

*/ inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; } /** *

The object's key.

*/ inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); } /** *

The object's key.

*/ inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); } /** *

The object's key.

*/ inline OutPutS3Location& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;} /** *

The object's key.

*/ inline OutPutS3Location& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;} /** *

The object's key.

*/ inline OutPutS3Location& WithObjectKey(const char* value) { SetObjectKey(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_objectKey; bool m_objectKeyHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws