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/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/redshift/model/ResponseMetadata.h>
15#include <aws/redshift/model/IntegrationError.h>
16#include <aws/redshift/model/Tag.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Xml
24{
25 class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace Redshift
29{
30namespace Model
31{
32
34 {
35 public:
36 AWS_REDSHIFT_API Integration();
37 AWS_REDSHIFT_API Integration(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_REDSHIFT_API Integration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
49 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
50 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
51 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
52 inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
53 inline Integration& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
54 inline Integration& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
55 inline Integration& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
57
59
62 inline const Aws::String& GetIntegrationName() const{ return m_integrationName; }
63 inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; }
64 inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; }
65 inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); }
66 inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); }
67 inline Integration& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;}
68 inline Integration& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;}
69 inline Integration& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;}
71
73
77 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
78 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
79 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
80 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
81 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
82 inline Integration& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
83 inline Integration& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
84 inline Integration& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
86
88
92 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
93 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
94 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
95 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
96 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
97 inline Integration& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
98 inline Integration& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
99 inline Integration& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
101
103
106 inline const ZeroETLIntegrationStatus& GetStatus() const{ return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(const ZeroETLIntegrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
109 inline void SetStatus(ZeroETLIntegrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 inline Integration& WithStatus(const ZeroETLIntegrationStatus& value) { SetStatus(value); return *this;}
111 inline Integration& WithStatus(ZeroETLIntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::Vector<IntegrationError>& GetErrors() const{ return m_errors; }
119 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
120 inline void SetErrors(const Aws::Vector<IntegrationError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
121 inline void SetErrors(Aws::Vector<IntegrationError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
122 inline Integration& WithErrors(const Aws::Vector<IntegrationError>& value) { SetErrors(value); return *this;}
123 inline Integration& WithErrors(Aws::Vector<IntegrationError>&& value) { SetErrors(std::move(value)); return *this;}
124 inline Integration& AddErrors(const IntegrationError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
125 inline Integration& AddErrors(IntegrationError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
127
129
132 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
133 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
134 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
135 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
136 inline Integration& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
137 inline Integration& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
139
141
144 inline const Aws::String& GetDescription() const{ return m_description; }
145 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
146 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
147 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
148 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
149 inline Integration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
150 inline Integration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 inline Integration& WithDescription(const char* value) { SetDescription(value); return *this;}
153
155
159 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
160 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
161 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
162 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
163 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
164 inline Integration& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
165 inline Integration& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
166 inline Integration& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
168
170
176 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; }
177 inline bool AdditionalEncryptionContextHasBeenSet() const { return m_additionalEncryptionContextHasBeenSet; }
178 inline void SetAdditionalEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = value; }
179 inline void SetAdditionalEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::move(value); }
182 inline Integration& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
183 inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
184 inline Integration& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
185 inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
186 inline Integration& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
187 inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
188 inline Integration& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
190
192
195 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
196 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
197 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
198 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
199 inline Integration& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
200 inline Integration& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
201 inline Integration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
202 inline Integration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
204
206
207 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
208 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
209 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
210 inline Integration& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
211 inline Integration& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
213 private:
214
215 Aws::String m_integrationArn;
216 bool m_integrationArnHasBeenSet = false;
217
218 Aws::String m_integrationName;
219 bool m_integrationNameHasBeenSet = false;
220
221 Aws::String m_sourceArn;
222 bool m_sourceArnHasBeenSet = false;
223
224 Aws::String m_targetArn;
225 bool m_targetArnHasBeenSet = false;
226
228 bool m_statusHasBeenSet = false;
229
231 bool m_errorsHasBeenSet = false;
232
233 Aws::Utils::DateTime m_createTime;
234 bool m_createTimeHasBeenSet = false;
235
236 Aws::String m_description;
237 bool m_descriptionHasBeenSet = false;
238
239 Aws::String m_kMSKeyId;
240 bool m_kMSKeyIdHasBeenSet = false;
241
242 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
243 bool m_additionalEncryptionContextHasBeenSet = false;
244
245 Aws::Vector<Tag> m_tags;
246 bool m_tagsHasBeenSet = false;
247
248 ResponseMetadata m_responseMetadata;
249 };
250
251} // namespace Model
252} // namespace Redshift
253} // namespace Aws
void SetDescription(const Aws::String &value)
Integration & AddErrors(const IntegrationError &value)
AWS_REDSHIFT_API Integration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Integration & WithIntegrationName(const Aws::String &value)
Definition Integration.h:67
void SetCreateTime(Aws::Utils::DateTime &&value)
Integration & WithTargetArn(Aws::String &&value)
Definition Integration.h:98
void SetIntegrationName(Aws::String &&value)
Definition Integration.h:65
const Aws::String & GetIntegrationName() const
Definition Integration.h:62
void SetDescription(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetErrors(Aws::Vector< IntegrationError > &&value)
Integration & WithTargetArn(const char *value)
Definition Integration.h:99
Integration & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
Integration & WithSourceArn(Aws::String &&value)
Definition Integration.h:83
Integration & AddTags(Tag &&value)
const Aws::String & GetSourceArn() const
Definition Integration.h:77
const ResponseMetadata & GetResponseMetadata() const
Integration & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
bool AdditionalEncryptionContextHasBeenSet() const
Integration & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
AWS_REDSHIFT_API Integration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTargetArn(Aws::String &&value)
Definition Integration.h:95
Integration & WithResponseMetadata(const ResponseMetadata &value)
Integration & WithIntegrationArn(const Aws::String &value)
Definition Integration.h:53
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIntegrationName(const char *value)
Definition Integration.h:66
void SetKMSKeyId(const char *value)
Integration & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
Integration & WithTags(const Aws::Vector< Tag > &value)
const ZeroETLIntegrationStatus & GetStatus() const
void SetResponseMetadata(ResponseMetadata &&value)
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetSourceArn(Aws::String &&value)
Definition Integration.h:80
Integration & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
const Aws::String & GetIntegrationArn() const
Definition Integration.h:48
const Aws::Utils::DateTime & GetCreateTime() const
Integration & WithKMSKeyId(const Aws::String &value)
Integration & WithErrors(Aws::Vector< IntegrationError > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
Integration & WithIntegrationArn(const char *value)
Definition Integration.h:55
Integration & WithSourceArn(const Aws::String &value)
Definition Integration.h:82
Integration & WithDescription(const Aws::String &value)
void SetTargetArn(const char *value)
Definition Integration.h:96
Integration & WithIntegrationArn(Aws::String &&value)
Definition Integration.h:54
Integration & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Integration & WithDescription(const char *value)
Integration & WithCreateTime(const Aws::Utils::DateTime &value)
void SetStatus(const ZeroETLIntegrationStatus &value)
void SetTags(const Aws::Vector< Tag > &value)
Integration & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
Integration & WithTargetArn(const Aws::String &value)
Definition Integration.h:97
void SetStatus(ZeroETLIntegrationStatus &&value)
Integration & WithSourceArn(const char *value)
Definition Integration.h:84
const Aws::String & GetKMSKeyId() const
Integration & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
void SetIntegrationArn(Aws::String &&value)
Definition Integration.h:51
Integration & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< IntegrationError > & GetErrors() const
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetSourceArn(const char *value)
Definition Integration.h:81
void SetIntegrationName(const Aws::String &value)
Definition Integration.h:64
Integration & AddErrors(IntegrationError &&value)
Integration & WithStatus(const ZeroETLIntegrationStatus &value)
void SetKMSKeyId(const Aws::String &value)
void SetErrors(const Aws::Vector< IntegrationError > &value)
void SetTargetArn(const Aws::String &value)
Definition Integration.h:94
void SetIntegrationArn(const char *value)
Definition Integration.h:52
void SetIntegrationArn(const Aws::String &value)
Definition Integration.h:50
void SetKMSKeyId(Aws::String &&value)
Integration & WithIntegrationName(Aws::String &&value)
Definition Integration.h:68
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetTargetArn() const
Definition Integration.h:92
Integration & WithKMSKeyId(const char *value)
Integration & WithKMSKeyId(Aws::String &&value)
Integration & WithTags(Aws::Vector< Tag > &&value)
Integration & WithIntegrationName(const char *value)
Definition Integration.h:69
Integration & WithDescription(Aws::String &&value)
Integration & AddTags(const Tag &value)
Integration & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
Integration & WithStatus(ZeroETLIntegrationStatus &&value)
void SetDescription(Aws::String &&value)
Integration & AddAdditionalEncryptionContext(const char *key, const char *value)
void SetSourceArn(const Aws::String &value)
Definition Integration.h:79
Integration & WithErrors(const Aws::Vector< IntegrationError > &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
std::basic_ostream< char, std::char_traits< char > > OStream