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

A collection of log configurations.

See Also:

AWS * API Reference

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

Parameters for publishing logs to Amazon CloudWatch Logs.

*/ inline const LogConfiguration& GetCloudwatch() const{ return m_cloudwatch; } /** *

Parameters for publishing logs to Amazon CloudWatch Logs.

*/ inline bool CloudwatchHasBeenSet() const { return m_cloudwatchHasBeenSet; } /** *

Parameters for publishing logs to Amazon CloudWatch Logs.

*/ inline void SetCloudwatch(const LogConfiguration& value) { m_cloudwatchHasBeenSet = true; m_cloudwatch = value; } /** *

Parameters for publishing logs to Amazon CloudWatch Logs.

*/ inline void SetCloudwatch(LogConfiguration&& value) { m_cloudwatchHasBeenSet = true; m_cloudwatch = std::move(value); } /** *

Parameters for publishing logs to Amazon CloudWatch Logs.

*/ inline LogConfigurations& WithCloudwatch(const LogConfiguration& value) { SetCloudwatch(value); return *this;} /** *

Parameters for publishing logs to Amazon CloudWatch Logs.

*/ inline LogConfigurations& WithCloudwatch(LogConfiguration&& value) { SetCloudwatch(std::move(value)); return *this;} private: LogConfiguration m_cloudwatch; bool m_cloudwatchHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws