7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/IntegrationStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/glue/model/IntegrationConfig.h>
14#include <aws/glue/model/Tag.h>
15#include <aws/glue/model/IntegrationError.h>
53 template<
typename SourceArnT = Aws::String>
54 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
55 template<
typename SourceArnT = Aws::String>
65 template<
typename TargetArnT = Aws::String>
66 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
67 template<
typename TargetArnT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
89 template<
typename IntegrationNameT = Aws::String>
90 void SetIntegrationName(IntegrationNameT&& value) { m_integrationNameHasBeenSet =
true; m_integrationName = std::forward<IntegrationNameT>(value); }
91 template<
typename IntegrationNameT = Aws::String>
101 template<
typename IntegrationArnT = Aws::String>
102 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet =
true; m_integrationArn = std::forward<IntegrationArnT>(value); }
103 template<
typename IntegrationArnT = Aws::String>
113 template<
typename KmsKeyIdT = Aws::String>
114 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
115 template<
typename KmsKeyIdT = Aws::String>
127 template<
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
128 void SetAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) { m_additionalEncryptionContextHasBeenSet =
true; m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value); }
129 template<
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
131 template<
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
133 m_additionalEncryptionContextHasBeenSet =
true; m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key), std::forward<AdditionalEncryptionContextValueT>(value));
return *
this;
144 template<
typename TagsT = Aws::Vector<Tag>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Vector<Tag>>
148 template<
typename TagsT = Tag>
149 Integration&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
174 template<
typename CreateTimeT = Aws::Utils::DateTime>
175 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
176 template<
typename CreateTimeT = Aws::Utils::DateTime>
186 template<
typename IntegrationConfigT = IntegrationConfig>
187 void SetIntegrationConfig(IntegrationConfigT&& value) { m_integrationConfigHasBeenSet =
true; m_integrationConfig = std::forward<IntegrationConfigT>(value); }
188 template<
typename IntegrationConfigT = IntegrationConfig>
198 template<
typename ErrorsT = Aws::Vector<IntegrationError>>
199 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
200 template<
typename ErrorsT = Aws::Vector<IntegrationError>>
202 template<
typename ErrorsT = IntegrationError>
203 Integration&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
212 template<
typename DataFilterT = Aws::String>
213 void SetDataFilter(DataFilterT&& value) { m_dataFilterHasBeenSet =
true; m_dataFilter = std::forward<DataFilterT>(value); }
214 template<
typename DataFilterT = Aws::String>
220 bool m_sourceArnHasBeenSet =
false;
223 bool m_targetArnHasBeenSet =
false;
226 bool m_descriptionHasBeenSet =
false;
229 bool m_integrationNameHasBeenSet =
false;
232 bool m_integrationArnHasBeenSet =
false;
235 bool m_kmsKeyIdHasBeenSet =
false;
238 bool m_additionalEncryptionContextHasBeenSet =
false;
241 bool m_tagsHasBeenSet =
false;
244 bool m_statusHasBeenSet =
false;
247 bool m_createTimeHasBeenSet =
false;
249 IntegrationConfig m_integrationConfig;
250 bool m_integrationConfigHasBeenSet =
false;
253 bool m_errorsHasBeenSet =
false;
256 bool m_dataFilterHasBeenSet =
false;
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntegrationName(IntegrationNameT &&value)
Integration & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
Integration & WithIntegrationArn(IntegrationArnT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetDataFilter() const
AWS_GLUE_API Integration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
bool IntegrationNameHasBeenSet() const
bool StatusHasBeenSet() const
Integration & WithSourceArn(SourceArnT &&value)
Integration & WithErrors(ErrorsT &&value)
void SetDataFilter(DataFilterT &&value)
Integration & AddTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
AWS_GLUE_API Integration()=default
const IntegrationConfig & GetIntegrationConfig() const
Integration & WithDescription(DescriptionT &&value)
IntegrationStatus GetStatus() const
Integration & WithTags(TagsT &&value)
void SetIntegrationConfig(IntegrationConfigT &&value)
void SetTargetArn(TargetArnT &&value)
Integration & WithStatus(IntegrationStatus value)
Integration & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
const Aws::String & GetSourceArn() const
bool ErrorsHasBeenSet() const
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
Integration & WithIntegrationConfig(IntegrationConfigT &&value)
bool CreateTimeHasBeenSet() const
Integration & WithTargetArn(TargetArnT &&value)
void SetCreateTime(CreateTimeT &&value)
AWS_GLUE_API Integration(Aws::Utils::Json::JsonView jsonValue)
Integration & AddErrors(ErrorsT &&value)
bool AdditionalEncryptionContextHasBeenSet() const
void SetIntegrationArn(IntegrationArnT &&value)
bool TagsHasBeenSet() const
void SetStatus(IntegrationStatus value)
void SetErrors(ErrorsT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetTargetArn() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
bool IntegrationArnHasBeenSet() const
bool SourceArnHasBeenSet() const
void SetSourceArn(SourceArnT &&value)
Integration & WithCreateTime(CreateTimeT &&value)
const Aws::Vector< IntegrationError > & GetErrors() const
bool IntegrationConfigHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreateTime() const
bool DataFilterHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetIntegrationName() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetIntegrationArn() const
bool TargetArnHasBeenSet() const
Integration & WithDataFilter(DataFilterT &&value)
Integration & WithKmsKeyId(KmsKeyIdT &&value)
Integration & WithIntegrationName(IntegrationNameT &&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