/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the run command configuration for the cluster.See
* Also:
AWS
* API Reference
The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationDetails& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationDetails& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The identifier of the KMS key that is used to encrypt the data between the * local client and the container.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationDetails& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *The log configuration for the results of the run command actions. Required if
* Logging
is NONE
.
The log configuration for the results of the run command actions. Required if
* Logging
is NONE
.
The log configuration for the results of the run command actions. Required if
* Logging
is NONE
.
The log configuration for the results of the run command actions. Required if
* Logging
is NONE
.
The log configuration for the results of the run command actions. Required if
* Logging
is NONE
.
The log configuration for the results of the run command actions. Required if
* Logging
is NONE
.
The log setting to use for redirecting logs for run command results.
*/ inline const Aws::String& GetLogging() const{ return m_logging; } /** *The log setting to use for redirecting logs for run command results.
*/ inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; } /** *The log setting to use for redirecting logs for run command results.
*/ inline void SetLogging(const Aws::String& value) { m_loggingHasBeenSet = true; m_logging = value; } /** *The log setting to use for redirecting logs for run command results.
*/ inline void SetLogging(Aws::String&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); } /** *The log setting to use for redirecting logs for run command results.
*/ inline void SetLogging(const char* value) { m_loggingHasBeenSet = true; m_logging.assign(value); } /** *The log setting to use for redirecting logs for run command results.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationDetails& WithLogging(const Aws::String& value) { SetLogging(value); return *this;} /** *The log setting to use for redirecting logs for run command results.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationDetails& WithLogging(Aws::String&& value) { SetLogging(std::move(value)); return *this;} /** *The log setting to use for redirecting logs for run command results.
*/ inline AwsEcsClusterConfigurationExecuteCommandConfigurationDetails& WithLogging(const char* value) { SetLogging(value); return *this;} private: Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails m_logConfiguration; bool m_logConfigurationHasBeenSet = false; Aws::String m_logging; bool m_loggingHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws