AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateChannelPlacementGroupRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaLive
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIALIVE_API UpdateChannelPlacementGroupRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannelPlacementGroup"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetChannelPlacementGroupId() const { return m_channelPlacementGroupId; }
44 inline bool ChannelPlacementGroupIdHasBeenSet() const { return m_channelPlacementGroupIdHasBeenSet; }
45 template<typename ChannelPlacementGroupIdT = Aws::String>
46 void SetChannelPlacementGroupId(ChannelPlacementGroupIdT&& value) { m_channelPlacementGroupIdHasBeenSet = true; m_channelPlacementGroupId = std::forward<ChannelPlacementGroupIdT>(value); }
47 template<typename ChannelPlacementGroupIdT = Aws::String>
48 UpdateChannelPlacementGroupRequest& WithChannelPlacementGroupId(ChannelPlacementGroupIdT&& value) { SetChannelPlacementGroupId(std::forward<ChannelPlacementGroupIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetClusterId() const { return m_clusterId; }
56 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
57 template<typename ClusterIdT = Aws::String>
58 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
59 template<typename ClusterIdT = Aws::String>
60 UpdateChannelPlacementGroupRequest& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
62
64
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 UpdateChannelPlacementGroupRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
82 inline const Aws::Vector<Aws::String>& GetNodes() const { return m_nodes; }
83 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
84 template<typename NodesT = Aws::Vector<Aws::String>>
85 void SetNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes = std::forward<NodesT>(value); }
86 template<typename NodesT = Aws::Vector<Aws::String>>
87 UpdateChannelPlacementGroupRequest& WithNodes(NodesT&& value) { SetNodes(std::forward<NodesT>(value)); return *this;}
88 template<typename NodesT = Aws::String>
89 UpdateChannelPlacementGroupRequest& AddNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes.emplace_back(std::forward<NodesT>(value)); return *this; }
91 private:
92
93 Aws::String m_channelPlacementGroupId;
94 bool m_channelPlacementGroupIdHasBeenSet = false;
95
96 Aws::String m_clusterId;
97 bool m_clusterIdHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
103 bool m_nodesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace MediaLive
108} // 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