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>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
249 inline Connection&
AddAthenaProperties(
const char* key,
const char* value) { m_athenaPropertiesHasBeenSet =
true; m_athenaProperties.emplace(key, value);
return *
this; }
298 inline void SetLastUpdatedBy(
const char* value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy.assign(value); }
325 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
357 bool m_nameHasBeenSet =
false;
360 bool m_descriptionHasBeenSet =
false;
363 bool m_connectionTypeHasBeenSet =
false;
366 bool m_matchCriteriaHasBeenSet =
false;
369 bool m_connectionPropertiesHasBeenSet =
false;
372 bool m_athenaPropertiesHasBeenSet =
false;
375 bool m_physicalConnectionRequirementsHasBeenSet =
false;
378 bool m_creationTimeHasBeenSet =
false;
381 bool m_lastUpdatedTimeHasBeenSet =
false;
384 bool m_lastUpdatedByHasBeenSet =
false;
387 bool m_statusHasBeenSet =
false;
390 bool m_statusReasonHasBeenSet =
false;
393 bool m_lastConnectionValidationTimeHasBeenSet =
false;
396 bool m_authenticationConfigurationHasBeenSet =
false;
void SetAuthenticationConfiguration(AuthenticationConfiguration &&value)
void SetConnectionType(const ConnectionType &value)
Connection & WithLastConnectionValidationTime(Aws::Utils::DateTime &&value)
void SetMatchCriteria(const Aws::Vector< Aws::String > &value)
void SetAuthenticationConfiguration(const AuthenticationConfiguration &value)
Connection & AddAthenaProperties(const char *key, const char *value)
Connection & WithName(const Aws::String &value)
const ConnectionType & GetConnectionType() const
void SetLastUpdatedBy(Aws::String &&value)
Connection & WithCreationTime(Aws::Utils::DateTime &&value)
const ConnectionStatus & GetStatus() const
bool NameHasBeenSet() const
Connection & AddAthenaProperties(Aws::String &&key, const char *value)
bool ConnectionTypeHasBeenSet() const
Connection & WithMatchCriteria(Aws::Vector< Aws::String > &&value)
Connection & WithLastUpdatedBy(const char *value)
bool LastConnectionValidationTimeHasBeenSet() const
Connection & AddMatchCriteria(Aws::String &&value)
void SetAthenaProperties(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetMatchCriteria() const
void SetStatusReason(const char *value)
void SetName(const char *value)
bool DescriptionHasBeenSet() const
Connection & WithDescription(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetStatusReason(Aws::String &&value)
Connection & WithStatus(ConnectionStatus &&value)
bool LastUpdatedTimeHasBeenSet() const
Connection & WithAuthenticationConfiguration(const AuthenticationConfiguration &value)
Connection & WithLastUpdatedBy(const Aws::String &value)
Connection & WithLastUpdatedBy(Aws::String &&value)
AWS_GLUE_API Connection()
Connection & AddAthenaProperties(const Aws::String &key, Aws::String &&value)
Connection & WithConnectionType(const ConnectionType &value)
const Aws::String & GetLastUpdatedBy() const
Connection & WithConnectionProperties(Aws::Map< ConnectionPropertyKey, Aws::String > &&value)
bool AthenaPropertiesHasBeenSet() const
void SetConnectionProperties(const Aws::Map< ConnectionPropertyKey, Aws::String > &value)
const Aws::String & GetStatusReason() const
void SetName(const Aws::String &value)
Connection & WithStatusReason(Aws::String &&value)
void SetName(Aws::String &&value)
void SetLastUpdatedBy(const Aws::String &value)
Connection & WithStatus(const ConnectionStatus &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Connection & WithName(Aws::String &&value)
const Aws::Map< ConnectionPropertyKey, Aws::String > & GetConnectionProperties() const
Connection & AddConnectionProperties(ConnectionPropertyKey &&key, Aws::String &&value)
void SetMatchCriteria(Aws::Vector< Aws::String > &&value)
bool StatusReasonHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & AddConnectionProperties(ConnectionPropertyKey &&key, const char *value)
Connection & WithConnectionType(ConnectionType &&value)
Connection & AddConnectionProperties(const ConnectionPropertyKey &key, const char *value)
bool LastUpdatedByHasBeenSet() const
bool ConnectionPropertiesHasBeenSet() const
Connection & WithAthenaProperties(Aws::Map< Aws::String, Aws::String > &&value)
Connection & AddAthenaProperties(const char *key, Aws::String &&value)
Connection & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & AddAthenaProperties(Aws::String &&key, Aws::String &&value)
void SetDescription(Aws::String &&value)
Connection & WithStatusReason(const char *value)
void SetConnectionProperties(Aws::Map< ConnectionPropertyKey, Aws::String > &&value)
Connection & WithName(const char *value)
Connection & WithDescription(Aws::String &&value)
Connection & WithAthenaProperties(const Aws::Map< Aws::String, Aws::String > &value)
bool MatchCriteriaHasBeenSet() const
Connection & WithLastConnectionValidationTime(const Aws::Utils::DateTime &value)
Connection & WithPhysicalConnectionRequirements(PhysicalConnectionRequirements &&value)
bool CreationTimeHasBeenSet() const
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
void SetAthenaProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
void SetStatusReason(const Aws::String &value)
Connection & WithDescription(const Aws::String &value)
Connection & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Connection & WithPhysicalConnectionRequirements(const PhysicalConnectionRequirements &value)
const Aws::String & GetName() const
Connection & AddConnectionProperties(ConnectionPropertyKey &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
void SetLastConnectionValidationTime(const Aws::Utils::DateTime &value)
void SetPhysicalConnectionRequirements(const PhysicalConnectionRequirements &value)
void SetPhysicalConnectionRequirements(PhysicalConnectionRequirements &&value)
const Aws::String & GetDescription() const
void SetConnectionType(ConnectionType &&value)
Connection & AddMatchCriteria(const char *value)
Connection & AddAthenaProperties(const Aws::String &key, const Aws::String &value)
void SetStatus(const ConnectionStatus &value)
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
void SetLastConnectionValidationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastConnectionValidationTime() const
Connection & WithCreationTime(const Aws::Utils::DateTime &value)
Connection & WithAuthenticationConfiguration(AuthenticationConfiguration &&value)
void SetStatus(ConnectionStatus &&value)
const Aws::Utils::DateTime & GetCreationTime() const
Connection & WithConnectionProperties(const Aws::Map< ConnectionPropertyKey, Aws::String > &value)
bool AuthenticationConfigurationHasBeenSet() const
bool PhysicalConnectionRequirementsHasBeenSet() const
Connection & AddAthenaProperties(Aws::String &&key, const Aws::String &value)
Connection & AddConnectionProperties(const ConnectionPropertyKey &key, Aws::String &&value)
Connection & AddMatchCriteria(const Aws::String &value)
Connection & WithStatusReason(const Aws::String &value)
Connection & AddConnectionProperties(const ConnectionPropertyKey &key, const Aws::String &value)
Connection & WithMatchCriteria(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedBy(const char *value)
void SetDescription(const char *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