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 CreateChannelResponse<p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelResponse">AWS
30    * API Reference</a></p>
31    */
32   class AWS_MEDIALIVE_API CreateChannelResult
33   {
34   public:
35     CreateChannelResult();
36     CreateChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
37     CreateChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38 
39 
40 
GetChannel()41     inline const Channel& GetChannel() const{ return m_channel; }
42 
43 
SetChannel(const Channel & value)44     inline void SetChannel(const Channel& value) { m_channel = value; }
45 
46 
SetChannel(Channel && value)47     inline void SetChannel(Channel&& value) { m_channel = std::move(value); }
48 
49 
WithChannel(const Channel & value)50     inline CreateChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;}
51 
52 
WithChannel(Channel && value)53     inline CreateChannelResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
54 
55   private:
56 
57     Channel m_channel;
58   };
59 
60 } // namespace Model
61 } // namespace MediaLive
62 } // namespace Aws
63