AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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:
38 AWS_MEDIALIVE_API CreateChannelPlacementGroupResult() = default;
41
42
44
48 inline const Aws::String& GetArn() const { return m_arn; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 CreateChannelPlacementGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetChannels() const { return m_channels; }
60 template<typename ChannelsT = Aws::Vector<Aws::String>>
61 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet = true; m_channels = std::forward<ChannelsT>(value); }
62 template<typename ChannelsT = Aws::Vector<Aws::String>>
63 CreateChannelPlacementGroupResult& WithChannels(ChannelsT&& value) { SetChannels(std::forward<ChannelsT>(value)); return *this;}
64 template<typename ChannelsT = Aws::String>
65 CreateChannelPlacementGroupResult& AddChannels(ChannelsT&& value) { m_channelsHasBeenSet = true; m_channels.emplace_back(std::forward<ChannelsT>(value)); return *this; }
67
69
72 inline const Aws::String& GetClusterId() const { return m_clusterId; }
73 template<typename ClusterIdT = Aws::String>
74 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
75 template<typename ClusterIdT = Aws::String>
76 CreateChannelPlacementGroupResult& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
78
80
84 inline const Aws::String& GetId() const { return m_id; }
85 template<typename IdT = Aws::String>
86 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
87 template<typename IdT = Aws::String>
88 CreateChannelPlacementGroupResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 CreateChannelPlacementGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
107 inline const Aws::Vector<Aws::String>& GetNodes() const { return m_nodes; }
108 template<typename NodesT = Aws::Vector<Aws::String>>
109 void SetNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes = std::forward<NodesT>(value); }
110 template<typename NodesT = Aws::Vector<Aws::String>>
111 CreateChannelPlacementGroupResult& WithNodes(NodesT&& value) { SetNodes(std::forward<NodesT>(value)); return *this;}
112 template<typename NodesT = Aws::String>
113 CreateChannelPlacementGroupResult& AddNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes.emplace_back(std::forward<NodesT>(value)); return *this; }
115
117
120 inline ChannelPlacementGroupState GetState() const { return m_state; }
121 inline void SetState(ChannelPlacementGroupState value) { m_stateHasBeenSet = true; m_state = value; }
124
126
127 inline const Aws::String& GetRequestId() const { return m_requestId; }
128 template<typename RequestIdT = Aws::String>
129 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
130 template<typename RequestIdT = Aws::String>
131 CreateChannelPlacementGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
133 private:
134
135 Aws::String m_arn;
136 bool m_arnHasBeenSet = false;
137
138 Aws::Vector<Aws::String> m_channels;
139 bool m_channelsHasBeenSet = false;
140
141 Aws::String m_clusterId;
142 bool m_clusterIdHasBeenSet = false;
143
144 Aws::String m_id;
145 bool m_idHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
151 bool m_nodesHasBeenSet = false;
152
154 bool m_stateHasBeenSet = false;
155
156 Aws::String m_requestId;
157 bool m_requestIdHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace MediaLive
162} // namespace Aws
CreateChannelPlacementGroupResult & WithClusterId(ClusterIdT &&value)
CreateChannelPlacementGroupResult & WithChannels(ChannelsT &&value)
CreateChannelPlacementGroupResult & WithName(NameT &&value)
CreateChannelPlacementGroupResult & WithRequestId(RequestIdT &&value)
CreateChannelPlacementGroupResult & WithState(ChannelPlacementGroupState value)
AWS_MEDIALIVE_API CreateChannelPlacementGroupResult()=default
AWS_MEDIALIVE_API CreateChannelPlacementGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelPlacementGroupResult & WithNodes(NodesT &&value)
AWS_MEDIALIVE_API CreateChannelPlacementGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelPlacementGroupResult & AddChannels(ChannelsT &&value)
CreateChannelPlacementGroupResult & AddNodes(NodesT &&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