AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetChannelPlacementGroupId(const Aws::String& value) { m_channelPlacementGroupIdHasBeenSet = true; m_channelPlacementGroupId = value; }
46 inline void SetChannelPlacementGroupId(Aws::String&& value) { m_channelPlacementGroupIdHasBeenSet = true; m_channelPlacementGroupId = std::move(value); }
47 inline void SetChannelPlacementGroupId(const char* value) { m_channelPlacementGroupIdHasBeenSet = true; m_channelPlacementGroupId.assign(value); }
52
54
57 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
58 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
59 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
60 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
61 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
62 inline UpdateChannelPlacementGroupRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
63 inline UpdateChannelPlacementGroupRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
64 inline UpdateChannelPlacementGroupRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
66
68
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline UpdateChannelPlacementGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline UpdateChannelPlacementGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline UpdateChannelPlacementGroupRequest& WithName(const char* value) { SetName(value); return *this;}
82
84
88 inline const Aws::Vector<Aws::String>& GetNodes() const{ return m_nodes; }
89 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
90 inline void SetNodes(const Aws::Vector<Aws::String>& value) { m_nodesHasBeenSet = true; m_nodes = value; }
91 inline void SetNodes(Aws::Vector<Aws::String>&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); }
93 inline UpdateChannelPlacementGroupRequest& WithNodes(Aws::Vector<Aws::String>&& value) { SetNodes(std::move(value)); return *this;}
94 inline UpdateChannelPlacementGroupRequest& AddNodes(const Aws::String& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
95 inline UpdateChannelPlacementGroupRequest& AddNodes(Aws::String&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; }
96 inline UpdateChannelPlacementGroupRequest& AddNodes(const char* value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
98 private:
99
100 Aws::String m_channelPlacementGroupId;
101 bool m_channelPlacementGroupIdHasBeenSet = false;
102
103 Aws::String m_clusterId;
104 bool m_clusterIdHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
110 bool m_nodesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace MediaLive
115} // namespace Aws
UpdateChannelPlacementGroupRequest & WithName(Aws::String &&value)
UpdateChannelPlacementGroupRequest & WithName(const char *value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
UpdateChannelPlacementGroupRequest & AddNodes(const Aws::String &value)
UpdateChannelPlacementGroupRequest & WithNodes(const Aws::Vector< Aws::String > &value)
UpdateChannelPlacementGroupRequest & WithClusterId(const Aws::String &value)
UpdateChannelPlacementGroupRequest & WithClusterId(Aws::String &&value)
UpdateChannelPlacementGroupRequest & AddNodes(const char *value)
UpdateChannelPlacementGroupRequest & WithChannelPlacementGroupId(const Aws::String &value)
UpdateChannelPlacementGroupRequest & WithChannelPlacementGroupId(const char *value)
UpdateChannelPlacementGroupRequest & WithClusterId(const char *value)
UpdateChannelPlacementGroupRequest & WithNodes(Aws::Vector< Aws::String > &&value)
UpdateChannelPlacementGroupRequest & WithName(const Aws::String &value)
UpdateChannelPlacementGroupRequest & AddNodes(Aws::String &&value)
UpdateChannelPlacementGroupRequest & WithChannelPlacementGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector