/** * 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 TimestreamQuery { namespace Model { /** *

S3 report location for the scheduled query run.

See Also:

* AWS * API Reference

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

S3 bucket name.

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

S3 bucket name.

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

S3 bucket name.

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

S3 bucket name.

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

S3 bucket name.

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

S3 bucket name.

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

S3 bucket name.

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

S3 bucket name.

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

S3 key.

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

S3 key.

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

S3 key.

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

S3 key.

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

S3 key.

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

S3 key.

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

S3 key.

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

S3 key.

*/ inline S3ReportLocation& 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 TimestreamQuery } // namespace Aws