7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/redshift/model/ResponseMetadata.h>
15#include <aws/redshift/model/IntegrationError.h>
16#include <aws/redshift/model/Tag.h>
52 inline void SetIntegrationArn(
const char* value) { m_integrationArnHasBeenSet =
true; m_integrationArn.assign(value); }
66 inline void SetIntegrationName(
const char* value) { m_integrationNameHasBeenSet =
true; m_integrationName.assign(value); }
81 inline void SetSourceArn(
const char* value) { m_sourceArnHasBeenSet =
true; m_sourceArn.assign(value); }
96 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
148 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
163 inline void SetKMSKeyId(
const char* value) { m_kMSKeyIdHasBeenSet =
true; m_kMSKeyId.assign(value); }
202 inline Integration&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
216 bool m_integrationArnHasBeenSet =
false;
219 bool m_integrationNameHasBeenSet =
false;
222 bool m_sourceArnHasBeenSet =
false;
225 bool m_targetArnHasBeenSet =
false;
228 bool m_statusHasBeenSet =
false;
231 bool m_errorsHasBeenSet =
false;
234 bool m_createTimeHasBeenSet =
false;
237 bool m_descriptionHasBeenSet =
false;
240 bool m_kMSKeyIdHasBeenSet =
false;
243 bool m_additionalEncryptionContextHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
void SetDescription(const Aws::String &value)
Integration & AddErrors(const IntegrationError &value)
AWS_REDSHIFT_API Integration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Integration & WithIntegrationName(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
Integration & WithTargetArn(Aws::String &&value)
bool SourceArnHasBeenSet() const
void SetIntegrationName(Aws::String &&value)
const Aws::String & GetIntegrationName() const
void SetDescription(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetErrors(Aws::Vector< IntegrationError > &&value)
Integration & WithTargetArn(const char *value)
Integration & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
Integration & WithSourceArn(Aws::String &&value)
Integration & AddTags(Tag &&value)
const Aws::String & GetSourceArn() const
const ResponseMetadata & GetResponseMetadata() const
bool TargetArnHasBeenSet() const
bool IntegrationArnHasBeenSet() const
Integration & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
bool AdditionalEncryptionContextHasBeenSet() const
Integration & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
AWS_REDSHIFT_API Integration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTargetArn(Aws::String &&value)
Integration & WithResponseMetadata(const ResponseMetadata &value)
Integration & WithIntegrationArn(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIntegrationName(const char *value)
void SetKMSKeyId(const char *value)
Integration & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
Integration & WithTags(const Aws::Vector< Tag > &value)
const ZeroETLIntegrationStatus & GetStatus() const
void SetResponseMetadata(ResponseMetadata &&value)
bool TagsHasBeenSet() const
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetSourceArn(Aws::String &&value)
Integration & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
const Aws::String & GetIntegrationArn() const
const Aws::Utils::DateTime & GetCreateTime() const
bool StatusHasBeenSet() const
Integration & WithKMSKeyId(const Aws::String &value)
Integration & WithErrors(Aws::Vector< IntegrationError > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
Integration & WithIntegrationArn(const char *value)
Integration & WithSourceArn(const Aws::String &value)
Integration & WithDescription(const Aws::String &value)
void SetTargetArn(const char *value)
Integration & WithIntegrationArn(Aws::String &&value)
Integration & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Integration & WithDescription(const char *value)
Integration & WithCreateTime(const Aws::Utils::DateTime &value)
void SetStatus(const ZeroETLIntegrationStatus &value)
void SetTags(const Aws::Vector< Tag > &value)
bool IntegrationNameHasBeenSet() const
Integration & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
AWS_REDSHIFT_API Integration()
Integration & WithTargetArn(const Aws::String &value)
void SetStatus(ZeroETLIntegrationStatus &&value)
Integration & WithSourceArn(const char *value)
const Aws::String & GetKMSKeyId() const
Integration & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
bool DescriptionHasBeenSet() const
bool CreateTimeHasBeenSet() const
void SetIntegrationArn(Aws::String &&value)
Integration & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< IntegrationError > & GetErrors() const
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetSourceArn(const char *value)
void SetIntegrationName(const Aws::String &value)
Integration & AddErrors(IntegrationError &&value)
Integration & WithStatus(const ZeroETLIntegrationStatus &value)
void SetKMSKeyId(const Aws::String &value)
bool KMSKeyIdHasBeenSet() const
void SetErrors(const Aws::Vector< IntegrationError > &value)
bool ErrorsHasBeenSet() const
void SetTargetArn(const Aws::String &value)
void SetIntegrationArn(const char *value)
void SetIntegrationArn(const Aws::String &value)
void SetKMSKeyId(Aws::String &&value)
Integration & WithIntegrationName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetTargetArn() const
Integration & WithKMSKeyId(const char *value)
Integration & WithKMSKeyId(Aws::String &&value)
Integration & WithTags(Aws::Vector< Tag > &&value)
Integration & WithIntegrationName(const char *value)
Integration & WithDescription(Aws::String &&value)
Integration & AddTags(const Tag &value)
Integration & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
Integration & WithStatus(ZeroETLIntegrationStatus &&value)
void SetDescription(Aws::String &&value)
Integration & AddAdditionalEncryptionContext(const char *key, const char *value)
void SetSourceArn(const Aws::String &value)
Integration & WithErrors(const Aws::Vector< IntegrationError > &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