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/MultiplexProgram.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 CreateMultiplexProgramResponse<p><h3>See 29 * Also:</h3> <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplexProgramResponse">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_MEDIALIVE_API CreateMultiplexProgramResult 34 { 35 public: 36 CreateMultiplexProgramResult(); 37 CreateMultiplexProgramResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 38 CreateMultiplexProgramResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 39 40 41 /** 42 * The newly created multiplex program. 43 */ GetMultiplexProgram()44 inline const MultiplexProgram& GetMultiplexProgram() const{ return m_multiplexProgram; } 45 46 /** 47 * The newly created multiplex program. 48 */ SetMultiplexProgram(const MultiplexProgram & value)49 inline void SetMultiplexProgram(const MultiplexProgram& value) { m_multiplexProgram = value; } 50 51 /** 52 * The newly created multiplex program. 53 */ SetMultiplexProgram(MultiplexProgram && value)54 inline void SetMultiplexProgram(MultiplexProgram&& value) { m_multiplexProgram = std::move(value); } 55 56 /** 57 * The newly created multiplex program. 58 */ WithMultiplexProgram(const MultiplexProgram & value)59 inline CreateMultiplexProgramResult& WithMultiplexProgram(const MultiplexProgram& value) { SetMultiplexProgram(value); return *this;} 60 61 /** 62 * The newly created multiplex program. 63 */ WithMultiplexProgram(MultiplexProgram && value)64 inline CreateMultiplexProgramResult& WithMultiplexProgram(MultiplexProgram&& value) { SetMultiplexProgram(std::move(value)); return *this;} 65 66 private: 67 68 MultiplexProgram m_multiplexProgram; 69 }; 70 71 } // namespace Model 72 } // namespace MediaLive 73 } // namespace Aws 74