/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaTailor { namespace Model { class ConfigureLogsForChannelResult { public: AWS_MEDIATAILOR_API ConfigureLogsForChannelResult(); AWS_MEDIATAILOR_API ConfigureLogsForChannelResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIATAILOR_API ConfigureLogsForChannelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the channel.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

The name of the channel.

*/ inline void SetChannelName(const Aws::String& value) { m_channelName = value; } /** *

The name of the channel.

*/ inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); } /** *

The name of the channel.

*/ inline void SetChannelName(const char* value) { m_channelName.assign(value); } /** *

The name of the channel.

*/ inline ConfigureLogsForChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

The name of the channel.

*/ inline ConfigureLogsForChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

The name of the channel.

*/ inline ConfigureLogsForChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *

The types of logs collected.

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

The types of logs collected.

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

The types of logs collected.

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

The types of logs collected.

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

The types of logs collected.

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

The types of logs collected.

*/ inline ConfigureLogsForChannelResult& AddLogTypes(const LogType& value) { m_logTypes.push_back(value); return *this; } /** *

The types of logs collected.

*/ inline ConfigureLogsForChannelResult& AddLogTypes(LogType&& value) { m_logTypes.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ConfigureLogsForChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ConfigureLogsForChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ConfigureLogsForChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_channelName; Aws::Vector m_logTypes; Aws::String m_requestId; }; } // namespace Model } // namespace MediaTailor } // namespace Aws