7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/AuthenticationConfiguration.h>
13#include <aws/glue/model/ComputeEnvironment.h>
14#include <aws/glue/model/ConnectionPropertyKey.h>
15#include <aws/glue/model/ConnectionStatus.h>
16#include <aws/glue/model/ConnectionType.h>
17#include <aws/glue/model/PhysicalConnectionRequirements.h>
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
67 template <
typename DescriptionT = Aws::String>
69 m_descriptionHasBeenSet =
true;
70 m_description = std::forward<DescriptionT>(value);
72 template <
typename DescriptionT = Aws::String>
86 m_connectionTypeHasBeenSet =
true;
87 m_connectionType = value;
101 template <
typename MatchCriteriaT = Aws::Vector<Aws::String>>
103 m_matchCriteriaHasBeenSet =
true;
104 m_matchCriteria = std::forward<MatchCriteriaT>(value);
106 template <
typename MatchCriteriaT = Aws::Vector<Aws::String>>
111 template <
typename MatchCriteriaT = Aws::String>
113 m_matchCriteriaHasBeenSet =
true;
114 m_matchCriteria.emplace_back(std::forward<MatchCriteriaT>(value));
238 template <
typename ConnectionPropertiesT = Aws::Map<ConnectionPropertyKey, Aws::String>>
240 m_connectionPropertiesHasBeenSet =
true;
241 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
243 template <
typename ConnectionPropertiesT = Aws::Map<ConnectionPropertyKey, Aws::String>>
249 m_connectionPropertiesHasBeenSet =
true;
250 m_connectionProperties.emplace(key, value);
261 template <
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
263 m_sparkPropertiesHasBeenSet =
true;
264 m_sparkProperties = std::forward<SparkPropertiesT>(value);
266 template <
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
271 template <
typename SparkPropertiesKeyT = Aws::String,
typename SparkPropertiesValueT = Aws::String>
273 m_sparkPropertiesHasBeenSet =
true;
274 m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value));
285 template <
typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
287 m_athenaPropertiesHasBeenSet =
true;
288 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
290 template <
typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
295 template <
typename AthenaPropertiesKeyT = Aws::String,
typename AthenaPropertiesValueT = Aws::String>
297 m_athenaPropertiesHasBeenSet =
true;
298 m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value));
309 template <
typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
311 m_pythonPropertiesHasBeenSet =
true;
312 m_pythonProperties = std::forward<PythonPropertiesT>(value);
314 template <
typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
319 template <
typename PythonPropertiesKeyT = Aws::String,
typename PythonPropertiesValueT = Aws::String>
321 m_pythonPropertiesHasBeenSet =
true;
322 m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value));
335 template <
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
337 m_physicalConnectionRequirementsHasBeenSet =
true;
338 m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value);
340 template <
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
353 template <
typename CreationTimeT = Aws::Utils::DateTime>
355 m_creationTimeHasBeenSet =
true;
356 m_creationTime = std::forward<CreationTimeT>(value);
358 template <
typename CreationTimeT = Aws::Utils::DateTime>
371 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
373 m_lastUpdatedTimeHasBeenSet =
true;
374 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
376 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
389 template <
typename LastUpdatedByT = Aws::String>
391 m_lastUpdatedByHasBeenSet =
true;
392 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
394 template <
typename LastUpdatedByT = Aws::String>
409 m_statusHasBeenSet =
true;
424 template <
typename StatusReasonT = Aws::String>
426 m_statusReasonHasBeenSet =
true;
427 m_statusReason = std::forward<StatusReasonT>(value);
429 template <
typename StatusReasonT = Aws::String>
442 template <
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
444 m_lastConnectionValidationTimeHasBeenSet =
true;
445 m_lastConnectionValidationTime = std::forward<LastConnectionValidationTimeT>(value);
447 template <
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
460 template <
typename AuthenticationConfigurationT = AuthenticationConfiguration>
462 m_authenticationConfigurationHasBeenSet =
true;
463 m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value);
465 template <
typename AuthenticationConfigurationT = AuthenticationConfiguration>
480 m_connectionSchemaVersionHasBeenSet =
true;
481 m_connectionSchemaVersion = value;
495 template <
typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
497 m_compatibleComputeEnvironmentsHasBeenSet =
true;
498 m_compatibleComputeEnvironments = std::forward<CompatibleComputeEnvironmentsT>(value);
500 template <
typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
506 m_compatibleComputeEnvironmentsHasBeenSet =
true;
507 m_compatibleComputeEnvironments.push_back(value);
528 PhysicalConnectionRequirements m_physicalConnectionRequirements;
542 AuthenticationConfiguration m_authenticationConfiguration;
544 int m_connectionSchemaVersion{0};
547 bool m_nameHasBeenSet =
false;
548 bool m_descriptionHasBeenSet =
false;
549 bool m_connectionTypeHasBeenSet =
false;
550 bool m_matchCriteriaHasBeenSet =
false;
551 bool m_connectionPropertiesHasBeenSet =
false;
552 bool m_sparkPropertiesHasBeenSet =
false;
553 bool m_athenaPropertiesHasBeenSet =
false;
554 bool m_pythonPropertiesHasBeenSet =
false;
555 bool m_physicalConnectionRequirementsHasBeenSet =
false;
556 bool m_creationTimeHasBeenSet =
false;
557 bool m_lastUpdatedTimeHasBeenSet =
false;
558 bool m_lastUpdatedByHasBeenSet =
false;
559 bool m_statusHasBeenSet =
false;
560 bool m_statusReasonHasBeenSet =
false;
561 bool m_lastConnectionValidationTimeHasBeenSet =
false;
562 bool m_authenticationConfigurationHasBeenSet =
false;
563 bool m_connectionSchemaVersionHasBeenSet =
false;
564 bool m_compatibleComputeEnvironmentsHasBeenSet =
false;
Connection & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetCreationTime(CreationTimeT &&value)
Connection & AddAthenaProperties(AthenaPropertiesKeyT &&key, AthenaPropertiesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSparkProperties() const
void SetPythonProperties(PythonPropertiesT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
Connection & AddCompatibleComputeEnvironments(ComputeEnvironment value)
Connection & WithCreationTime(CreationTimeT &&value)
bool ConnectionSchemaVersionHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
bool LastConnectionValidationTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetMatchCriteria() const
bool DescriptionHasBeenSet() const
Connection & WithName(NameT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Connection & WithStatusReason(StatusReasonT &&value)
Connection & WithStatus(ConnectionStatus value)
bool LastUpdatedTimeHasBeenSet() const
const Aws::String & GetLastUpdatedBy() const
bool AthenaPropertiesHasBeenSet() const
Connection & WithConnectionProperties(ConnectionPropertiesT &&value)
AWS_GLUE_API Connection()=default
const Aws::String & GetStatusReason() const
void SetSparkProperties(SparkPropertiesT &&value)
const Aws::Map< ConnectionPropertyKey, Aws::String > & GetConnectionProperties() const
bool StatusReasonHasBeenSet() const
bool SparkPropertiesHasBeenSet() const
void SetConnectionSchemaVersion(int value)
void SetStatus(ConnectionStatus value)
AWS_GLUE_API Connection(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
void SetLastConnectionValidationTime(LastConnectionValidationTimeT &&value)
bool LastUpdatedByHasBeenSet() const
bool ConnectionPropertiesHasBeenSet() const
void SetConnectionProperties(ConnectionPropertiesT &&value)
AWS_GLUE_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & AddMatchCriteria(MatchCriteriaT &&value)
bool CompatibleComputeEnvironmentsHasBeenSet() const
Connection & WithSparkProperties(SparkPropertiesT &&value)
const Aws::Vector< ComputeEnvironment > & GetCompatibleComputeEnvironments() const
void SetMatchCriteria(MatchCriteriaT &&value)
void SetAthenaProperties(AthenaPropertiesT &&value)
Connection & WithConnectionSchemaVersion(int value)
Connection & WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
bool MatchCriteriaHasBeenSet() const
Connection & WithCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT &&value)
Connection & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
bool CreationTimeHasBeenSet() const
int GetConnectionSchemaVersion() const
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetPythonProperties() const
void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
bool StatusHasBeenSet() const
Connection & AddConnectionProperties(ConnectionPropertyKey key, Aws::String value)
Connection & WithConnectionType(ConnectionType value)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
bool PythonPropertiesHasBeenSet() const
Connection & WithMatchCriteria(MatchCriteriaT &&value)
void SetCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT &&value)
const Aws::String & GetDescription() const
Connection & WithAthenaProperties(AthenaPropertiesT &&value)
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
const Aws::Utils::DateTime & GetLastConnectionValidationTime() const
Connection & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
Connection & WithPythonProperties(PythonPropertiesT &&value)
bool AuthenticationConfigurationHasBeenSet() const
bool PhysicalConnectionRequirementsHasBeenSet() const
void SetConnectionType(ConnectionType value)
ConnectionType GetConnectionType() const
ConnectionStatus GetStatus() const
Connection & WithLastConnectionValidationTime(LastConnectionValidationTimeT &&value)
Connection & AddSparkProperties(SparkPropertiesKeyT &&key, SparkPropertiesValueT &&value)
Connection & AddPythonProperties(PythonPropertiesKeyT &&key, PythonPropertiesValueT &&value)
void SetStatusReason(StatusReasonT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&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