7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/Redshift_EXPORTS.h>
13#include <aws/redshift/model/IntegrationError.h>
14#include <aws/redshift/model/ResponseMetadata.h>
15#include <aws/redshift/model/Tag.h>
16#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
44 template <
typename IntegrationArnT = Aws::String>
46 m_integrationArnHasBeenSet =
true;
47 m_integrationArn = std::forward<IntegrationArnT>(value);
49 template <
typename IntegrationArnT = Aws::String>
62 template <
typename IntegrationNameT = Aws::String>
64 m_integrationNameHasBeenSet =
true;
65 m_integrationName = std::forward<IntegrationNameT>(value);
67 template <
typename IntegrationNameT = Aws::String>
81 template <
typename SourceArnT = Aws::String>
83 m_sourceArnHasBeenSet =
true;
84 m_sourceArn = std::forward<SourceArnT>(value);
86 template <
typename SourceArnT = Aws::String>
100 template <
typename TargetArnT = Aws::String>
102 m_targetArnHasBeenSet =
true;
103 m_targetArn = std::forward<TargetArnT>(value);
105 template <
typename TargetArnT = Aws::String>
119 m_statusHasBeenSet =
true;
134 template <
typename ErrorsT = Aws::Vector<IntegrationError>>
136 m_errorsHasBeenSet =
true;
137 m_errors = std::forward<ErrorsT>(value);
139 template <
typename ErrorsT = Aws::Vector<IntegrationError>>
144 template <
typename ErrorsT = IntegrationError>
146 m_errorsHasBeenSet =
true;
147 m_errors.emplace_back(std::forward<ErrorsT>(value));
158 template <
typename CreateTimeT = Aws::Utils::DateTime>
160 m_createTimeHasBeenSet =
true;
161 m_createTime = std::forward<CreateTimeT>(value);
163 template <
typename CreateTimeT = Aws::Utils::DateTime>
176 template <
typename DescriptionT = Aws::String>
178 m_descriptionHasBeenSet =
true;
179 m_description = std::forward<DescriptionT>(value);
181 template <
typename DescriptionT = Aws::String>
195 template <
typename KMSKeyIdT = Aws::String>
197 m_kMSKeyIdHasBeenSet =
true;
198 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
200 template <
typename KMSKeyIdT = Aws::String>
216 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
218 m_additionalEncryptionContextHasBeenSet =
true;
219 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
221 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
226 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
228 m_additionalEncryptionContextHasBeenSet =
true;
229 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
230 std::forward<AdditionalEncryptionContextValueT>(value));
241 template <
typename TagsT = Aws::Vector<Tag>>
243 m_tagsHasBeenSet =
true;
244 m_tags = std::forward<TagsT>(value);
246 template <
typename TagsT = Aws::Vector<Tag>>
248 SetTags(std::forward<TagsT>(value));
251 template <
typename TagsT = Tag>
253 m_tagsHasBeenSet =
true;
254 m_tags.emplace_back(std::forward<TagsT>(value));
262 template <
typename ResponseMetadataT = ResponseMetadata>
264 m_responseMetadataHasBeenSet =
true;
265 m_responseMetadata = std::forward<ResponseMetadataT>(value);
267 template <
typename ResponseMetadataT = ResponseMetadata>
296 ResponseMetadata m_responseMetadata;
297 bool m_integrationArnHasBeenSet =
false;
298 bool m_integrationNameHasBeenSet =
false;
299 bool m_sourceArnHasBeenSet =
false;
300 bool m_targetArnHasBeenSet =
false;
301 bool m_statusHasBeenSet =
false;
302 bool m_errorsHasBeenSet =
false;
303 bool m_createTimeHasBeenSet =
false;
304 bool m_descriptionHasBeenSet =
false;
305 bool m_kMSKeyIdHasBeenSet =
false;
306 bool m_additionalEncryptionContextHasBeenSet =
false;
307 bool m_tagsHasBeenSet =
false;
308 bool m_responseMetadataHasBeenSet =
true;
AWS_REDSHIFT_API Integration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API Integration()=default
Integration & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
Integration & WithIntegrationName(IntegrationNameT &&value)
Integration & WithDescription(DescriptionT &&value)
bool SourceArnHasBeenSet() const
const Aws::String & GetIntegrationName() const
Integration & WithSourceArn(SourceArnT &&value)
const Aws::String & GetSourceArn() const
const ResponseMetadata & GetResponseMetadata() const
bool TargetArnHasBeenSet() const
bool IntegrationArnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
bool AdditionalEncryptionContextHasBeenSet() const
AWS_REDSHIFT_API Integration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetStatus(ZeroETLIntegrationStatus value)
Integration & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
Integration & WithCreateTime(CreateTimeT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetIntegrationArn() const
const Aws::Utils::DateTime & GetCreateTime() const
bool StatusHasBeenSet() const
void SetIntegrationName(IntegrationNameT &&value)
Integration & AddErrors(ErrorsT &&value)
Integration & WithKMSKeyId(KMSKeyIdT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetIntegrationArn(IntegrationArnT &&value)
bool IntegrationNameHasBeenSet() const
Integration & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetCreateTime(CreateTimeT &&value)
Integration & WithErrors(ErrorsT &&value)
void SetSourceArn(SourceArnT &&value)
const Aws::String & GetKMSKeyId() const
Integration & AddTags(TagsT &&value)
ZeroETLIntegrationStatus GetStatus() const
bool DescriptionHasBeenSet() const
bool CreateTimeHasBeenSet() const
void SetKMSKeyId(KMSKeyIdT &&value)
void SetErrors(ErrorsT &&value)
const Aws::Vector< IntegrationError > & GetErrors() const
Integration & WithIntegrationArn(IntegrationArnT &&value)
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
bool KMSKeyIdHasBeenSet() const
Integration & WithTargetArn(TargetArnT &&value)
bool ErrorsHasBeenSet() const
const Aws::String & GetTargetArn() const
Integration & WithResponseMetadata(ResponseMetadataT &&value)
void SetTargetArn(TargetArnT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetDescription() const
Integration & WithStatus(ZeroETLIntegrationStatus 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
std::basic_ostream< char, std::char_traits< char > > OStream