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

*/ inline const Channel& GetChannel() const{ return m_channel; } /** *

*/ inline void SetChannel(const Channel& value) { m_channel = value; } /** *

*/ inline void SetChannel(Channel&& value) { m_channel = std::move(value); } /** *

*/ inline GetChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;} /** *

*/ inline GetChannelResult& WithChannel(Channel&& value) { SetChannel(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 GetChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Channel m_channel; Aws::String m_requestId; }; } // namespace Model } // namespace IVS } // namespace Aws