/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

An array of objects that describes where your execution history events will * be logged.

See Also:

AWS * API Reference

*/ class AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails { public: AWS_SECURITYHUB_API AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails(); AWS_SECURITYHUB_API AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An object describing a CloudWatch Logs log group. For more information, see * * Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide. *

*/ inline const AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& GetCloudWatchLogsLogGroup() const{ return m_cloudWatchLogsLogGroup; } /** *

An object describing a CloudWatch Logs log group. For more information, see * * Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide. *

*/ inline bool CloudWatchLogsLogGroupHasBeenSet() const { return m_cloudWatchLogsLogGroupHasBeenSet; } /** *

An object describing a CloudWatch Logs log group. For more information, see * * Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide. *

*/ inline void SetCloudWatchLogsLogGroup(const AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& value) { m_cloudWatchLogsLogGroupHasBeenSet = true; m_cloudWatchLogsLogGroup = value; } /** *

An object describing a CloudWatch Logs log group. For more information, see * * Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide. *

*/ inline void SetCloudWatchLogsLogGroup(AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails&& value) { m_cloudWatchLogsLogGroupHasBeenSet = true; m_cloudWatchLogsLogGroup = std::move(value); } /** *

An object describing a CloudWatch Logs log group. For more information, see * * Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide. *

*/ inline AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails& WithCloudWatchLogsLogGroup(const AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& value) { SetCloudWatchLogsLogGroup(value); return *this;} /** *

An object describing a CloudWatch Logs log group. For more information, see * * Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide. *

*/ inline AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails& WithCloudWatchLogsLogGroup(AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails&& value) { SetCloudWatchLogsLogGroup(std::move(value)); return *this;} private: AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails m_cloudWatchLogsLogGroup; bool m_cloudWatchLogsLogGroupHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws