AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelPlacementGroupResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/ChannelPlacementGroupState.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
36 {
37 public:
41
42
44
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline void SetArn(const Aws::String& value) { m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arn.assign(value); }
52 inline CreateChannelPlacementGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline CreateChannelPlacementGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline CreateChannelPlacementGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetChannels() const{ return m_channels; }
62 inline void SetChannels(const Aws::Vector<Aws::String>& value) { m_channels = value; }
63 inline void SetChannels(Aws::Vector<Aws::String>&& value) { m_channels = std::move(value); }
65 inline CreateChannelPlacementGroupResult& WithChannels(Aws::Vector<Aws::String>&& value) { SetChannels(std::move(value)); return *this;}
66 inline CreateChannelPlacementGroupResult& AddChannels(const Aws::String& value) { m_channels.push_back(value); return *this; }
67 inline CreateChannelPlacementGroupResult& AddChannels(Aws::String&& value) { m_channels.push_back(std::move(value)); return *this; }
68 inline CreateChannelPlacementGroupResult& AddChannels(const char* value) { m_channels.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
76 inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
77 inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
78 inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
79 inline CreateChannelPlacementGroupResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
80 inline CreateChannelPlacementGroupResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
81 inline CreateChannelPlacementGroupResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
83
85
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline void SetId(const Aws::String& value) { m_id = value; }
91 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
92 inline void SetId(const char* value) { m_id.assign(value); }
93 inline CreateChannelPlacementGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
94 inline CreateChannelPlacementGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
95 inline CreateChannelPlacementGroupResult& WithId(const char* value) { SetId(value); return *this;}
97
99
102 inline const Aws::String& GetName() const{ return m_name; }
103 inline void SetName(const Aws::String& value) { m_name = value; }
104 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
105 inline void SetName(const char* value) { m_name.assign(value); }
106 inline CreateChannelPlacementGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline CreateChannelPlacementGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline CreateChannelPlacementGroupResult& WithName(const char* value) { SetName(value); return *this;}
110
112
116 inline const Aws::Vector<Aws::String>& GetNodes() const{ return m_nodes; }
117 inline void SetNodes(const Aws::Vector<Aws::String>& value) { m_nodes = value; }
118 inline void SetNodes(Aws::Vector<Aws::String>&& value) { m_nodes = std::move(value); }
120 inline CreateChannelPlacementGroupResult& WithNodes(Aws::Vector<Aws::String>&& value) { SetNodes(std::move(value)); return *this;}
121 inline CreateChannelPlacementGroupResult& AddNodes(const Aws::String& value) { m_nodes.push_back(value); return *this; }
122 inline CreateChannelPlacementGroupResult& AddNodes(Aws::String&& value) { m_nodes.push_back(std::move(value)); return *this; }
123 inline CreateChannelPlacementGroupResult& AddNodes(const char* value) { m_nodes.push_back(value); return *this; }
125
127
130 inline const ChannelPlacementGroupState& GetState() const{ return m_state; }
131 inline void SetState(const ChannelPlacementGroupState& value) { m_state = value; }
132 inline void SetState(ChannelPlacementGroupState&& value) { m_state = std::move(value); }
134 inline CreateChannelPlacementGroupResult& WithState(ChannelPlacementGroupState&& value) { SetState(std::move(value)); return *this;}
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline CreateChannelPlacementGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline CreateChannelPlacementGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline CreateChannelPlacementGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_arn;
150
151 Aws::Vector<Aws::String> m_channels;
152
153 Aws::String m_clusterId;
154
155 Aws::String m_id;
156
157 Aws::String m_name;
158
160
162
163 Aws::String m_requestId;
164 };
165
166} // namespace Model
167} // namespace MediaLive
168} // namespace Aws
CreateChannelPlacementGroupResult & WithState(ChannelPlacementGroupState &&value)
CreateChannelPlacementGroupResult & WithState(const ChannelPlacementGroupState &value)
CreateChannelPlacementGroupResult & WithName(const char *value)
CreateChannelPlacementGroupResult & WithChannels(const Aws::Vector< Aws::String > &value)
CreateChannelPlacementGroupResult & WithName(const Aws::String &value)
CreateChannelPlacementGroupResult & AddNodes(const char *value)
CreateChannelPlacementGroupResult & WithNodes(Aws::Vector< Aws::String > &&value)
CreateChannelPlacementGroupResult & WithRequestId(const char *value)
CreateChannelPlacementGroupResult & WithArn(const Aws::String &value)
CreateChannelPlacementGroupResult & WithClusterId(Aws::String &&value)
CreateChannelPlacementGroupResult & AddChannels(const char *value)
CreateChannelPlacementGroupResult & WithRequestId(Aws::String &&value)
CreateChannelPlacementGroupResult & WithClusterId(const char *value)
CreateChannelPlacementGroupResult & AddNodes(const Aws::String &value)
CreateChannelPlacementGroupResult & WithNodes(const Aws::Vector< Aws::String > &value)
CreateChannelPlacementGroupResult & AddNodes(Aws::String &&value)
AWS_MEDIALIVE_API CreateChannelPlacementGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelPlacementGroupResult & WithChannels(Aws::Vector< Aws::String > &&value)
CreateChannelPlacementGroupResult & AddChannels(const Aws::String &value)
AWS_MEDIALIVE_API CreateChannelPlacementGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelPlacementGroupResult & WithName(Aws::String &&value)
CreateChannelPlacementGroupResult & WithRequestId(const Aws::String &value)
CreateChannelPlacementGroupResult & WithClusterId(const Aws::String &value)
CreateChannelPlacementGroupResult & WithId(const char *value)
CreateChannelPlacementGroupResult & WithArn(Aws::String &&value)
CreateChannelPlacementGroupResult & WithId(Aws::String &&value)
CreateChannelPlacementGroupResult & AddChannels(Aws::String &&value)
CreateChannelPlacementGroupResult & WithArn(const char *value)
CreateChannelPlacementGroupResult & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue