AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ComputeEnvironmentConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/AuthenticationType.h>
12#include <aws/glue/model/ComputeEnvironment.h>
13#include <aws/glue/model/Property.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
26
35 public:
36 AWS_GLUE_API ComputeEnvironmentConfiguration() = default;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) {
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76
78
81 inline ComputeEnvironment GetComputeEnvironment() const { return m_computeEnvironment; }
82 inline bool ComputeEnvironmentHasBeenSet() const { return m_computeEnvironmentHasBeenSet; }
84 m_computeEnvironmentHasBeenSet = true;
85 m_computeEnvironment = value;
86 }
89 return *this;
90 }
92
94
97 inline const Aws::Vector<AuthenticationType>& GetSupportedAuthenticationTypes() const { return m_supportedAuthenticationTypes; }
98 inline bool SupportedAuthenticationTypesHasBeenSet() const { return m_supportedAuthenticationTypesHasBeenSet; }
99 template <typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
100 void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) {
101 m_supportedAuthenticationTypesHasBeenSet = true;
102 m_supportedAuthenticationTypes = std::forward<SupportedAuthenticationTypesT>(value);
103 }
104 template <typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
106 SetSupportedAuthenticationTypes(std::forward<SupportedAuthenticationTypesT>(value));
107 return *this;
108 }
110 m_supportedAuthenticationTypesHasBeenSet = true;
111 m_supportedAuthenticationTypes.push_back(value);
112 return *this;
113 }
115
117
120 inline const Aws::Map<Aws::String, Property>& GetConnectionOptions() const { return m_connectionOptions; }
121 inline bool ConnectionOptionsHasBeenSet() const { return m_connectionOptionsHasBeenSet; }
122 template <typename ConnectionOptionsT = Aws::Map<Aws::String, Property>>
123 void SetConnectionOptions(ConnectionOptionsT&& value) {
124 m_connectionOptionsHasBeenSet = true;
125 m_connectionOptions = std::forward<ConnectionOptionsT>(value);
126 }
127 template <typename ConnectionOptionsT = Aws::Map<Aws::String, Property>>
129 SetConnectionOptions(std::forward<ConnectionOptionsT>(value));
130 return *this;
131 }
132 template <typename ConnectionOptionsKeyT = Aws::String, typename ConnectionOptionsValueT = Property>
133 ComputeEnvironmentConfiguration& AddConnectionOptions(ConnectionOptionsKeyT&& key, ConnectionOptionsValueT&& value) {
134 m_connectionOptionsHasBeenSet = true;
135 m_connectionOptions.emplace(std::forward<ConnectionOptionsKeyT>(key), std::forward<ConnectionOptionsValueT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionPropertyNameOverrides() const { return m_connectionPropertyNameOverrides; }
145 inline bool ConnectionPropertyNameOverridesHasBeenSet() const { return m_connectionPropertyNameOverridesHasBeenSet; }
146 template <typename ConnectionPropertyNameOverridesT = Aws::Map<Aws::String, Aws::String>>
147 void SetConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT&& value) {
148 m_connectionPropertyNameOverridesHasBeenSet = true;
149 m_connectionPropertyNameOverrides = std::forward<ConnectionPropertyNameOverridesT>(value);
150 }
151 template <typename ConnectionPropertyNameOverridesT = Aws::Map<Aws::String, Aws::String>>
152 ComputeEnvironmentConfiguration& WithConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT&& value) {
153 SetConnectionPropertyNameOverrides(std::forward<ConnectionPropertyNameOverridesT>(value));
154 return *this;
155 }
156 template <typename ConnectionPropertyNameOverridesKeyT = Aws::String, typename ConnectionPropertyNameOverridesValueT = Aws::String>
157 ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesKeyT&& key,
158 ConnectionPropertyNameOverridesValueT&& value) {
159 m_connectionPropertyNameOverridesHasBeenSet = true;
160 m_connectionPropertyNameOverrides.emplace(std::forward<ConnectionPropertyNameOverridesKeyT>(key),
161 std::forward<ConnectionPropertyNameOverridesValueT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionOptionNameOverrides() const { return m_connectionOptionNameOverrides; }
171 inline bool ConnectionOptionNameOverridesHasBeenSet() const { return m_connectionOptionNameOverridesHasBeenSet; }
172 template <typename ConnectionOptionNameOverridesT = Aws::Map<Aws::String, Aws::String>>
173 void SetConnectionOptionNameOverrides(ConnectionOptionNameOverridesT&& value) {
174 m_connectionOptionNameOverridesHasBeenSet = true;
175 m_connectionOptionNameOverrides = std::forward<ConnectionOptionNameOverridesT>(value);
176 }
177 template <typename ConnectionOptionNameOverridesT = Aws::Map<Aws::String, Aws::String>>
179 SetConnectionOptionNameOverrides(std::forward<ConnectionOptionNameOverridesT>(value));
180 return *this;
181 }
182 template <typename ConnectionOptionNameOverridesKeyT = Aws::String, typename ConnectionOptionNameOverridesValueT = Aws::String>
184 ConnectionOptionNameOverridesValueT&& value) {
185 m_connectionOptionNameOverridesHasBeenSet = true;
186 m_connectionOptionNameOverrides.emplace(std::forward<ConnectionOptionNameOverridesKeyT>(key),
187 std::forward<ConnectionOptionNameOverridesValueT>(value));
188 return *this;
189 }
191
193
198 return m_connectionPropertiesRequiredOverrides;
199 }
200 inline bool ConnectionPropertiesRequiredOverridesHasBeenSet() const { return m_connectionPropertiesRequiredOverridesHasBeenSet; }
201 template <typename ConnectionPropertiesRequiredOverridesT = Aws::Vector<Aws::String>>
202 void SetConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT&& value) {
203 m_connectionPropertiesRequiredOverridesHasBeenSet = true;
204 m_connectionPropertiesRequiredOverrides = std::forward<ConnectionPropertiesRequiredOverridesT>(value);
205 }
206 template <typename ConnectionPropertiesRequiredOverridesT = Aws::Vector<Aws::String>>
207 ComputeEnvironmentConfiguration& WithConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT&& value) {
208 SetConnectionPropertiesRequiredOverrides(std::forward<ConnectionPropertiesRequiredOverridesT>(value));
209 return *this;
210 }
211 template <typename ConnectionPropertiesRequiredOverridesT = Aws::String>
212 ComputeEnvironmentConfiguration& AddConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT&& value) {
213 m_connectionPropertiesRequiredOverridesHasBeenSet = true;
214 m_connectionPropertiesRequiredOverrides.emplace_back(std::forward<ConnectionPropertiesRequiredOverridesT>(value));
215 return *this;
216 }
218
220
224 inline bool GetPhysicalConnectionPropertiesRequired() const { return m_physicalConnectionPropertiesRequired; }
225 inline bool PhysicalConnectionPropertiesRequiredHasBeenSet() const { return m_physicalConnectionPropertiesRequiredHasBeenSet; }
227 m_physicalConnectionPropertiesRequiredHasBeenSet = true;
228 m_physicalConnectionPropertiesRequired = value;
229 }
232 return *this;
233 }
235 private:
236 Aws::String m_name;
237
238 Aws::String m_description;
239
241
242 Aws::Vector<AuthenticationType> m_supportedAuthenticationTypes;
243
244 Aws::Map<Aws::String, Property> m_connectionOptions;
245
246 Aws::Map<Aws::String, Aws::String> m_connectionPropertyNameOverrides;
247
248 Aws::Map<Aws::String, Aws::String> m_connectionOptionNameOverrides;
249
250 Aws::Vector<Aws::String> m_connectionPropertiesRequiredOverrides;
251
252 bool m_physicalConnectionPropertiesRequired{false};
253 bool m_nameHasBeenSet = false;
254 bool m_descriptionHasBeenSet = false;
255 bool m_computeEnvironmentHasBeenSet = false;
256 bool m_supportedAuthenticationTypesHasBeenSet = false;
257 bool m_connectionOptionsHasBeenSet = false;
258 bool m_connectionPropertyNameOverridesHasBeenSet = false;
259 bool m_connectionOptionNameOverridesHasBeenSet = false;
260 bool m_connectionPropertiesRequiredOverridesHasBeenSet = false;
261 bool m_physicalConnectionPropertiesRequiredHasBeenSet = false;
262};
263
264} // namespace Model
265} // namespace Glue
266} // namespace Aws
ComputeEnvironmentConfiguration & WithComputeEnvironment(ComputeEnvironment value)
const Aws::Vector< Aws::String > & GetConnectionPropertiesRequiredOverrides() const
const Aws::Map< Aws::String, Property > & GetConnectionOptions() const
ComputeEnvironmentConfiguration & AddConnectionOptionNameOverrides(ConnectionOptionNameOverridesKeyT &&key, ConnectionOptionNameOverridesValueT &&value)
ComputeEnvironmentConfiguration & AddConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT &&value)
const Aws::Vector< AuthenticationType > & GetSupportedAuthenticationTypes() const
AWS_GLUE_API ComputeEnvironmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ComputeEnvironmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
ComputeEnvironmentConfiguration & WithPhysicalConnectionPropertiesRequired(bool value)
ComputeEnvironmentConfiguration & WithDescription(DescriptionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeEnvironmentConfiguration & WithConnectionOptions(ConnectionOptionsT &&value)
ComputeEnvironmentConfiguration & AddConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesKeyT &&key, ConnectionPropertyNameOverridesValueT &&value)
ComputeEnvironmentConfiguration & WithName(NameT &&value)
ComputeEnvironmentConfiguration & AddConnectionOptions(ConnectionOptionsKeyT &&key, ConnectionOptionsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectionPropertyNameOverrides() const
void SetConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT &&value)
ComputeEnvironmentConfiguration & WithConnectionOptionNameOverrides(ConnectionOptionNameOverridesT &&value)
void SetConnectionOptionNameOverrides(ConnectionOptionNameOverridesT &&value)
ComputeEnvironmentConfiguration & WithConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT &&value)
void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT &&value)
ComputeEnvironmentConfiguration & WithSupportedAuthenticationTypes(SupportedAuthenticationTypesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectionOptionNameOverrides() const
ComputeEnvironmentConfiguration & AddSupportedAuthenticationTypes(AuthenticationType value)
ComputeEnvironmentConfiguration & WithConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT &&value)
void SetConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue