7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ConnectionType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/PhysicalConnectionRequirements.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/glue/model/ConnectionStatus.h>
15#include <aws/glue/model/AuthenticationConfiguration.h>
16#include <aws/glue/model/ConnectionPropertyKey.h>
17#include <aws/glue/model/ComputeEnvironment.h>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
89 template<
typename MatchCriteriaT = Aws::Vector<Aws::String>>
90 void SetMatchCriteria(MatchCriteriaT&& value) { m_matchCriteriaHasBeenSet =
true; m_matchCriteria = std::forward<MatchCriteriaT>(value); }
91 template<
typename MatchCriteriaT = Aws::Vector<Aws::String>>
93 template<
typename MatchCriteriaT = Aws::String>
94 Connection&
AddMatchCriteria(MatchCriteriaT&& value) { m_matchCriteriaHasBeenSet =
true; m_matchCriteria.emplace_back(std::forward<MatchCriteriaT>(value));
return *
this; }
216 template<
typename ConnectionPropertiesT = Aws::Map<ConnectionPropertyKey, Aws::String>>
217 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet =
true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
218 template<
typename ConnectionPropertiesT = Aws::Map<ConnectionPropertyKey, Aws::String>>
221 m_connectionPropertiesHasBeenSet =
true; m_connectionProperties.emplace(key, value);
return *
this;
231 template<
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
232 void SetSparkProperties(SparkPropertiesT&& value) { m_sparkPropertiesHasBeenSet =
true; m_sparkProperties = std::forward<SparkPropertiesT>(value); }
233 template<
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
235 template<
typename SparkPropertiesKeyT = Aws::String,
typename SparkPropertiesValueT = Aws::String>
237 m_sparkPropertiesHasBeenSet =
true; m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value));
return *
this;
247 template<
typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
248 void SetAthenaProperties(AthenaPropertiesT&& value) { m_athenaPropertiesHasBeenSet =
true; m_athenaProperties = std::forward<AthenaPropertiesT>(value); }
249 template<
typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
251 template<
typename AthenaPropertiesKeyT = Aws::String,
typename AthenaPropertiesValueT = Aws::String>
253 m_athenaPropertiesHasBeenSet =
true; m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value));
return *
this;
263 template<
typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
264 void SetPythonProperties(PythonPropertiesT&& value) { m_pythonPropertiesHasBeenSet =
true; m_pythonProperties = std::forward<PythonPropertiesT>(value); }
265 template<
typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
267 template<
typename PythonPropertiesKeyT = Aws::String,
typename PythonPropertiesValueT = Aws::String>
269 m_pythonPropertiesHasBeenSet =
true; m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value));
return *
this;
281 template<
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
282 void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) { m_physicalConnectionRequirementsHasBeenSet =
true; m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value); }
283 template<
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
293 template<
typename CreationTimeT = Aws::Utils::DateTime>
294 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
295 template<
typename CreationTimeT = Aws::Utils::DateTime>
305 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
306 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
307 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
317 template<
typename LastUpdatedByT = Aws::String>
318 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
319 template<
typename LastUpdatedByT = Aws::String>
340 template<
typename StatusReasonT = Aws::String>
341 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
342 template<
typename StatusReasonT = Aws::String>
352 template<
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
353 void SetLastConnectionValidationTime(LastConnectionValidationTimeT&& value) { m_lastConnectionValidationTimeHasBeenSet =
true; m_lastConnectionValidationTime = std::forward<LastConnectionValidationTimeT>(value); }
354 template<
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
364 template<
typename AuthenticationConfigurationT = AuthenticationConfiguration>
365 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet =
true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
366 template<
typename AuthenticationConfigurationT = AuthenticationConfiguration>
387 template<
typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
388 void SetCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT&& value) { m_compatibleComputeEnvironmentsHasBeenSet =
true; m_compatibleComputeEnvironments = std::forward<CompatibleComputeEnvironmentsT>(value); }
389 template<
typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
396 bool m_nameHasBeenSet =
false;
399 bool m_descriptionHasBeenSet =
false;
402 bool m_connectionTypeHasBeenSet =
false;
405 bool m_matchCriteriaHasBeenSet =
false;
408 bool m_connectionPropertiesHasBeenSet =
false;
411 bool m_sparkPropertiesHasBeenSet =
false;
414 bool m_athenaPropertiesHasBeenSet =
false;
417 bool m_pythonPropertiesHasBeenSet =
false;
419 PhysicalConnectionRequirements m_physicalConnectionRequirements;
420 bool m_physicalConnectionRequirementsHasBeenSet =
false;
423 bool m_creationTimeHasBeenSet =
false;
426 bool m_lastUpdatedTimeHasBeenSet =
false;
429 bool m_lastUpdatedByHasBeenSet =
false;
432 bool m_statusHasBeenSet =
false;
435 bool m_statusReasonHasBeenSet =
false;
438 bool m_lastConnectionValidationTimeHasBeenSet =
false;
440 AuthenticationConfiguration m_authenticationConfiguration;
441 bool m_authenticationConfigurationHasBeenSet =
false;
443 int m_connectionSchemaVersion{0};
444 bool m_connectionSchemaVersionHasBeenSet =
false;
447 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