/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Options for Amazon S3 as a logging destination.See Also:
AWS
* API Reference
Indicates whether logging is enabled.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Indicates whether logging is enabled.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Indicates whether logging is enabled.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Indicates whether logging is enabled.
*/ inline VerifiedAccessLogS3DestinationOptions& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The bucket name.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The bucket name.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *The bucket name.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *The bucket name.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *The bucket name.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *The bucket name.
*/ inline VerifiedAccessLogS3DestinationOptions& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The bucket name.
*/ inline VerifiedAccessLogS3DestinationOptions& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The bucket name.
*/ inline VerifiedAccessLogS3DestinationOptions& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *The bucket prefix.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The bucket prefix.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The bucket prefix.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The bucket prefix.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The bucket prefix.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The bucket prefix.
*/ inline VerifiedAccessLogS3DestinationOptions& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The bucket prefix.
*/ inline VerifiedAccessLogS3DestinationOptions& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The bucket prefix.
*/ inline VerifiedAccessLogS3DestinationOptions& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; } /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; } /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); } /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); } /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline VerifiedAccessLogS3DestinationOptions& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;} /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline VerifiedAccessLogS3DestinationOptions& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
*/ inline VerifiedAccessLogS3DestinationOptions& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; Aws::String m_bucketOwner; bool m_bucketOwnerHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws