7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.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>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename IntegrationArnT = Aws::String>
44 m_integrationArnHasBeenSet =
true;
45 m_integrationArn = std::forward<IntegrationArnT>(value);
47 template <
typename IntegrationArnT = Aws::String>
59 template <
typename IntegrationNameT = Aws::String>
61 m_integrationNameHasBeenSet =
true;
62 m_integrationName = std::forward<IntegrationNameT>(value);
64 template <
typename IntegrationNameT = Aws::String>
77 template <
typename SourceArnT = Aws::String>
79 m_sourceArnHasBeenSet =
true;
80 m_sourceArn = std::forward<SourceArnT>(value);
82 template <
typename SourceArnT = Aws::String>
95 template <
typename TargetArnT = Aws::String>
97 m_targetArnHasBeenSet =
true;
98 m_targetArn = std::forward<TargetArnT>(value);
100 template <
typename TargetArnT = Aws::String>
113 m_statusHasBeenSet =
true;
127 template <
typename ErrorsT = Aws::Vector<IntegrationError>>
129 m_errorsHasBeenSet =
true;
130 m_errors = std::forward<ErrorsT>(value);
132 template <
typename ErrorsT = Aws::Vector<IntegrationError>>
137 template <
typename ErrorsT = IntegrationError>
139 m_errorsHasBeenSet =
true;
140 m_errors.emplace_back(std::forward<ErrorsT>(value));
150 template <
typename CreateTimeT = Aws::Utils::DateTime>
152 m_createTimeHasBeenSet =
true;
153 m_createTime = std::forward<CreateTimeT>(value);
155 template <
typename CreateTimeT = Aws::Utils::DateTime>
167 template <
typename DescriptionT = Aws::String>
169 m_descriptionHasBeenSet =
true;
170 m_description = std::forward<DescriptionT>(value);
172 template <
typename DescriptionT = Aws::String>
185 template <
typename KMSKeyIdT = Aws::String>
187 m_kMSKeyIdHasBeenSet =
true;
188 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
190 template <
typename KMSKeyIdT = Aws::String>
205 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
207 m_additionalEncryptionContextHasBeenSet =
true;
208 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
210 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
215 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
217 AdditionalEncryptionContextValueT&& value) {
218 m_additionalEncryptionContextHasBeenSet =
true;
219 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
220 std::forward<AdditionalEncryptionContextValueT>(value));
230 template <
typename TagsT = Aws::Vector<Tag>>
232 m_tagsHasBeenSet =
true;
233 m_tags = std::forward<TagsT>(value);
235 template <
typename TagsT = Aws::Vector<Tag>>
237 SetTags(std::forward<TagsT>(value));
240 template <
typename TagsT = Tag>
242 m_tagsHasBeenSet =
true;
243 m_tags.emplace_back(std::forward<TagsT>(value));
251 template <
typename ResponseMetadataT = ResponseMetadata>
253 m_responseMetadataHasBeenSet =
true;
254 m_responseMetadata = std::forward<ResponseMetadataT>(value);
256 template <
typename ResponseMetadataT = ResponseMetadata>
287 ResponseMetadata m_responseMetadata;
289 bool m_integrationArnHasBeenSet =
false;
290 bool m_integrationNameHasBeenSet =
false;
291 bool m_sourceArnHasBeenSet =
false;
292 bool m_targetArnHasBeenSet =
false;
293 bool m_statusHasBeenSet =
false;
294 bool m_errorsHasBeenSet =
false;
295 bool m_createTimeHasBeenSet =
false;
296 bool m_descriptionHasBeenSet =
false;
297 bool m_kMSKeyIdHasBeenSet =
false;
298 bool m_additionalEncryptionContextHasBeenSet =
false;
299 bool m_tagsHasBeenSet =
false;
300 bool m_responseMetadataHasBeenSet =
false;
void SetErrors(ErrorsT &&value)
AWS_REDSHIFT_API ModifyIntegrationResult()=default
ZeroETLIntegrationStatus GetStatus() const
ModifyIntegrationResult & WithIntegrationName(IntegrationNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const Aws::String & GetIntegrationArn() const
ModifyIntegrationResult & WithTargetArn(TargetArnT &&value)
const Aws::String & GetSourceArn() const
ModifyIntegrationResult & WithStatus(ZeroETLIntegrationStatus value)
void SetTargetArn(TargetArnT &&value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
AWS_REDSHIFT_API ModifyIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetIntegrationArn(IntegrationArnT &&value)
ModifyIntegrationResult & AddErrors(ErrorsT &&value)
ModifyIntegrationResult & WithSourceArn(SourceArnT &&value)
ModifyIntegrationResult & AddTags(TagsT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
const Aws::Vector< IntegrationError > & GetErrors() const
ModifyIntegrationResult & WithTags(TagsT &&value)
ModifyIntegrationResult & WithResponseMetadata(ResponseMetadataT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
ModifyIntegrationResult & WithIntegrationArn(IntegrationArnT &&value)
const Aws::String & GetIntegrationName() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetCreateTime(CreateTimeT &&value)
void SetKMSKeyId(KMSKeyIdT &&value)
void SetStatus(ZeroETLIntegrationStatus value)
const Aws::String & GetDescription() const
AWS_REDSHIFT_API ModifyIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyIntegrationResult & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
ModifyIntegrationResult & WithErrors(ErrorsT &&value)
void SetSourceArn(SourceArnT &&value)
const Aws::String & GetKMSKeyId() const
const Aws::String & GetTargetArn() const
void SetIntegrationName(IntegrationNameT &&value)
ModifyIntegrationResult & WithDescription(DescriptionT &&value)
ModifyIntegrationResult & WithCreateTime(CreateTimeT &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< Tag > & GetTags() const
ModifyIntegrationResult & WithKMSKeyId(KMSKeyIdT &&value)
void SetTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() 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::Xml::XmlDocument XmlDocument