AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GlueConnection.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/datazone/model/AuthenticationConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/ConnectionType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/datazone/model/PhysicalConnectionRequirements.h>
15#include <aws/datazone/model/ConnectionStatus.h>
16#include <aws/datazone/model/ComputeEnvironments.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace DataZone
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_DATAZONE_API GlueConnection() = default;
43 AWS_DATAZONE_API GlueConnection(Aws::Utils::Json::JsonView jsonValue);
45 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::Map<Aws::String, Aws::String>& GetAthenaProperties() const { return m_athenaProperties; }
53 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
54 template<typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
55 void SetAthenaProperties(AthenaPropertiesT&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::forward<AthenaPropertiesT>(value); }
56 template<typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
57 GlueConnection& WithAthenaProperties(AthenaPropertiesT&& value) { SetAthenaProperties(std::forward<AthenaPropertiesT>(value)); return *this;}
58 template<typename AthenaPropertiesKeyT = Aws::String, typename AthenaPropertiesValueT = Aws::String>
59 GlueConnection& AddAthenaProperties(AthenaPropertiesKeyT&& key, AthenaPropertiesValueT&& value) {
60 m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value)); return *this;
61 }
63
65
69 inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
70 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
71 template<typename AuthenticationConfigurationT = AuthenticationConfiguration>
72 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
73 template<typename AuthenticationConfigurationT = AuthenticationConfiguration>
74 GlueConnection& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
76
78
82 inline const Aws::Vector<ComputeEnvironments>& GetCompatibleComputeEnvironments() const { return m_compatibleComputeEnvironments; }
83 inline bool CompatibleComputeEnvironmentsHasBeenSet() const { return m_compatibleComputeEnvironmentsHasBeenSet; }
84 template<typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
85 void SetCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT&& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments = std::forward<CompatibleComputeEnvironmentsT>(value); }
86 template<typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
87 GlueConnection& WithCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT&& value) { SetCompatibleComputeEnvironments(std::forward<CompatibleComputeEnvironmentsT>(value)); return *this;}
88 inline GlueConnection& AddCompatibleComputeEnvironments(ComputeEnvironments value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments.push_back(value); return *this; }
90
92
95 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionProperties() const { return m_connectionProperties; }
96 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
97 template<typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
98 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
99 template<typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
100 GlueConnection& WithConnectionProperties(ConnectionPropertiesT&& value) { SetConnectionProperties(std::forward<ConnectionPropertiesT>(value)); return *this;}
101 template<typename ConnectionPropertiesKeyT = Aws::String, typename ConnectionPropertiesValueT = Aws::String>
102 GlueConnection& AddConnectionProperties(ConnectionPropertiesKeyT&& key, ConnectionPropertiesValueT&& value) {
103 m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value)); return *this;
104 }
106
108
111 inline int GetConnectionSchemaVersion() const { return m_connectionSchemaVersion; }
112 inline bool ConnectionSchemaVersionHasBeenSet() const { return m_connectionSchemaVersionHasBeenSet; }
113 inline void SetConnectionSchemaVersion(int value) { m_connectionSchemaVersionHasBeenSet = true; m_connectionSchemaVersion = value; }
116
118
121 inline ConnectionType GetConnectionType() const { return m_connectionType; }
122 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
123 inline void SetConnectionType(ConnectionType value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
132 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
133 template<typename CreationTimeT = Aws::Utils::DateTime>
134 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
135 template<typename CreationTimeT = Aws::Utils::DateTime>
136 GlueConnection& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
138
140
143 inline const Aws::String& GetDescription() const { return m_description; }
144 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
145 template<typename DescriptionT = Aws::String>
146 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
147 template<typename DescriptionT = Aws::String>
148 GlueConnection& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetLastConnectionValidationTime() const { return m_lastConnectionValidationTime; }
156 inline bool LastConnectionValidationTimeHasBeenSet() const { return m_lastConnectionValidationTimeHasBeenSet; }
157 template<typename LastConnectionValidationTimeT = Aws::Utils::DateTime>
158 void SetLastConnectionValidationTime(LastConnectionValidationTimeT&& value) { m_lastConnectionValidationTimeHasBeenSet = true; m_lastConnectionValidationTime = std::forward<LastConnectionValidationTimeT>(value); }
159 template<typename LastConnectionValidationTimeT = Aws::Utils::DateTime>
160 GlueConnection& WithLastConnectionValidationTime(LastConnectionValidationTimeT&& value) { SetLastConnectionValidationTime(std::forward<LastConnectionValidationTimeT>(value)); return *this;}
162
164
167 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
168 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
169 template<typename LastUpdatedByT = Aws::String>
170 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
171 template<typename LastUpdatedByT = Aws::String>
172 GlueConnection& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
174
176
180 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
181 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
182 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
183 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
184 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
185 GlueConnection& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
187
189
192 inline const Aws::Vector<Aws::String>& GetMatchCriteria() const { return m_matchCriteria; }
193 inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; }
194 template<typename MatchCriteriaT = Aws::Vector<Aws::String>>
195 void SetMatchCriteria(MatchCriteriaT&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::forward<MatchCriteriaT>(value); }
196 template<typename MatchCriteriaT = Aws::Vector<Aws::String>>
197 GlueConnection& WithMatchCriteria(MatchCriteriaT&& value) { SetMatchCriteria(std::forward<MatchCriteriaT>(value)); return *this;}
198 template<typename MatchCriteriaT = Aws::String>
199 GlueConnection& AddMatchCriteria(MatchCriteriaT&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.emplace_back(std::forward<MatchCriteriaT>(value)); return *this; }
201
203
206 inline const Aws::String& GetName() const { return m_name; }
207 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
208 template<typename NameT = Aws::String>
209 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
210 template<typename NameT = Aws::String>
211 GlueConnection& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
213
215
219 inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const { return m_physicalConnectionRequirements; }
220 inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; }
221 template<typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
222 void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value); }
223 template<typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
224 GlueConnection& WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) { SetPhysicalConnectionRequirements(std::forward<PhysicalConnectionRequirementsT>(value)); return *this;}
226
228
231 inline const Aws::Map<Aws::String, Aws::String>& GetPythonProperties() const { return m_pythonProperties; }
232 inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; }
233 template<typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
234 void SetPythonProperties(PythonPropertiesT&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = std::forward<PythonPropertiesT>(value); }
235 template<typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
236 GlueConnection& WithPythonProperties(PythonPropertiesT&& value) { SetPythonProperties(std::forward<PythonPropertiesT>(value)); return *this;}
237 template<typename PythonPropertiesKeyT = Aws::String, typename PythonPropertiesValueT = Aws::String>
238 GlueConnection& AddPythonProperties(PythonPropertiesKeyT&& key, PythonPropertiesValueT&& value) {
239 m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value)); return *this;
240 }
242
244
247 inline const Aws::Map<Aws::String, Aws::String>& GetSparkProperties() const { return m_sparkProperties; }
248 inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; }
249 template<typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
250 void SetSparkProperties(SparkPropertiesT&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = std::forward<SparkPropertiesT>(value); }
251 template<typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
252 GlueConnection& WithSparkProperties(SparkPropertiesT&& value) { SetSparkProperties(std::forward<SparkPropertiesT>(value)); return *this;}
253 template<typename SparkPropertiesKeyT = Aws::String, typename SparkPropertiesValueT = Aws::String>
254 GlueConnection& AddSparkProperties(SparkPropertiesKeyT&& key, SparkPropertiesValueT&& value) {
255 m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value)); return *this;
256 }
258
260
263 inline ConnectionStatus GetStatus() const { return m_status; }
264 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
265 inline void SetStatus(ConnectionStatus value) { m_statusHasBeenSet = true; m_status = value; }
266 inline GlueConnection& WithStatus(ConnectionStatus value) { SetStatus(value); return *this;}
268
270
273 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
274 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
275 template<typename StatusReasonT = Aws::String>
276 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
277 template<typename StatusReasonT = Aws::String>
278 GlueConnection& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
280 private:
281
282 Aws::Map<Aws::String, Aws::String> m_athenaProperties;
283 bool m_athenaPropertiesHasBeenSet = false;
284
285 AuthenticationConfiguration m_authenticationConfiguration;
286 bool m_authenticationConfigurationHasBeenSet = false;
287
288 Aws::Vector<ComputeEnvironments> m_compatibleComputeEnvironments;
289 bool m_compatibleComputeEnvironmentsHasBeenSet = false;
290
291 Aws::Map<Aws::String, Aws::String> m_connectionProperties;
292 bool m_connectionPropertiesHasBeenSet = false;
293
294 int m_connectionSchemaVersion{0};
295 bool m_connectionSchemaVersionHasBeenSet = false;
296
297 ConnectionType m_connectionType{ConnectionType::NOT_SET};
298 bool m_connectionTypeHasBeenSet = false;
299
300 Aws::Utils::DateTime m_creationTime{};
301 bool m_creationTimeHasBeenSet = false;
302
303 Aws::String m_description;
304 bool m_descriptionHasBeenSet = false;
305
306 Aws::Utils::DateTime m_lastConnectionValidationTime{};
307 bool m_lastConnectionValidationTimeHasBeenSet = false;
308
309 Aws::String m_lastUpdatedBy;
310 bool m_lastUpdatedByHasBeenSet = false;
311
312 Aws::Utils::DateTime m_lastUpdatedTime{};
313 bool m_lastUpdatedTimeHasBeenSet = false;
314
315 Aws::Vector<Aws::String> m_matchCriteria;
316 bool m_matchCriteriaHasBeenSet = false;
317
318 Aws::String m_name;
319 bool m_nameHasBeenSet = false;
320
321 PhysicalConnectionRequirements m_physicalConnectionRequirements;
322 bool m_physicalConnectionRequirementsHasBeenSet = false;
323
324 Aws::Map<Aws::String, Aws::String> m_pythonProperties;
325 bool m_pythonPropertiesHasBeenSet = false;
326
327 Aws::Map<Aws::String, Aws::String> m_sparkProperties;
328 bool m_sparkPropertiesHasBeenSet = false;
329
331 bool m_statusHasBeenSet = false;
332
333 Aws::String m_statusReason;
334 bool m_statusReasonHasBeenSet = false;
335 };
336
337} // namespace Model
338} // namespace DataZone
339} // namespace Aws
const Aws::String & GetDescription() const
void SetPythonProperties(PythonPropertiesT &&value)
const Aws::Vector< ComputeEnvironments > & GetCompatibleComputeEnvironments() const
ConnectionType GetConnectionType() const
void SetStatus(ConnectionStatus value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectionProperties(ConnectionPropertiesT &&value)
GlueConnection & WithCreationTime(CreationTimeT &&value)
GlueConnection & WithStatusReason(StatusReasonT &&value)
GlueConnection & WithDescription(DescriptionT &&value)
GlueConnection & WithLastConnectionValidationTime(LastConnectionValidationTimeT &&value)
GlueConnection & WithConnectionProperties(ConnectionPropertiesT &&value)
GlueConnection & WithConnectionType(ConnectionType value)
GlueConnection & WithStatus(ConnectionStatus value)
void SetCreationTime(CreationTimeT &&value)
GlueConnection & WithName(NameT &&value)
void SetMatchCriteria(MatchCriteriaT &&value)
const Aws::Vector< Aws::String > & GetMatchCriteria() const
void SetConnectionType(ConnectionType value)
const Aws::Utils::DateTime & GetCreationTime() const
GlueConnection & AddConnectionProperties(ConnectionPropertiesKeyT &&key, ConnectionPropertiesValueT &&value)
GlueConnection & AddAthenaProperties(AthenaPropertiesKeyT &&key, AthenaPropertiesValueT &&value)
const Aws::String & GetStatusReason() const
GlueConnection & AddCompatibleComputeEnvironments(ComputeEnvironments value)
const Aws::Map< Aws::String, Aws::String > & GetPythonProperties() const
GlueConnection & WithConnectionSchemaVersion(int value)
GlueConnection & WithMatchCriteria(MatchCriteriaT &&value)
const Aws::String & GetLastUpdatedBy() const
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastConnectionValidationTime() const
void SetStatusReason(StatusReasonT &&value)
ConnectionStatus GetStatus() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
GlueConnection & AddSparkProperties(SparkPropertiesKeyT &&key, SparkPropertiesValueT &&value)
void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
GlueConnection & WithSparkProperties(SparkPropertiesT &&value)
GlueConnection & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_DATAZONE_API GlueConnection()=default
void SetLastUpdatedBy(LastUpdatedByT &&value)
GlueConnection & WithPythonProperties(PythonPropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
GlueConnection & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT &&value)
GlueConnection & AddPythonProperties(PythonPropertiesKeyT &&key, PythonPropertiesValueT &&value)
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
AWS_DATAZONE_API GlueConnection(Aws::Utils::Json::JsonView jsonValue)
GlueConnection & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectionProperties() const
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
void SetLastConnectionValidationTime(LastConnectionValidationTimeT &&value)
GlueConnection & AddMatchCriteria(MatchCriteriaT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSparkProperties() const
AWS_DATAZONE_API GlueConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSparkProperties(SparkPropertiesT &&value)
void SetAthenaProperties(AthenaPropertiesT &&value)
GlueConnection & WithAthenaProperties(AthenaPropertiesT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GlueConnection & WithCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
GlueConnection & WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&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