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/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/AuthenticationConfiguration.h>
13#include <aws/datazone/model/ComputeEnvironments.h>
14#include <aws/datazone/model/ConnectionStatus.h>
15#include <aws/datazone/model/ConnectionType.h>
16#include <aws/datazone/model/PhysicalConnectionRequirements.h>
48 template <
typename NameT = Aws::String>
50 m_nameHasBeenSet =
true;
51 m_name = std::forward<NameT>(value);
53 template <
typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
66 template <
typename DescriptionT = Aws::String>
68 m_descriptionHasBeenSet =
true;
69 m_description = std::forward<DescriptionT>(value);
71 template <
typename DescriptionT = Aws::String>
85 m_connectionTypeHasBeenSet =
true;
86 m_connectionType = value;
100 template <
typename MatchCriteriaT = Aws::Vector<Aws::String>>
102 m_matchCriteriaHasBeenSet =
true;
103 m_matchCriteria = std::forward<MatchCriteriaT>(value);
105 template <
typename MatchCriteriaT = Aws::Vector<Aws::String>>
110 template <
typename MatchCriteriaT = Aws::String>
112 m_matchCriteriaHasBeenSet =
true;
113 m_matchCriteria.emplace_back(std::forward<MatchCriteriaT>(value));
124 template <
typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
126 m_connectionPropertiesHasBeenSet =
true;
127 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
129 template <
typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
134 template <
typename ConnectionPropertiesKeyT = Aws::String,
typename ConnectionPropertiesValueT = Aws::String>
136 m_connectionPropertiesHasBeenSet =
true;
137 m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value));
148 template <
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
150 m_sparkPropertiesHasBeenSet =
true;
151 m_sparkProperties = std::forward<SparkPropertiesT>(value);
153 template <
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
158 template <
typename SparkPropertiesKeyT = Aws::String,
typename SparkPropertiesValueT = Aws::String>
160 m_sparkPropertiesHasBeenSet =
true;
161 m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value));
172 template <
typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
174 m_athenaPropertiesHasBeenSet =
true;
175 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
177 template <
typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
182 template <
typename AthenaPropertiesKeyT = Aws::String,
typename AthenaPropertiesValueT = Aws::String>
184 m_athenaPropertiesHasBeenSet =
true;
185 m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value));
196 template <
typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
198 m_pythonPropertiesHasBeenSet =
true;
199 m_pythonProperties = std::forward<PythonPropertiesT>(value);
201 template <
typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
206 template <
typename PythonPropertiesKeyT = Aws::String,
typename PythonPropertiesValueT = Aws::String>
208 m_pythonPropertiesHasBeenSet =
true;
209 m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value));
221 template <
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
223 m_physicalConnectionRequirementsHasBeenSet =
true;
224 m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value);
226 template <
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
239 template <
typename CreationTimeT = Aws::Utils::DateTime>
241 m_creationTimeHasBeenSet =
true;
242 m_creationTime = std::forward<CreationTimeT>(value);
244 template <
typename CreationTimeT = Aws::Utils::DateTime>
258 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
260 m_lastUpdatedTimeHasBeenSet =
true;
261 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
263 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
276 template <
typename LastUpdatedByT = Aws::String>
278 m_lastUpdatedByHasBeenSet =
true;
279 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
281 template <
typename LastUpdatedByT = Aws::String>
295 m_statusHasBeenSet =
true;
310 template <
typename StatusReasonT = Aws::String>
312 m_statusReasonHasBeenSet =
true;
313 m_statusReason = std::forward<StatusReasonT>(value);
315 template <
typename StatusReasonT = Aws::String>
328 template <
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
330 m_lastConnectionValidationTimeHasBeenSet =
true;
331 m_lastConnectionValidationTime = std::forward<LastConnectionValidationTimeT>(value);
333 template <
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
347 template <
typename AuthenticationConfigurationT = AuthenticationConfiguration>
349 m_authenticationConfigurationHasBeenSet =
true;
350 m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value);
352 template <
typename AuthenticationConfigurationT = AuthenticationConfiguration>
366 m_connectionSchemaVersionHasBeenSet =
true;
367 m_connectionSchemaVersion = value;
382 template <
typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
384 m_compatibleComputeEnvironmentsHasBeenSet =
true;
385 m_compatibleComputeEnvironments = std::forward<CompatibleComputeEnvironmentsT>(value);
387 template <
typename CompatibleComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
393 m_compatibleComputeEnvironmentsHasBeenSet =
true;
394 m_compatibleComputeEnvironments.push_back(value);
415 PhysicalConnectionRequirements m_physicalConnectionRequirements;
429 AuthenticationConfiguration m_authenticationConfiguration;
431 int m_connectionSchemaVersion{0};
434 bool m_nameHasBeenSet =
false;
435 bool m_descriptionHasBeenSet =
false;
436 bool m_connectionTypeHasBeenSet =
false;
437 bool m_matchCriteriaHasBeenSet =
false;
438 bool m_connectionPropertiesHasBeenSet =
false;
439 bool m_sparkPropertiesHasBeenSet =
false;
440 bool m_athenaPropertiesHasBeenSet =
false;
441 bool m_pythonPropertiesHasBeenSet =
false;
442 bool m_physicalConnectionRequirementsHasBeenSet =
false;
443 bool m_creationTimeHasBeenSet =
false;
444 bool m_lastUpdatedTimeHasBeenSet =
false;
445 bool m_lastUpdatedByHasBeenSet =
false;
446 bool m_statusHasBeenSet =
false;
447 bool m_statusReasonHasBeenSet =
false;
448 bool m_lastConnectionValidationTimeHasBeenSet =
false;
449 bool m_authenticationConfigurationHasBeenSet =
false;
450 bool m_connectionSchemaVersionHasBeenSet =
false;
451 bool m_compatibleComputeEnvironmentsHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetPythonProperties(PythonPropertiesT &&value)
bool PhysicalConnectionRequirementsHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Vector< ComputeEnvironments > & GetCompatibleComputeEnvironments() const
ConnectionType GetConnectionType() const
void SetStatus(ConnectionStatus value)
bool AuthenticationConfigurationHasBeenSet() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectionProperties(ConnectionPropertiesT &&value)
bool StatusHasBeenSet() const
GlueConnection & WithCreationTime(CreationTimeT &&value)
GlueConnection & WithStatusReason(StatusReasonT &&value)
GlueConnection & WithDescription(DescriptionT &&value)
GlueConnection & WithLastConnectionValidationTime(LastConnectionValidationTimeT &&value)
GlueConnection & WithConnectionProperties(ConnectionPropertiesT &&value)
GlueConnection & WithConnectionType(ConnectionType value)
bool CompatibleComputeEnvironmentsHasBeenSet() const
GlueConnection & WithStatus(ConnectionStatus value)
void SetCreationTime(CreationTimeT &&value)
GlueConnection & WithName(NameT &&value)
bool MatchCriteriaHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
void SetMatchCriteria(MatchCriteriaT &&value)
const Aws::Vector< Aws::String > & GetMatchCriteria() const
void SetConnectionType(ConnectionType value)
const Aws::Utils::DateTime & GetCreationTime() const
bool PythonPropertiesHasBeenSet() 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)
bool ConnectionPropertiesHasBeenSet() const
bool ConnectionSchemaVersionHasBeenSet() const
bool LastConnectionValidationTimeHasBeenSet() const
GlueConnection & WithSparkProperties(SparkPropertiesT &&value)
bool LastUpdatedByHasBeenSet() const
GlueConnection & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_DATAZONE_API GlueConnection()=default
bool NameHasBeenSet() const
void SetLastUpdatedBy(LastUpdatedByT &&value)
GlueConnection & WithPythonProperties(PythonPropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
void SetName(NameT &&value)
GlueConnection & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT &&value)
bool AthenaPropertiesHasBeenSet() const
GlueConnection & AddPythonProperties(PythonPropertiesKeyT &&key, PythonPropertiesValueT &&value)
bool LastUpdatedTimeHasBeenSet() const
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
AWS_DATAZONE_API GlueConnection(Aws::Utils::Json::JsonView jsonValue)
GlueConnection & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
int GetConnectionSchemaVersion() const
const Aws::Map< Aws::String, Aws::String > & GetConnectionProperties() const
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
void SetLastConnectionValidationTime(LastConnectionValidationTimeT &&value)
GlueConnection & AddMatchCriteria(MatchCriteriaT &&value)
bool CreationTimeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetSparkProperties() const
bool SparkPropertiesHasBeenSet() 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
void SetConnectionSchemaVersion(int value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GlueConnection & WithCompatibleComputeEnvironments(CompatibleComputeEnvironmentsT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
GlueConnection & WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
bool StatusReasonHasBeenSet() const
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