/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The log configuration for the results of the run command
* actions.See Also:
AWS
* API Reference
Whether to enable encryption on the CloudWatch logs.
*/ inline bool GetCloudWatchEncryptionEnabled() const{ return m_cloudWatchEncryptionEnabled; } /** *Whether to enable encryption on the CloudWatch logs.
*/ inline bool CloudWatchEncryptionEnabledHasBeenSet() const { return m_cloudWatchEncryptionEnabledHasBeenSet; } /** *Whether to enable encryption on the CloudWatch logs.
*/ inline void SetCloudWatchEncryptionEnabled(bool value) { m_cloudWatchEncryptionEnabledHasBeenSet = true; m_cloudWatchEncryptionEnabled = value; } /** *Whether to enable encryption on the CloudWatch logs.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithCloudWatchEncryptionEnabled(bool value) { SetCloudWatchEncryptionEnabled(value); return *this;} /** *The name of the CloudWatch log group to send the logs to.
*/ inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; } /** *The name of the CloudWatch log group to send the logs to.
*/ inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; } /** *The name of the CloudWatch log group to send the logs to.
*/ inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; } /** *The name of the CloudWatch log group to send the logs to.
*/ inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); } /** *The name of the CloudWatch log group to send the logs to.
*/ inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); } /** *The name of the CloudWatch log group to send the logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithCloudWatchLogGroupName(const Aws::String& value) { SetCloudWatchLogGroupName(value); return *this;} /** *The name of the CloudWatch log group to send the logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithCloudWatchLogGroupName(Aws::String&& value) { SetCloudWatchLogGroupName(std::move(value)); return *this;} /** *The name of the CloudWatch log group to send the logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithCloudWatchLogGroupName(const char* value) { SetCloudWatchLogGroupName(value); return *this;} /** *The name of the S3 bucket to send logs to.
*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *The name of the S3 bucket to send logs to.
*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *The name of the S3 bucket to send logs to.
*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *The name of the S3 bucket to send logs to.
*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *The name of the S3 bucket to send logs to.
*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *The name of the S3 bucket to send logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *The name of the S3 bucket to send logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *The name of the S3 bucket to send logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *Whether to encrypt the logs that are sent to the S3 bucket.
*/ inline bool GetS3EncryptionEnabled() const{ return m_s3EncryptionEnabled; } /** *Whether to encrypt the logs that are sent to the S3 bucket.
*/ inline bool S3EncryptionEnabledHasBeenSet() const { return m_s3EncryptionEnabledHasBeenSet; } /** *Whether to encrypt the logs that are sent to the S3 bucket.
*/ inline void SetS3EncryptionEnabled(bool value) { m_s3EncryptionEnabledHasBeenSet = true; m_s3EncryptionEnabled = value; } /** *Whether to encrypt the logs that are sent to the S3 bucket.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3EncryptionEnabled(bool value) { SetS3EncryptionEnabled(value); return *this;} /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; } /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; } /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; } /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); } /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); } /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;} /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;} /** *Identifies the folder in the S3 bucket to send the logs to.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;} private: bool m_cloudWatchEncryptionEnabled; bool m_cloudWatchEncryptionEnabledHasBeenSet = false; Aws::String m_cloudWatchLogGroupName; bool m_cloudWatchLogGroupNameHasBeenSet = false; Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; bool m_s3EncryptionEnabled; bool m_s3EncryptionEnabledHasBeenSet = false; Aws::String m_s3KeyPrefix; bool m_s3KeyPrefixHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws