1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/medialive/MediaLive_EXPORTS.h> 8 #include <aws/medialive/model/Channel.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace MediaLive 24 { 25 namespace Model 26 { 27 /** 28 * Placeholder documentation for UpdateChannelClassResponse<p><h3>See Also:</h3> 29 * <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClassResponse">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_MEDIALIVE_API UpdateChannelClassResult 34 { 35 public: 36 UpdateChannelClassResult(); 37 UpdateChannelClassResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 38 UpdateChannelClassResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 39 40 41 GetChannel()42 inline const Channel& GetChannel() const{ return m_channel; } 43 44 SetChannel(const Channel & value)45 inline void SetChannel(const Channel& value) { m_channel = value; } 46 47 SetChannel(Channel && value)48 inline void SetChannel(Channel&& value) { m_channel = std::move(value); } 49 50 WithChannel(const Channel & value)51 inline UpdateChannelClassResult& WithChannel(const Channel& value) { SetChannel(value); return *this;} 52 53 WithChannel(Channel && value)54 inline UpdateChannelClassResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} 55 56 private: 57 58 Channel m_channel; 59 }; 60 61 } // namespace Model 62 } // namespace MediaLive 63 } // namespace Aws 64