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>
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>>
58 template<
typename AthenaPropertiesKeyT = Aws::String,
typename AthenaPropertiesValueT = Aws::String>
60 m_athenaPropertiesHasBeenSet =
true; m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value));
return *
this;
71 template<
typename AuthenticationConfigurationT = AuthenticationConfiguration>
72 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet =
true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
73 template<
typename AuthenticationConfigurationT = AuthenticationConfiguration>
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>>
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>>
101 template<
typename ConnectionPropertiesKeyT = Aws::String,
typename ConnectionPropertiesValueT = Aws::String>
103 m_connectionPropertiesHasBeenSet =
true; m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value));
return *
this;
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>
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>
157 template<
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
158 void SetLastConnectionValidationTime(LastConnectionValidationTimeT&& value) { m_lastConnectionValidationTimeHasBeenSet =
true; m_lastConnectionValidationTime = std::forward<LastConnectionValidationTimeT>(value); }
159 template<
typename LastConnectionVal
idationTimeT = Aws::Utils::DateTime>
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>
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>
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>>
198 template<
typename MatchCriteriaT = Aws::String>
199 GlueConnection&
AddMatchCriteria(MatchCriteriaT&& value) { m_matchCriteriaHasBeenSet =
true; m_matchCriteria.emplace_back(std::forward<MatchCriteriaT>(value));
return *
this; }
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>
221 template<
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
222 void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) { m_physicalConnectionRequirementsHasBeenSet =
true; m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value); }
223 template<
typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
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>>
237 template<
typename PythonPropertiesKeyT = Aws::String,
typename PythonPropertiesValueT = Aws::String>
239 m_pythonPropertiesHasBeenSet =
true; m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value));
return *
this;
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>>
253 template<
typename SparkPropertiesKeyT = Aws::String,
typename SparkPropertiesValueT = Aws::String>
255 m_sparkPropertiesHasBeenSet =
true; m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value));
return *
this;
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>
283 bool m_athenaPropertiesHasBeenSet =
false;
286 bool m_authenticationConfigurationHasBeenSet =
false;
289 bool m_compatibleComputeEnvironmentsHasBeenSet =
false;
292 bool m_connectionPropertiesHasBeenSet =
false;
294 int m_connectionSchemaVersion{0};
295 bool m_connectionSchemaVersionHasBeenSet =
false;
298 bool m_connectionTypeHasBeenSet =
false;
301 bool m_creationTimeHasBeenSet =
false;
304 bool m_descriptionHasBeenSet =
false;
307 bool m_lastConnectionValidationTimeHasBeenSet =
false;
310 bool m_lastUpdatedByHasBeenSet =
false;
313 bool m_lastUpdatedTimeHasBeenSet =
false;
316 bool m_matchCriteriaHasBeenSet =
false;
319 bool m_nameHasBeenSet =
false;
321 PhysicalConnectionRequirements m_physicalConnectionRequirements;
322 bool m_physicalConnectionRequirementsHasBeenSet =
false;
325 bool m_pythonPropertiesHasBeenSet =
false;
328 bool m_sparkPropertiesHasBeenSet =
false;
331 bool m_statusHasBeenSet =
false;
334 bool m_statusReasonHasBeenSet =
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