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

Describes the configuration for experiment logging to Amazon CloudWatch * Logs.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; } /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; } /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline ExperimentCloudWatchLogsLogConfiguration& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline ExperimentCloudWatchLogsLogConfiguration& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log * group.

*/ inline ExperimentCloudWatchLogsLogConfiguration& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;} private: Aws::String m_logGroupArn; bool m_logGroupArnHasBeenSet = false; }; } // namespace Model } // namespace FIS } // namespace Aws