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/chime/Chime_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.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 Chime
24 {
25 namespace Model
26 {
27   class AWS_CHIME_API CreateChannelResult
28   {
29   public:
30     CreateChannelResult();
31     CreateChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     CreateChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>The ARN of the channel.</p>
37      */
GetChannelArn()38     inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
39 
40     /**
41      * <p>The ARN of the channel.</p>
42      */
SetChannelArn(const Aws::String & value)43     inline void SetChannelArn(const Aws::String& value) { m_channelArn = value; }
44 
45     /**
46      * <p>The ARN of the channel.</p>
47      */
SetChannelArn(Aws::String && value)48     inline void SetChannelArn(Aws::String&& value) { m_channelArn = std::move(value); }
49 
50     /**
51      * <p>The ARN of the channel.</p>
52      */
SetChannelArn(const char * value)53     inline void SetChannelArn(const char* value) { m_channelArn.assign(value); }
54 
55     /**
56      * <p>The ARN of the channel.</p>
57      */
WithChannelArn(const Aws::String & value)58     inline CreateChannelResult& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
59 
60     /**
61      * <p>The ARN of the channel.</p>
62      */
WithChannelArn(Aws::String && value)63     inline CreateChannelResult& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
64 
65     /**
66      * <p>The ARN of the channel.</p>
67      */
WithChannelArn(const char * value)68     inline CreateChannelResult& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
69 
70   private:
71 
72     Aws::String m_channelArn;
73   };
74 
75 } // namespace Model
76 } // namespace Chime
77 } // namespace Aws
78