/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details on S3 location for error reports that result from running a query.
* See Also:
AWS
* API Reference
Name of the S3 bucket under which error reports will be created.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *Name of the S3 bucket under which error reports will be created.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *Name of the S3 bucket under which error reports will be created.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *Name of the S3 bucket under which error reports will be created.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *Name of the S3 bucket under which error reports will be created.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *Name of the S3 bucket under which error reports will be created.
*/ inline S3Configuration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *Name of the S3 bucket under which error reports will be created.
*/ inline S3Configuration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *Name of the S3 bucket under which error reports will be created.
*/ inline S3Configuration& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline const Aws::String& GetObjectKeyPrefix() const{ return m_objectKeyPrefix; } /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; } /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline void SetObjectKeyPrefix(const Aws::String& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = value; } /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline void SetObjectKeyPrefix(Aws::String&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::move(value); } /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline void SetObjectKeyPrefix(const char* value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix.assign(value); } /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline S3Configuration& WithObjectKeyPrefix(const Aws::String& value) { SetObjectKeyPrefix(value); return *this;} /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline S3Configuration& WithObjectKeyPrefix(Aws::String&& value) { SetObjectKeyPrefix(std::move(value)); return *this;} /** *Prefix for the error report key. Timestream by default adds the following * prefix to the error report path.
*/ inline S3Configuration& WithObjectKeyPrefix(const char* value) { SetObjectKeyPrefix(value); return *this;} /** *Encryption at rest options for the error reports. If no encryption option is * specified, Timestream will choose SSE_S3 as default.
*/ inline const S3EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; } /** *Encryption at rest options for the error reports. If no encryption option is * specified, Timestream will choose SSE_S3 as default.
*/ inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; } /** *Encryption at rest options for the error reports. If no encryption option is * specified, Timestream will choose SSE_S3 as default.
*/ inline void SetEncryptionOption(const S3EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; } /** *Encryption at rest options for the error reports. If no encryption option is * specified, Timestream will choose SSE_S3 as default.
*/ inline void SetEncryptionOption(S3EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); } /** *Encryption at rest options for the error reports. If no encryption option is * specified, Timestream will choose SSE_S3 as default.
*/ inline S3Configuration& WithEncryptionOption(const S3EncryptionOption& value) { SetEncryptionOption(value); return *this;} /** *Encryption at rest options for the error reports. If no encryption option is * specified, Timestream will choose SSE_S3 as default.
*/ inline S3Configuration& WithEncryptionOption(S3EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_objectKeyPrefix; bool m_objectKeyPrefixHasBeenSet = false; S3EncryptionOption m_encryptionOption; bool m_encryptionOptionHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws