AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateManagedEndpointRequest.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/emr-containers/model/ConfigurationOverrides.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace EMRContainers
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_EMRCONTAINERS_API CreateManagedEndpointRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateManagedEndpoint"; }
34
35 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateManagedEndpointRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateManagedEndpointRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateManagedEndpointRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; }
57 inline bool VirtualClusterIdHasBeenSet() const { return m_virtualClusterIdHasBeenSet; }
58 inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = value; }
59 inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = std::move(value); }
60 inline void SetVirtualClusterId(const char* value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId.assign(value); }
62 inline CreateManagedEndpointRequest& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;}
63 inline CreateManagedEndpointRequest& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;}
65
67
70 inline const Aws::String& GetType() const{ return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
73 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
74 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
75 inline CreateManagedEndpointRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
76 inline CreateManagedEndpointRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
77 inline CreateManagedEndpointRequest& WithType(const char* value) { SetType(value); return *this;}
79
81
84 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
85 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
86 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
87 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
88 inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
89 inline CreateManagedEndpointRequest& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
90 inline CreateManagedEndpointRequest& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
91 inline CreateManagedEndpointRequest& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
93
95
98 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
99 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
100 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
101 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
102 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
104 inline CreateManagedEndpointRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
105 inline CreateManagedEndpointRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
107
109
113 inline const ConfigurationOverrides& GetConfigurationOverrides() const{ return m_configurationOverrides; }
114 inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; }
115 inline void SetConfigurationOverrides(const ConfigurationOverrides& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = value; }
116 inline void SetConfigurationOverrides(ConfigurationOverrides&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::move(value); }
120
122
125 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
126 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
127 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
128 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
129 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
130 inline CreateManagedEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
131 inline CreateManagedEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
132 inline CreateManagedEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
142 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
144 inline CreateManagedEndpointRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
145 inline CreateManagedEndpointRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 inline CreateManagedEndpointRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline CreateManagedEndpointRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateManagedEndpointRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
149 inline CreateManagedEndpointRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline CreateManagedEndpointRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateManagedEndpointRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153 private:
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Aws::String m_virtualClusterId;
159 bool m_virtualClusterIdHasBeenSet = false;
160
161 Aws::String m_type;
162 bool m_typeHasBeenSet = false;
163
164 Aws::String m_releaseLabel;
165 bool m_releaseLabelHasBeenSet = false;
166
167 Aws::String m_executionRoleArn;
168 bool m_executionRoleArnHasBeenSet = false;
169
170 ConfigurationOverrides m_configurationOverrides;
171 bool m_configurationOverridesHasBeenSet = false;
172
173 Aws::String m_clientToken;
174 bool m_clientTokenHasBeenSet = false;
175
177 bool m_tagsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace EMRContainers
182} // namespace Aws
CreateManagedEndpointRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateManagedEndpointRequest & WithConfigurationOverrides(ConfigurationOverrides &&value)
CreateManagedEndpointRequest & AddTags(const char *key, Aws::String &&value)
CreateManagedEndpointRequest & WithType(Aws::String &&value)
void SetConfigurationOverrides(const ConfigurationOverrides &value)
CreateManagedEndpointRequest & WithName(Aws::String &&value)
CreateManagedEndpointRequest & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateManagedEndpointRequest & WithVirtualClusterId(const Aws::String &value)
CreateManagedEndpointRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateManagedEndpointRequest & WithExecutionRoleArn(const Aws::String &value)
CreateManagedEndpointRequest & WithConfigurationOverrides(const ConfigurationOverrides &value)
CreateManagedEndpointRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateManagedEndpointRequest & WithName(const char *value)
CreateManagedEndpointRequest & WithExecutionRoleArn(Aws::String &&value)
CreateManagedEndpointRequest & WithClientToken(const char *value)
CreateManagedEndpointRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateManagedEndpointRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateManagedEndpointRequest & WithType(const char *value)
CreateManagedEndpointRequest & WithVirtualClusterId(const char *value)
CreateManagedEndpointRequest & WithClientToken(Aws::String &&value)
CreateManagedEndpointRequest & WithExecutionRoleArn(const char *value)
CreateManagedEndpointRequest & WithType(const Aws::String &value)
CreateManagedEndpointRequest & AddTags(const char *key, const char *value)
CreateManagedEndpointRequest & WithReleaseLabel(const Aws::String &value)
CreateManagedEndpointRequest & WithReleaseLabel(const char *value)
CreateManagedEndpointRequest & WithReleaseLabel(Aws::String &&value)
CreateManagedEndpointRequest & AddTags(Aws::String &&key, const char *value)
CreateManagedEndpointRequest & WithClientToken(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateManagedEndpointRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateManagedEndpointRequest & WithVirtualClusterId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String