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

The log configuration for the channel.

See Also:

AWS * API Reference

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

The log types.

*/ inline const Aws::Vector& GetLogTypes() const{ return m_logTypes; } /** *

The log types.

*/ inline bool LogTypesHasBeenSet() const { return m_logTypesHasBeenSet; } /** *

The log types.

*/ inline void SetLogTypes(const Aws::Vector& value) { m_logTypesHasBeenSet = true; m_logTypes = value; } /** *

The log types.

*/ inline void SetLogTypes(Aws::Vector&& value) { m_logTypesHasBeenSet = true; m_logTypes = std::move(value); } /** *

The log types.

*/ inline LogConfigurationForChannel& WithLogTypes(const Aws::Vector& value) { SetLogTypes(value); return *this;} /** *

The log types.

*/ inline LogConfigurationForChannel& WithLogTypes(Aws::Vector&& value) { SetLogTypes(std::move(value)); return *this;} /** *

The log types.

*/ inline LogConfigurationForChannel& AddLogTypes(const LogType& value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(value); return *this; } /** *

The log types.

*/ inline LogConfigurationForChannel& AddLogTypes(LogType&& value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(std::move(value)); return *this; } private: Aws::Vector m_logTypes; bool m_logTypesHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws