AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ModifyIntegrationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/IntegrationError.h>
13#include <aws/redshift/model/ResponseMetadata.h>
14#include <aws/redshift/model/Tag.h>
15#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Xml {
25class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace Redshift {
29namespace Model {
31 public:
32 AWS_REDSHIFT_API ModifyIntegrationResult() = default;
35
37
40 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
41 template <typename IntegrationArnT = Aws::String>
42 void SetIntegrationArn(IntegrationArnT&& value) {
43 m_integrationArnHasBeenSet = true;
44 m_integrationArn = std::forward<IntegrationArnT>(value);
45 }
46 template <typename IntegrationArnT = Aws::String>
47 ModifyIntegrationResult& WithIntegrationArn(IntegrationArnT&& value) {
48 SetIntegrationArn(std::forward<IntegrationArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIntegrationName() const { return m_integrationName; }
58 template <typename IntegrationNameT = Aws::String>
59 void SetIntegrationName(IntegrationNameT&& value) {
60 m_integrationNameHasBeenSet = true;
61 m_integrationName = std::forward<IntegrationNameT>(value);
62 }
63 template <typename IntegrationNameT = Aws::String>
64 ModifyIntegrationResult& WithIntegrationName(IntegrationNameT&& value) {
65 SetIntegrationName(std::forward<IntegrationNameT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
76 template <typename SourceArnT = Aws::String>
77 void SetSourceArn(SourceArnT&& value) {
78 m_sourceArnHasBeenSet = true;
79 m_sourceArn = std::forward<SourceArnT>(value);
80 }
81 template <typename SourceArnT = Aws::String>
83 SetSourceArn(std::forward<SourceArnT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
94 template <typename TargetArnT = Aws::String>
95 void SetTargetArn(TargetArnT&& value) {
96 m_targetArnHasBeenSet = true;
97 m_targetArn = std::forward<TargetArnT>(value);
98 }
99 template <typename TargetArnT = Aws::String>
101 SetTargetArn(std::forward<TargetArnT>(value));
102 return *this;
103 }
105
107
110 inline ZeroETLIntegrationStatus GetStatus() const { return m_status; }
112 m_statusHasBeenSet = true;
113 m_status = value;
114 }
116 SetStatus(value);
117 return *this;
118 }
120
122
125 inline const Aws::Vector<IntegrationError>& GetErrors() const { return m_errors; }
126 template <typename ErrorsT = Aws::Vector<IntegrationError>>
127 void SetErrors(ErrorsT&& value) {
128 m_errorsHasBeenSet = true;
129 m_errors = std::forward<ErrorsT>(value);
130 }
131 template <typename ErrorsT = Aws::Vector<IntegrationError>>
133 SetErrors(std::forward<ErrorsT>(value));
134 return *this;
135 }
136 template <typename ErrorsT = IntegrationError>
138 m_errorsHasBeenSet = true;
139 m_errors.emplace_back(std::forward<ErrorsT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
149 template <typename CreateTimeT = Aws::Utils::DateTime>
150 void SetCreateTime(CreateTimeT&& value) {
151 m_createTimeHasBeenSet = true;
152 m_createTime = std::forward<CreateTimeT>(value);
153 }
154 template <typename CreateTimeT = Aws::Utils::DateTime>
156 SetCreateTime(std::forward<CreateTimeT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetDescription() const { return m_description; }
166 template <typename DescriptionT = Aws::String>
167 void SetDescription(DescriptionT&& value) {
168 m_descriptionHasBeenSet = true;
169 m_description = std::forward<DescriptionT>(value);
170 }
171 template <typename DescriptionT = Aws::String>
173 SetDescription(std::forward<DescriptionT>(value));
174 return *this;
175 }
177
179
183 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
184 template <typename KMSKeyIdT = Aws::String>
185 void SetKMSKeyId(KMSKeyIdT&& value) {
186 m_kMSKeyIdHasBeenSet = true;
187 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
188 }
189 template <typename KMSKeyIdT = Aws::String>
191 SetKMSKeyId(std::forward<KMSKeyIdT>(value));
192 return *this;
193 }
195
197
203 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const { return m_additionalEncryptionContext; }
204 template <typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
205 void SetAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) {
206 m_additionalEncryptionContextHasBeenSet = true;
207 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
208 }
209 template <typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
210 ModifyIntegrationResult& WithAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) {
211 SetAdditionalEncryptionContext(std::forward<AdditionalEncryptionContextT>(value));
212 return *this;
213 }
214 template <typename AdditionalEncryptionContextKeyT = Aws::String, typename AdditionalEncryptionContextValueT = Aws::String>
215 ModifyIntegrationResult& AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT&& key,
216 AdditionalEncryptionContextValueT&& value) {
217 m_additionalEncryptionContextHasBeenSet = true;
218 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
219 std::forward<AdditionalEncryptionContextValueT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
229 template <typename TagsT = Aws::Vector<Tag>>
230 void SetTags(TagsT&& value) {
231 m_tagsHasBeenSet = true;
232 m_tags = std::forward<TagsT>(value);
233 }
234 template <typename TagsT = Aws::Vector<Tag>>
236 SetTags(std::forward<TagsT>(value));
237 return *this;
238 }
239 template <typename TagsT = Tag>
241 m_tagsHasBeenSet = true;
242 m_tags.emplace_back(std::forward<TagsT>(value));
243 return *this;
244 }
246
248
249 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
250 template <typename ResponseMetadataT = ResponseMetadata>
251 void SetResponseMetadata(ResponseMetadataT&& value) {
252 m_responseMetadataHasBeenSet = true;
253 m_responseMetadata = std::forward<ResponseMetadataT>(value);
254 }
255 template <typename ResponseMetadataT = ResponseMetadata>
256 ModifyIntegrationResult& WithResponseMetadata(ResponseMetadataT&& value) {
257 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
258 return *this;
259 }
261 private:
262 Aws::String m_integrationArn;
263
264 Aws::String m_integrationName;
265
266 Aws::String m_sourceArn;
267
268 Aws::String m_targetArn;
269
271
273
274 Aws::Utils::DateTime m_createTime{};
275
276 Aws::String m_description;
277
278 Aws::String m_kMSKeyId;
279
280 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
281
282 Aws::Vector<Tag> m_tags;
283
284 ResponseMetadata m_responseMetadata;
285 bool m_integrationArnHasBeenSet = false;
286 bool m_integrationNameHasBeenSet = false;
287 bool m_sourceArnHasBeenSet = false;
288 bool m_targetArnHasBeenSet = false;
289 bool m_statusHasBeenSet = false;
290 bool m_errorsHasBeenSet = false;
291 bool m_createTimeHasBeenSet = false;
292 bool m_descriptionHasBeenSet = false;
293 bool m_kMSKeyIdHasBeenSet = false;
294 bool m_additionalEncryptionContextHasBeenSet = false;
295 bool m_tagsHasBeenSet = false;
296 bool m_responseMetadataHasBeenSet = false;
297};
298
299} // namespace Model
300} // namespace Redshift
301} // namespace Aws
AWS_REDSHIFT_API ModifyIntegrationResult()=default
ModifyIntegrationResult & WithIntegrationName(IntegrationNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
ModifyIntegrationResult & WithTargetArn(TargetArnT &&value)
ModifyIntegrationResult & WithStatus(ZeroETLIntegrationStatus value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
AWS_REDSHIFT_API ModifyIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
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)
ModifyIntegrationResult & WithIntegrationArn(IntegrationArnT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetStatus(ZeroETLIntegrationStatus value)
AWS_REDSHIFT_API ModifyIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyIntegrationResult & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
ModifyIntegrationResult & WithErrors(ErrorsT &&value)
ModifyIntegrationResult & WithDescription(DescriptionT &&value)
ModifyIntegrationResult & WithCreateTime(CreateTimeT &&value)
ModifyIntegrationResult & WithKMSKeyId(KMSKeyIdT &&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::Xml::XmlDocument XmlDocument