AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline DescribeChannelPlacementGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline DescribeChannelPlacementGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline DescribeChannelPlacementGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetChannels() const{ return m_channels; }
62 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
63 inline void SetChannels(const Aws::Vector<Aws::String>& value) { m_channelsHasBeenSet = true; m_channels = value; }
64 inline void SetChannels(Aws::Vector<Aws::String>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
67 inline DescribeChannelPlacementGroupSummary& AddChannels(const Aws::String& value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
68 inline DescribeChannelPlacementGroupSummary& AddChannels(Aws::String&& value) { m_channelsHasBeenSet = true; m_channels.push_back(std::move(value)); return *this; }
69 inline DescribeChannelPlacementGroupSummary& AddChannels(const char* value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
71
73
76 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
77 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
78 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
79 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
80 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
81 inline DescribeChannelPlacementGroupSummary& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
82 inline DescribeChannelPlacementGroupSummary& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
83 inline DescribeChannelPlacementGroupSummary& WithClusterId(const char* value) { SetClusterId(value); return *this;}
85
87
91 inline const Aws::String& GetId() const{ return m_id; }
92 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
94 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
95 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
96 inline DescribeChannelPlacementGroupSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline DescribeChannelPlacementGroupSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline DescribeChannelPlacementGroupSummary& WithId(const char* value) { SetId(value); return *this;}
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
108 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
109 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 inline DescribeChannelPlacementGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
111 inline DescribeChannelPlacementGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 inline DescribeChannelPlacementGroupSummary& WithName(const char* value) { SetName(value); return *this;}
114
116
120 inline const Aws::Vector<Aws::String>& GetNodes() const{ return m_nodes; }
121 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
122 inline void SetNodes(const Aws::Vector<Aws::String>& value) { m_nodesHasBeenSet = true; m_nodes = value; }
123 inline void SetNodes(Aws::Vector<Aws::String>&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); }
125 inline DescribeChannelPlacementGroupSummary& WithNodes(Aws::Vector<Aws::String>&& value) { SetNodes(std::move(value)); return *this;}
126 inline DescribeChannelPlacementGroupSummary& AddNodes(const Aws::String& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
127 inline DescribeChannelPlacementGroupSummary& AddNodes(Aws::String&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; }
128 inline DescribeChannelPlacementGroupSummary& AddNodes(const char* value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
130
132
135 inline const ChannelPlacementGroupState& GetState() const{ return m_state; }
136 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
137 inline void SetState(const ChannelPlacementGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
138 inline void SetState(ChannelPlacementGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
140 inline DescribeChannelPlacementGroupSummary& WithState(ChannelPlacementGroupState&& value) { SetState(std::move(value)); return *this;}
142 private:
143
144 Aws::String m_arn;
145 bool m_arnHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_channels;
148 bool m_channelsHasBeenSet = false;
149
150 Aws::String m_clusterId;
151 bool m_clusterIdHasBeenSet = false;
152
153 Aws::String m_id;
154 bool m_idHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
160 bool m_nodesHasBeenSet = false;
161
163 bool m_stateHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace MediaLive
168} // namespace Aws
DescribeChannelPlacementGroupSummary & WithState(ChannelPlacementGroupState &&value)
DescribeChannelPlacementGroupSummary & WithState(const ChannelPlacementGroupState &value)
DescribeChannelPlacementGroupSummary & WithId(Aws::String &&value)
DescribeChannelPlacementGroupSummary & WithClusterId(const char *value)
DescribeChannelPlacementGroupSummary & AddNodes(Aws::String &&value)
DescribeChannelPlacementGroupSummary & WithArn(Aws::String &&value)
DescribeChannelPlacementGroupSummary & AddChannels(Aws::String &&value)
DescribeChannelPlacementGroupSummary & AddNodes(const Aws::String &value)
DescribeChannelPlacementGroupSummary & WithArn(const Aws::String &value)
DescribeChannelPlacementGroupSummary & AddNodes(const char *value)
DescribeChannelPlacementGroupSummary & WithClusterId(const Aws::String &value)
DescribeChannelPlacementGroupSummary & WithNodes(Aws::Vector< Aws::String > &&value)
DescribeChannelPlacementGroupSummary & WithArn(const char *value)
DescribeChannelPlacementGroupSummary & AddChannels(const Aws::String &value)
DescribeChannelPlacementGroupSummary & WithName(const char *value)
DescribeChannelPlacementGroupSummary & WithChannels(const Aws::Vector< Aws::String > &value)
DescribeChannelPlacementGroupSummary & AddChannels(const char *value)
DescribeChannelPlacementGroupSummary & WithClusterId(Aws::String &&value)
AWS_MEDIALIVE_API DescribeChannelPlacementGroupSummary(Aws::Utils::Json::JsonView jsonValue)
DescribeChannelPlacementGroupSummary & WithId(const char *value)
DescribeChannelPlacementGroupSummary & WithNodes(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API DescribeChannelPlacementGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeChannelPlacementGroupSummary & WithName(const Aws::String &value)
DescribeChannelPlacementGroupSummary & WithName(Aws::String &&value)
DescribeChannelPlacementGroupSummary & WithId(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeChannelPlacementGroupSummary & WithChannels(Aws::Vector< 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