/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about delivering logs to Amazon S3.See Also:
AWS
* API Reference
The name of the S3 bucket that is the destination for log delivery.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline S3LogDelivery& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline S3LogDelivery& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The name of the S3 bucket that is the destination for log delivery.
*/ inline S3LogDelivery& WithBucket(const char* value) { SetBucket(value); return *this;} /** *Specifies whether connector logs get sent to the specified Amazon S3 * destination.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether connector logs get sent to the specified Amazon S3 * destination.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether connector logs get sent to the specified Amazon S3 * destination.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether connector logs get sent to the specified Amazon S3 * destination.
*/ inline S3LogDelivery& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The S3 prefix that is the destination for log delivery.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The S3 prefix that is the destination for log delivery.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The S3 prefix that is the destination for log delivery.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The S3 prefix that is the destination for log delivery.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The S3 prefix that is the destination for log delivery.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The S3 prefix that is the destination for log delivery.
*/ inline S3LogDelivery& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The S3 prefix that is the destination for log delivery.
*/ inline S3LogDelivery& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The S3 prefix that is the destination for log delivery.
*/ inline S3LogDelivery& WithPrefix(const char* value) { SetPrefix(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws