AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateNodeRegistrationScriptRequest.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 <aws/medialive/model/NodeRole.h>
12#include <aws/medialive/model/NodeInterfaceMapping.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace MediaLive
19{
20namespace Model
21{
22
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateNodeRegistrationScript"; }
38
39 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
47 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
48 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
49 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
50 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
51 inline CreateNodeRegistrationScriptRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
52 inline CreateNodeRegistrationScriptRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
53 inline CreateNodeRegistrationScriptRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
55
57
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline CreateNodeRegistrationScriptRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline CreateNodeRegistrationScriptRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline CreateNodeRegistrationScriptRequest& WithId(const char* value) { SetId(value); return *this;}
70
72
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline CreateNodeRegistrationScriptRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline CreateNodeRegistrationScriptRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline CreateNodeRegistrationScriptRequest& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::Vector<NodeInterfaceMapping>& GetNodeInterfaceMappings() const{ return m_nodeInterfaceMappings; }
93 inline bool NodeInterfaceMappingsHasBeenSet() const { return m_nodeInterfaceMappingsHasBeenSet; }
94 inline void SetNodeInterfaceMappings(const Aws::Vector<NodeInterfaceMapping>& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings = value; }
95 inline void SetNodeInterfaceMappings(Aws::Vector<NodeInterfaceMapping>&& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings = std::move(value); }
98 inline CreateNodeRegistrationScriptRequest& AddNodeInterfaceMappings(const NodeInterfaceMapping& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings.push_back(value); return *this; }
99 inline CreateNodeRegistrationScriptRequest& AddNodeInterfaceMappings(NodeInterfaceMapping&& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings.push_back(std::move(value)); return *this; }
101
103
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
109 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
112 inline CreateNodeRegistrationScriptRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline CreateNodeRegistrationScriptRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline CreateNodeRegistrationScriptRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116
118
123 inline const NodeRole& GetRole() const{ return m_role; }
124 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
125 inline void SetRole(const NodeRole& value) { m_roleHasBeenSet = true; m_role = value; }
126 inline void SetRole(NodeRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
127 inline CreateNodeRegistrationScriptRequest& WithRole(const NodeRole& value) { SetRole(value); return *this;}
128 inline CreateNodeRegistrationScriptRequest& WithRole(NodeRole&& value) { SetRole(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_clusterId;
133 bool m_clusterIdHasBeenSet = false;
134
135 Aws::String m_id;
136 bool m_idHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Aws::Vector<NodeInterfaceMapping> m_nodeInterfaceMappings;
142 bool m_nodeInterfaceMappingsHasBeenSet = false;
143
144 Aws::String m_requestId;
145 bool m_requestIdHasBeenSet = false;
146
147 NodeRole m_role;
148 bool m_roleHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace MediaLive
153} // namespace Aws
CreateNodeRegistrationScriptRequest & WithId(const char *value)
void SetNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreateNodeRegistrationScriptRequest & WithName(Aws::String &&value)
CreateNodeRegistrationScriptRequest & WithRequestId(const Aws::String &value)
CreateNodeRegistrationScriptRequest & WithRequestId(const char *value)
CreateNodeRegistrationScriptRequest & WithClusterId(const Aws::String &value)
CreateNodeRegistrationScriptRequest & WithId(Aws::String &&value)
CreateNodeRegistrationScriptRequest & WithName(const char *value)
CreateNodeRegistrationScriptRequest & WithRole(NodeRole &&value)
CreateNodeRegistrationScriptRequest & WithClusterId(Aws::String &&value)
CreateNodeRegistrationScriptRequest & WithId(const Aws::String &value)
CreateNodeRegistrationScriptRequest & WithNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
CreateNodeRegistrationScriptRequest & AddNodeInterfaceMappings(NodeInterfaceMapping &&value)
CreateNodeRegistrationScriptRequest & AddNodeInterfaceMappings(const NodeInterfaceMapping &value)
const Aws::Vector< NodeInterfaceMapping > & GetNodeInterfaceMappings() const
CreateNodeRegistrationScriptRequest & WithRequestId(Aws::String &&value)
CreateNodeRegistrationScriptRequest & WithRole(const NodeRole &value)
CreateNodeRegistrationScriptRequest & WithName(const Aws::String &value)
void SetNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
CreateNodeRegistrationScriptRequest & WithNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
CreateNodeRegistrationScriptRequest & WithClusterId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector