/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about logging for the S3 bucketSee Also:
AWS
* API Reference
The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline const Aws::String& GetDestinationBucketName() const{ return m_destinationBucketName; } /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline bool DestinationBucketNameHasBeenSet() const { return m_destinationBucketNameHasBeenSet; } /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline void SetDestinationBucketName(const Aws::String& value) { m_destinationBucketNameHasBeenSet = true; m_destinationBucketName = value; } /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline void SetDestinationBucketName(Aws::String&& value) { m_destinationBucketNameHasBeenSet = true; m_destinationBucketName = std::move(value); } /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline void SetDestinationBucketName(const char* value) { m_destinationBucketNameHasBeenSet = true; m_destinationBucketName.assign(value); } /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline AwsS3BucketLoggingConfiguration& WithDestinationBucketName(const Aws::String& value) { SetDestinationBucketName(value); return *this;} /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline AwsS3BucketLoggingConfiguration& WithDestinationBucketName(Aws::String&& value) { SetDestinationBucketName(std::move(value)); return *this;} /** *The name of the S3 bucket where log files for the S3 bucket are stored.
*/ inline AwsS3BucketLoggingConfiguration& WithDestinationBucketName(const char* value) { SetDestinationBucketName(value); return *this;} /** *The prefix added to log files for the S3 bucket.
*/ inline const Aws::String& GetLogFilePrefix() const{ return m_logFilePrefix; } /** *The prefix added to log files for the S3 bucket.
*/ inline bool LogFilePrefixHasBeenSet() const { return m_logFilePrefixHasBeenSet; } /** *The prefix added to log files for the S3 bucket.
*/ inline void SetLogFilePrefix(const Aws::String& value) { m_logFilePrefixHasBeenSet = true; m_logFilePrefix = value; } /** *The prefix added to log files for the S3 bucket.
*/ inline void SetLogFilePrefix(Aws::String&& value) { m_logFilePrefixHasBeenSet = true; m_logFilePrefix = std::move(value); } /** *The prefix added to log files for the S3 bucket.
*/ inline void SetLogFilePrefix(const char* value) { m_logFilePrefixHasBeenSet = true; m_logFilePrefix.assign(value); } /** *The prefix added to log files for the S3 bucket.
*/ inline AwsS3BucketLoggingConfiguration& WithLogFilePrefix(const Aws::String& value) { SetLogFilePrefix(value); return *this;} /** *The prefix added to log files for the S3 bucket.
*/ inline AwsS3BucketLoggingConfiguration& WithLogFilePrefix(Aws::String&& value) { SetLogFilePrefix(std::move(value)); return *this;} /** *The prefix added to log files for the S3 bucket.
*/ inline AwsS3BucketLoggingConfiguration& WithLogFilePrefix(const char* value) { SetLogFilePrefix(value); return *this;} private: Aws::String m_destinationBucketName; bool m_destinationBucketNameHasBeenSet = false; Aws::String m_logFilePrefix; bool m_logFilePrefixHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws