AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
DescribeChannelPlacementGroupSummary.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API DescribeChannelPlacementGroupSummary() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
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 DescribeChannelPlacementGroupSummary& 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 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
61 template<typename ChannelsT = Aws::Vector<Aws::String>>
62 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet = true; m_channels = std::forward<ChannelsT>(value); }
63 template<typename ChannelsT = Aws::Vector<Aws::String>>
64 DescribeChannelPlacementGroupSummary& WithChannels(ChannelsT&& value) { SetChannels(std::forward<ChannelsT>(value)); return *this;}
65 template<typename ChannelsT = Aws::String>
66 DescribeChannelPlacementGroupSummary& AddChannels(ChannelsT&& value) { m_channelsHasBeenSet = true; m_channels.emplace_back(std::forward<ChannelsT>(value)); return *this; }
68
70
73 inline const Aws::String& GetClusterId() const { return m_clusterId; }
74 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
75 template<typename ClusterIdT = Aws::String>
76 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
77 template<typename ClusterIdT = Aws::String>
78 DescribeChannelPlacementGroupSummary& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
80
82
86 inline const Aws::String& GetId() const { return m_id; }
87 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
88 template<typename IdT = Aws::String>
89 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
90 template<typename IdT = Aws::String>
91 DescribeChannelPlacementGroupSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const { return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 template<typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
102 template<typename NameT = Aws::String>
103 DescribeChannelPlacementGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
105
107
111 inline const Aws::Vector<Aws::String>& GetNodes() const { return m_nodes; }
112 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
113 template<typename NodesT = Aws::Vector<Aws::String>>
114 void SetNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes = std::forward<NodesT>(value); }
115 template<typename NodesT = Aws::Vector<Aws::String>>
116 DescribeChannelPlacementGroupSummary& WithNodes(NodesT&& value) { SetNodes(std::forward<NodesT>(value)); return *this;}
117 template<typename NodesT = Aws::String>
118 DescribeChannelPlacementGroupSummary& AddNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes.emplace_back(std::forward<NodesT>(value)); return *this; }
120
122
125 inline ChannelPlacementGroupState GetState() const { return m_state; }
126 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
127 inline void SetState(ChannelPlacementGroupState value) { m_stateHasBeenSet = true; m_state = value; }
130 private:
131
132 Aws::String m_arn;
133 bool m_arnHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_channels;
136 bool m_channelsHasBeenSet = false;
137
138 Aws::String m_clusterId;
139 bool m_clusterIdHasBeenSet = false;
140
141 Aws::String m_id;
142 bool m_idHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
148 bool m_nodesHasBeenSet = false;
149
151 bool m_stateHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace MediaLive
156} // namespace Aws
DescribeChannelPlacementGroupSummary & WithNodes(NodesT &&value)
DescribeChannelPlacementGroupSummary & AddChannels(ChannelsT &&value)
DescribeChannelPlacementGroupSummary & WithChannels(ChannelsT &&value)
DescribeChannelPlacementGroupSummary & WithClusterId(ClusterIdT &&value)
DescribeChannelPlacementGroupSummary & WithState(ChannelPlacementGroupState value)
AWS_MEDIALIVE_API DescribeChannelPlacementGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API DescribeChannelPlacementGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeChannelPlacementGroupSummary & 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