AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Integration.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/rds/model/IntegrationStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/rds/model/ResponseMetadata.h>
15#include <aws/rds/model/Tag.h>
16#include <aws/rds/model/IntegrationError.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Xml
24{
25 class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace RDS
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_RDS_API Integration();
42 AWS_RDS_API Integration(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_RDS_API Integration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
55 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
56 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
57 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
58 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
59 inline Integration& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
60 inline Integration& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
61 inline Integration& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
63
65
69 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
70 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
71 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
72 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
73 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
74 inline Integration& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
75 inline Integration& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
76 inline Integration& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
78
80
83 inline const Aws::String& GetIntegrationName() const{ return m_integrationName; }
84 inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; }
85 inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; }
86 inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); }
87 inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); }
88 inline Integration& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;}
89 inline Integration& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;}
90 inline Integration& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;}
92
94
97 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
98 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
99 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
100 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
101 inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
102 inline Integration& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
103 inline Integration& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
104 inline Integration& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
106
108
112 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
113 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
114 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
115 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
116 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
117 inline Integration& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
118 inline Integration& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
119 inline Integration& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
121
123
129 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; }
130 inline bool AdditionalEncryptionContextHasBeenSet() const { return m_additionalEncryptionContextHasBeenSet; }
131 inline void SetAdditionalEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = value; }
132 inline void SetAdditionalEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::move(value); }
135 inline Integration& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
136 inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
137 inline Integration& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
138 inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
139 inline Integration& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
140 inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
141 inline Integration& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
143
145
148 inline const IntegrationStatus& GetStatus() const{ return m_status; }
149 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
150 inline void SetStatus(const IntegrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
151 inline void SetStatus(IntegrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
152 inline Integration& WithStatus(const IntegrationStatus& value) { SetStatus(value); return *this;}
153 inline Integration& WithStatus(IntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
155
157
158 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
159 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
160 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
161 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
162 inline Integration& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
163 inline Integration& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
164 inline Integration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
165 inline Integration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
167
169
173 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
174 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
175 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
176 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
177 inline Integration& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
178 inline Integration& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
180
182
185 inline const Aws::Vector<IntegrationError>& GetErrors() const{ return m_errors; }
186 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
187 inline void SetErrors(const Aws::Vector<IntegrationError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
188 inline void SetErrors(Aws::Vector<IntegrationError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
189 inline Integration& WithErrors(const Aws::Vector<IntegrationError>& value) { SetErrors(value); return *this;}
190 inline Integration& WithErrors(Aws::Vector<IntegrationError>&& value) { SetErrors(std::move(value)); return *this;}
191 inline Integration& AddErrors(const IntegrationError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
192 inline Integration& AddErrors(IntegrationError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
194
196
200 inline const Aws::String& GetDataFilter() const{ return m_dataFilter; }
201 inline bool DataFilterHasBeenSet() const { return m_dataFilterHasBeenSet; }
202 inline void SetDataFilter(const Aws::String& value) { m_dataFilterHasBeenSet = true; m_dataFilter = value; }
203 inline void SetDataFilter(Aws::String&& value) { m_dataFilterHasBeenSet = true; m_dataFilter = std::move(value); }
204 inline void SetDataFilter(const char* value) { m_dataFilterHasBeenSet = true; m_dataFilter.assign(value); }
205 inline Integration& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;}
206 inline Integration& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;}
207 inline Integration& WithDataFilter(const char* value) { SetDataFilter(value); return *this;}
209
211
214 inline const Aws::String& GetDescription() const{ return m_description; }
215 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
216 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
217 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
218 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
219 inline Integration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
220 inline Integration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
221 inline Integration& WithDescription(const char* value) { SetDescription(value); return *this;}
223
225
226 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
227 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
228 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
229 inline Integration& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
230 inline Integration& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
232 private:
233
234 Aws::String m_sourceArn;
235 bool m_sourceArnHasBeenSet = false;
236
237 Aws::String m_targetArn;
238 bool m_targetArnHasBeenSet = false;
239
240 Aws::String m_integrationName;
241 bool m_integrationNameHasBeenSet = false;
242
243 Aws::String m_integrationArn;
244 bool m_integrationArnHasBeenSet = false;
245
246 Aws::String m_kMSKeyId;
247 bool m_kMSKeyIdHasBeenSet = false;
248
249 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
250 bool m_additionalEncryptionContextHasBeenSet = false;
251
252 IntegrationStatus m_status;
253 bool m_statusHasBeenSet = false;
254
255 Aws::Vector<Tag> m_tags;
256 bool m_tagsHasBeenSet = false;
257
258 Aws::Utils::DateTime m_createTime;
259 bool m_createTimeHasBeenSet = false;
260
262 bool m_errorsHasBeenSet = false;
263
264 Aws::String m_dataFilter;
265 bool m_dataFilterHasBeenSet = false;
266
267 Aws::String m_description;
268 bool m_descriptionHasBeenSet = false;
269
270 ResponseMetadata m_responseMetadata;
271 };
272
273} // namespace Model
274} // namespace RDS
275} // namespace Aws
void SetTags(Aws::Vector< Tag > &&value)
bool IntegrationArnHasBeenSet() const
Definition Integration.h:98
Integration & AddErrors(const IntegrationError &value)
AWS_RDS_API Integration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetKMSKeyId() const
Integration & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargetArn(const Aws::String &value)
Definition Integration.h:71
Integration & WithTags(const Aws::Vector< Tag > &value)
Integration & AddErrors(IntegrationError &&value)
void SetIntegrationName(const char *value)
Definition Integration.h:87
void SetKMSKeyId(Aws::String &&value)
void SetDataFilter(Aws::String &&value)
void SetStatus(const IntegrationStatus &value)
void SetIntegrationName(Aws::String &&value)
Definition Integration.h:86
Integration & WithKMSKeyId(const char *value)
Integration & WithDataFilter(const char *value)
Integration & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
Integration & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetIntegrationArn() const
Definition Integration.h:97
Integration & WithSourceArn(const char *value)
Definition Integration.h:61
void SetIntegrationName(const Aws::String &value)
Definition Integration.h:85
Integration & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
Integration & WithKMSKeyId(const Aws::String &value)
Integration & WithIntegrationArn(const char *value)
Integration & WithTargetArn(const Aws::String &value)
Definition Integration.h:74
Integration & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
Integration & WithDescription(const Aws::String &value)
void SetIntegrationArn(const char *value)
Integration & AddAdditionalEncryptionContext(const char *key, const char *value)
Integration & WithTargetArn(Aws::String &&value)
Definition Integration.h:75
Integration & WithStatus(const IntegrationStatus &value)
void SetDataFilter(const Aws::String &value)
void SetSourceArn(const char *value)
Definition Integration.h:58
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetErrors(Aws::Vector< IntegrationError > &&value)
Integration & WithResponseMetadata(const ResponseMetadata &value)
bool AdditionalEncryptionContextHasBeenSet() const
Integration & WithIntegrationName(const char *value)
Definition Integration.h:90
Integration & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
Integration & WithSourceArn(const Aws::String &value)
Definition Integration.h:59
void SetSourceArn(Aws::String &&value)
Definition Integration.h:57
void SetDataFilter(const char *value)
Integration & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
void SetStatus(IntegrationStatus &&value)
const Aws::String & GetDataFilter() const
void SetTargetArn(const char *value)
Definition Integration.h:73
void SetIntegrationArn(Aws::String &&value)
void SetErrors(const Aws::Vector< IntegrationError > &value)
const Aws::Vector< Tag > & GetTags() const
const ResponseMetadata & GetResponseMetadata() const
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetSourceArn() const
Definition Integration.h:54
Integration & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
Integration & AddTags(Tag &&value)
const Aws::String & GetTargetArn() const
Definition Integration.h:69
Integration & WithDataFilter(const Aws::String &value)
Integration & WithTags(Aws::Vector< Tag > &&value)
const IntegrationStatus & GetStatus() const
Integration & WithTargetArn(const char *value)
Definition Integration.h:76
void SetResponseMetadata(const ResponseMetadata &value)
Integration & WithErrors(const Aws::Vector< IntegrationError > &value)
Integration & WithStatus(IntegrationStatus &&value)
const Aws::String & GetDescription() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Integration & WithIntegrationArn(Aws::String &&value)
Integration & WithCreateTime(const Aws::Utils::DateTime &value)
bool IntegrationNameHasBeenSet() const
Definition Integration.h:84
void SetKMSKeyId(const Aws::String &value)
Integration & AddTags(const Tag &value)
Integration & WithSourceArn(Aws::String &&value)
Definition Integration.h:60
Integration & WithCreateTime(Aws::Utils::DateTime &&value)
Integration & WithDataFilter(Aws::String &&value)
const Aws::String & GetIntegrationName() const
Definition Integration.h:83
void SetTargetArn(Aws::String &&value)
Definition Integration.h:72
void SetIntegrationArn(const Aws::String &value)
Definition Integration.h:99
Integration & WithErrors(Aws::Vector< IntegrationError > &&value)
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< IntegrationError > & GetErrors() const
Integration & WithIntegrationArn(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
Integration & WithIntegrationName(const Aws::String &value)
Definition Integration.h:88
void SetDescription(const Aws::String &value)
Integration & WithKMSKeyId(Aws::String &&value)
void SetDescription(const char *value)
Integration & WithIntegrationName(Aws::String &&value)
Definition Integration.h:89
Integration & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetKMSKeyId(const char *value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreateTime() const
Integration & WithDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
Integration & WithResponseMetadata(ResponseMetadata &&value)
void SetSourceArn(const Aws::String &value)
Definition Integration.h:56
AWS_RDS_API Integration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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