/** * 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 SFN { namespace Model { /** *

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

*/ inline LogDestination& WithCloudWatchLogsLogGroup(const CloudWatchLogsLogGroup& value) { SetCloudWatchLogsLogGroup(value); return *this;} /** *

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

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