/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the AccessLog
attribute.See
* Also:
AWS
* API Reference
Specifies whether access logs are enabled for the load balancer.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether access logs are enabled for the load balancer.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether access logs are enabled for the load balancer.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether access logs are enabled for the load balancer.
*/ inline AccessLog& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline AccessLog& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline AccessLog& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket where the access logs are stored.
*/ inline AccessLog& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *The interval for publishing the access logs. You can specify an interval of * either 5 minutes or 60 minutes.
Default: 60 minutes
*/ inline int GetEmitInterval() const{ return m_emitInterval; } /** *The interval for publishing the access logs. You can specify an interval of * either 5 minutes or 60 minutes.
Default: 60 minutes
*/ inline bool EmitIntervalHasBeenSet() const { return m_emitIntervalHasBeenSet; } /** *The interval for publishing the access logs. You can specify an interval of * either 5 minutes or 60 minutes.
Default: 60 minutes
*/ inline void SetEmitInterval(int value) { m_emitIntervalHasBeenSet = true; m_emitInterval = value; } /** *The interval for publishing the access logs. You can specify an interval of * either 5 minutes or 60 minutes.
Default: 60 minutes
*/ inline AccessLog& WithEmitInterval(int value) { SetEmitInterval(value); return *this;} /** *The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for example
* my-bucket-prefix/prod
. If the prefix is not provided, the log is
* placed at the root level of the bucket.