AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/IntegrationError.h>
13#include <aws/rds/model/IntegrationStatus.h>
14#include <aws/rds/model/ResponseMetadata.h>
15#include <aws/rds/model/Tag.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 RDS {
29namespace Model {
36 public:
37 AWS_RDS_API ModifyIntegrationResult() = default;
40
42
46 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
47 template <typename SourceArnT = Aws::String>
48 void SetSourceArn(SourceArnT&& value) {
49 m_sourceArnHasBeenSet = true;
50 m_sourceArn = std::forward<SourceArnT>(value);
51 }
52 template <typename SourceArnT = Aws::String>
54 SetSourceArn(std::forward<SourceArnT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
65 template <typename TargetArnT = Aws::String>
66 void SetTargetArn(TargetArnT&& value) {
67 m_targetArnHasBeenSet = true;
68 m_targetArn = std::forward<TargetArnT>(value);
69 }
70 template <typename TargetArnT = Aws::String>
72 SetTargetArn(std::forward<TargetArnT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetIntegrationName() const { return m_integrationName; }
82 template <typename IntegrationNameT = Aws::String>
83 void SetIntegrationName(IntegrationNameT&& value) {
84 m_integrationNameHasBeenSet = true;
85 m_integrationName = std::forward<IntegrationNameT>(value);
86 }
87 template <typename IntegrationNameT = Aws::String>
88 ModifyIntegrationResult& WithIntegrationName(IntegrationNameT&& value) {
89 SetIntegrationName(std::forward<IntegrationNameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
99 template <typename IntegrationArnT = Aws::String>
100 void SetIntegrationArn(IntegrationArnT&& value) {
101 m_integrationArnHasBeenSet = true;
102 m_integrationArn = std::forward<IntegrationArnT>(value);
103 }
104 template <typename IntegrationArnT = Aws::String>
105 ModifyIntegrationResult& WithIntegrationArn(IntegrationArnT&& value) {
106 SetIntegrationArn(std::forward<IntegrationArnT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
117 template <typename KMSKeyIdT = Aws::String>
118 void SetKMSKeyId(KMSKeyIdT&& value) {
119 m_kMSKeyIdHasBeenSet = true;
120 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
121 }
122 template <typename KMSKeyIdT = Aws::String>
124 SetKMSKeyId(std::forward<KMSKeyIdT>(value));
125 return *this;
126 }
128
130
136 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const { return m_additionalEncryptionContext; }
137 template <typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
138 void SetAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) {
139 m_additionalEncryptionContextHasBeenSet = true;
140 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
141 }
142 template <typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
143 ModifyIntegrationResult& WithAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) {
144 SetAdditionalEncryptionContext(std::forward<AdditionalEncryptionContextT>(value));
145 return *this;
146 }
147 template <typename AdditionalEncryptionContextKeyT = Aws::String, typename AdditionalEncryptionContextValueT = Aws::String>
148 ModifyIntegrationResult& AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT&& key,
149 AdditionalEncryptionContextValueT&& value) {
150 m_additionalEncryptionContextHasBeenSet = true;
151 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
152 std::forward<AdditionalEncryptionContextValueT>(value));
153 return *this;
154 }
156
158
161 inline IntegrationStatus GetStatus() const { return m_status; }
162 inline void SetStatus(IntegrationStatus value) {
163 m_statusHasBeenSet = true;
164 m_status = value;
165 }
167 SetStatus(value);
168 return *this;
169 }
171
173
174 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
175 template <typename TagsT = Aws::Vector<Tag>>
176 void SetTags(TagsT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags = std::forward<TagsT>(value);
179 }
180 template <typename TagsT = Aws::Vector<Tag>>
182 SetTags(std::forward<TagsT>(value));
183 return *this;
184 }
185 template <typename TagsT = Tag>
187 m_tagsHasBeenSet = true;
188 m_tags.emplace_back(std::forward<TagsT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::String& GetDataFilter() const { return m_dataFilter; }
199 template <typename DataFilterT = Aws::String>
200 void SetDataFilter(DataFilterT&& value) {
201 m_dataFilterHasBeenSet = true;
202 m_dataFilter = std::forward<DataFilterT>(value);
203 }
204 template <typename DataFilterT = Aws::String>
206 SetDataFilter(std::forward<DataFilterT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::String& GetDescription() const { return m_description; }
216 template <typename DescriptionT = Aws::String>
217 void SetDescription(DescriptionT&& value) {
218 m_descriptionHasBeenSet = true;
219 m_description = std::forward<DescriptionT>(value);
220 }
221 template <typename DescriptionT = Aws::String>
223 SetDescription(std::forward<DescriptionT>(value));
224 return *this;
225 }
227
229
233 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
234 template <typename CreateTimeT = Aws::Utils::DateTime>
235 void SetCreateTime(CreateTimeT&& value) {
236 m_createTimeHasBeenSet = true;
237 m_createTime = std::forward<CreateTimeT>(value);
238 }
239 template <typename CreateTimeT = Aws::Utils::DateTime>
241 SetCreateTime(std::forward<CreateTimeT>(value));
242 return *this;
243 }
245
247
250 inline const Aws::Vector<IntegrationError>& GetErrors() const { return m_errors; }
251 template <typename ErrorsT = Aws::Vector<IntegrationError>>
252 void SetErrors(ErrorsT&& value) {
253 m_errorsHasBeenSet = true;
254 m_errors = std::forward<ErrorsT>(value);
255 }
256 template <typename ErrorsT = Aws::Vector<IntegrationError>>
258 SetErrors(std::forward<ErrorsT>(value));
259 return *this;
260 }
261 template <typename ErrorsT = IntegrationError>
263 m_errorsHasBeenSet = true;
264 m_errors.emplace_back(std::forward<ErrorsT>(value));
265 return *this;
266 }
268
270
271 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
272 template <typename ResponseMetadataT = ResponseMetadata>
273 void SetResponseMetadata(ResponseMetadataT&& value) {
274 m_responseMetadataHasBeenSet = true;
275 m_responseMetadata = std::forward<ResponseMetadataT>(value);
276 }
277 template <typename ResponseMetadataT = ResponseMetadata>
278 ModifyIntegrationResult& WithResponseMetadata(ResponseMetadataT&& value) {
279 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
280 return *this;
281 }
283 private:
284 Aws::String m_sourceArn;
285
286 Aws::String m_targetArn;
287
288 Aws::String m_integrationName;
289
290 Aws::String m_integrationArn;
291
292 Aws::String m_kMSKeyId;
293
294 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
295
297
298 Aws::Vector<Tag> m_tags;
299
300 Aws::String m_dataFilter;
301
302 Aws::String m_description;
303
304 Aws::Utils::DateTime m_createTime{};
305
307
308 ResponseMetadata m_responseMetadata;
309 bool m_sourceArnHasBeenSet = false;
310 bool m_targetArnHasBeenSet = false;
311 bool m_integrationNameHasBeenSet = false;
312 bool m_integrationArnHasBeenSet = false;
313 bool m_kMSKeyIdHasBeenSet = false;
314 bool m_additionalEncryptionContextHasBeenSet = false;
315 bool m_statusHasBeenSet = false;
316 bool m_tagsHasBeenSet = false;
317 bool m_dataFilterHasBeenSet = false;
318 bool m_descriptionHasBeenSet = false;
319 bool m_createTimeHasBeenSet = false;
320 bool m_errorsHasBeenSet = false;
321 bool m_responseMetadataHasBeenSet = false;
322};
323
324} // namespace Model
325} // namespace RDS
326} // namespace Aws
ModifyIntegrationResult & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
AWS_RDS_API ModifyIntegrationResult()=default
ModifyIntegrationResult & AddTags(TagsT &&value)
const ResponseMetadata & GetResponseMetadata() const
ModifyIntegrationResult & AddErrors(ErrorsT &&value)
ModifyIntegrationResult & WithIntegrationName(IntegrationNameT &&value)
ModifyIntegrationResult & WithKMSKeyId(KMSKeyIdT &&value)
ModifyIntegrationResult & WithSourceArn(SourceArnT &&value)
AWS_RDS_API ModifyIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetIntegrationName(IntegrationNameT &&value)
ModifyIntegrationResult & WithDescription(DescriptionT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_RDS_API ModifyIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyIntegrationResult & WithTags(TagsT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
ModifyIntegrationResult & WithTargetArn(TargetArnT &&value)
ModifyIntegrationResult & WithStatus(IntegrationStatus value)
void SetResponseMetadata(ResponseMetadataT &&value)
ModifyIntegrationResult & WithIntegrationArn(IntegrationArnT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
ModifyIntegrationResult & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
ModifyIntegrationResult & WithDataFilter(DataFilterT &&value)
ModifyIntegrationResult & WithCreateTime(CreateTimeT &&value)
const Aws::Vector< IntegrationError > & GetErrors() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
ModifyIntegrationResult & WithErrors(ErrorsT &&value)
ModifyIntegrationResult & WithResponseMetadata(ResponseMetadataT &&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