AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateChannelPlacementGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLiveRequest.h>
10#include <aws/medialive/MediaLive_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaLive {
16namespace Model {
17
24 public:
25 AWS_MEDIALIVE_API UpdateChannelPlacementGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannelPlacementGroup"; }
32
33 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetChannelPlacementGroupId() const { return m_channelPlacementGroupId; }
40 inline bool ChannelPlacementGroupIdHasBeenSet() const { return m_channelPlacementGroupIdHasBeenSet; }
41 template <typename ChannelPlacementGroupIdT = Aws::String>
42 void SetChannelPlacementGroupId(ChannelPlacementGroupIdT&& value) {
43 m_channelPlacementGroupIdHasBeenSet = true;
44 m_channelPlacementGroupId = std::forward<ChannelPlacementGroupIdT>(value);
45 }
46 template <typename ChannelPlacementGroupIdT = Aws::String>
48 SetChannelPlacementGroupId(std::forward<ChannelPlacementGroupIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetClusterId() const { return m_clusterId; }
58 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
59 template <typename ClusterIdT = Aws::String>
60 void SetClusterId(ClusterIdT&& value) {
61 m_clusterIdHasBeenSet = true;
62 m_clusterId = std::forward<ClusterIdT>(value);
63 }
64 template <typename ClusterIdT = Aws::String>
66 SetClusterId(std::forward<ClusterIdT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::Vector<Aws::String>& GetNodes() const { return m_nodes; }
97 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
98 template <typename NodesT = Aws::Vector<Aws::String>>
99 void SetNodes(NodesT&& value) {
100 m_nodesHasBeenSet = true;
101 m_nodes = std::forward<NodesT>(value);
102 }
103 template <typename NodesT = Aws::Vector<Aws::String>>
105 SetNodes(std::forward<NodesT>(value));
106 return *this;
107 }
108 template <typename NodesT = Aws::String>
110 m_nodesHasBeenSet = true;
111 m_nodes.emplace_back(std::forward<NodesT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_channelPlacementGroupId;
117
118 Aws::String m_clusterId;
119
120 Aws::String m_name;
121
123 bool m_channelPlacementGroupIdHasBeenSet = false;
124 bool m_clusterIdHasBeenSet = false;
125 bool m_nameHasBeenSet = false;
126 bool m_nodesHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace MediaLive
131} // namespace Aws
UpdateChannelPlacementGroupRequest & WithName(NameT &&value)
UpdateChannelPlacementGroupRequest & WithNodes(NodesT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
UpdateChannelPlacementGroupRequest & WithClusterId(ClusterIdT &&value)
AWS_MEDIALIVE_API UpdateChannelPlacementGroupRequest()=default
UpdateChannelPlacementGroupRequest & AddNodes(NodesT &&value)
UpdateChannelPlacementGroupRequest & WithChannelPlacementGroupId(ChannelPlacementGroupIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector