AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntegrationResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/rds/model/IntegrationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/rds/model/ResponseMetadata.h>
14#include <aws/rds/model/Tag.h>
15#include <aws/rds/model/IntegrationError.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Xml
26{
27 class XmlDocument;
28} // namespace Xml
29} // namespace Utils
30namespace RDS
31{
32namespace Model
33{
40 {
41 public:
45
46
48
52 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
53 inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
54 inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
55 inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
56 inline CreateIntegrationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
57 inline CreateIntegrationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
58 inline CreateIntegrationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
60
62
66 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
67 inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; }
68 inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); }
69 inline void SetTargetArn(const char* value) { m_targetArn.assign(value); }
70 inline CreateIntegrationResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
71 inline CreateIntegrationResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
72 inline CreateIntegrationResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
74
76
79 inline const Aws::String& GetIntegrationName() const{ return m_integrationName; }
80 inline void SetIntegrationName(const Aws::String& value) { m_integrationName = value; }
81 inline void SetIntegrationName(Aws::String&& value) { m_integrationName = std::move(value); }
82 inline void SetIntegrationName(const char* value) { m_integrationName.assign(value); }
83 inline CreateIntegrationResult& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;}
84 inline CreateIntegrationResult& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;}
85 inline CreateIntegrationResult& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;}
87
89
92 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
93 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArn = value; }
94 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArn = std::move(value); }
95 inline void SetIntegrationArn(const char* value) { m_integrationArn.assign(value); }
96 inline CreateIntegrationResult& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
97 inline CreateIntegrationResult& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
98 inline CreateIntegrationResult& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
100
102
106 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
107 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyId = value; }
108 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyId = std::move(value); }
109 inline void SetKMSKeyId(const char* value) { m_kMSKeyId.assign(value); }
110 inline CreateIntegrationResult& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
111 inline CreateIntegrationResult& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
112 inline CreateIntegrationResult& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
114
116
122 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; }
123 inline void SetAdditionalEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalEncryptionContext = value; }
124 inline void SetAdditionalEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalEncryptionContext = std::move(value); }
127 inline CreateIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(key, value); return *this; }
128 inline CreateIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
129 inline CreateIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
130 inline CreateIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
131 inline CreateIntegrationResult& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
132 inline CreateIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
133 inline CreateIntegrationResult& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContext.emplace(key, value); return *this; }
135
137
140 inline const IntegrationStatus& GetStatus() const{ return m_status; }
141 inline void SetStatus(const IntegrationStatus& value) { m_status = value; }
142 inline void SetStatus(IntegrationStatus&& value) { m_status = std::move(value); }
143 inline CreateIntegrationResult& WithStatus(const IntegrationStatus& value) { SetStatus(value); return *this;}
144 inline CreateIntegrationResult& WithStatus(IntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
146
148
149 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
150 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
151 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
152 inline CreateIntegrationResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
153 inline CreateIntegrationResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
154 inline CreateIntegrationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
155 inline CreateIntegrationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
157
159
163 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
164 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
165 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
166 inline CreateIntegrationResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
167 inline CreateIntegrationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
169
171
174 inline const Aws::Vector<IntegrationError>& GetErrors() const{ return m_errors; }
175 inline void SetErrors(const Aws::Vector<IntegrationError>& value) { m_errors = value; }
176 inline void SetErrors(Aws::Vector<IntegrationError>&& value) { m_errors = std::move(value); }
177 inline CreateIntegrationResult& WithErrors(const Aws::Vector<IntegrationError>& value) { SetErrors(value); return *this;}
178 inline CreateIntegrationResult& WithErrors(Aws::Vector<IntegrationError>&& value) { SetErrors(std::move(value)); return *this;}
179 inline CreateIntegrationResult& AddErrors(const IntegrationError& value) { m_errors.push_back(value); return *this; }
180 inline CreateIntegrationResult& AddErrors(IntegrationError&& value) { m_errors.push_back(std::move(value)); return *this; }
182
184
188 inline const Aws::String& GetDataFilter() const{ return m_dataFilter; }
189 inline void SetDataFilter(const Aws::String& value) { m_dataFilter = value; }
190 inline void SetDataFilter(Aws::String&& value) { m_dataFilter = std::move(value); }
191 inline void SetDataFilter(const char* value) { m_dataFilter.assign(value); }
192 inline CreateIntegrationResult& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;}
193 inline CreateIntegrationResult& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;}
194 inline CreateIntegrationResult& WithDataFilter(const char* value) { SetDataFilter(value); return *this;}
196
198
201 inline const Aws::String& GetDescription() const{ return m_description; }
202 inline void SetDescription(const Aws::String& value) { m_description = value; }
203 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
204 inline void SetDescription(const char* value) { m_description.assign(value); }
205 inline CreateIntegrationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
206 inline CreateIntegrationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
207 inline CreateIntegrationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
209
211
212 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
213 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
214 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
216 inline CreateIntegrationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
218 private:
219
220 Aws::String m_sourceArn;
221
222 Aws::String m_targetArn;
223
224 Aws::String m_integrationName;
225
226 Aws::String m_integrationArn;
227
228 Aws::String m_kMSKeyId;
229
230 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
231
232 IntegrationStatus m_status;
233
234 Aws::Vector<Tag> m_tags;
235
236 Aws::Utils::DateTime m_createTime;
237
239
240 Aws::String m_dataFilter;
241
242 Aws::String m_description;
243
244 ResponseMetadata m_responseMetadata;
245 };
246
247} // namespace Model
248} // namespace RDS
249} // namespace Aws
CreateIntegrationResult & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
CreateIntegrationResult & WithIntegrationArn(Aws::String &&value)
CreateIntegrationResult & WithKMSKeyId(Aws::String &&value)
CreateIntegrationResult & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateIntegrationResult & WithSourceArn(const char *value)
CreateIntegrationResult & AddErrors(IntegrationError &&value)
CreateIntegrationResult & AddTags(const Tag &value)
CreateIntegrationResult & WithIntegrationName(const Aws::String &value)
CreateIntegrationResult & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResult & WithIntegrationArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
CreateIntegrationResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< IntegrationError > & GetErrors() const
CreateIntegrationResult & WithIntegrationName(const char *value)
void SetErrors(const Aws::Vector< IntegrationError > &value)
CreateIntegrationResult & AddAdditionalEncryptionContext(const char *key, const char *value)
CreateIntegrationResult & WithErrors(const Aws::Vector< IntegrationError > &value)
CreateIntegrationResult & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
CreateIntegrationResult & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
CreateIntegrationResult & WithStatus(const IntegrationStatus &value)
CreateIntegrationResult & WithDescription(const char *value)
const ResponseMetadata & GetResponseMetadata() const
CreateIntegrationResult & WithResponseMetadata(const ResponseMetadata &value)
void SetIntegrationArn(const Aws::String &value)
CreateIntegrationResult & WithCreateTime(const Aws::Utils::DateTime &value)
CreateIntegrationResult & WithKMSKeyId(const Aws::String &value)
void SetErrors(Aws::Vector< IntegrationError > &&value)
CreateIntegrationResult & WithTags(Aws::Vector< Tag > &&value)
AWS_RDS_API CreateIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateIntegrationResult & WithTags(const Aws::Vector< Tag > &value)
void SetStatus(const IntegrationStatus &value)
CreateIntegrationResult & WithKMSKeyId(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResult & WithDataFilter(const char *value)
CreateIntegrationResult & AddErrors(const IntegrationError &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const Aws::Vector< Tag > & GetTags() const
const IntegrationStatus & GetStatus() const
CreateIntegrationResult & WithErrors(Aws::Vector< IntegrationError > &&value)
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResult & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
CreateIntegrationResult & WithIntegrationName(Aws::String &&value)
CreateIntegrationResult & WithDescription(const Aws::String &value)
AWS_RDS_API CreateIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateIntegrationResult & WithDataFilter(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
CreateIntegrationResult & WithStatus(IntegrationStatus &&value)
CreateIntegrationResult & WithDataFilter(Aws::String &&value)
CreateIntegrationResult & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetIntegrationName(const Aws::String &value)
CreateIntegrationResult & WithSourceArn(Aws::String &&value)
CreateIntegrationResult & WithIntegrationArn(const char *value)
CreateIntegrationResult & WithSourceArn(const Aws::String &value)
CreateIntegrationResult & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
CreateIntegrationResult & AddTags(Tag &&value)
CreateIntegrationResult & WithTargetArn(const Aws::String &value)
CreateIntegrationResult & WithTargetArn(Aws::String &&value)
CreateIntegrationResult & WithDescription(Aws::String &&value)
CreateIntegrationResult & WithCreateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
CreateIntegrationResult & WithTargetArn(const char *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