AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyIntegrationResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/redshift/model/ResponseMetadata.h>
14#include <aws/redshift/model/IntegrationError.h>
15#include <aws/redshift/model/Tag.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 Redshift
31{
32namespace Model
33{
35 {
36 public:
37 AWS_REDSHIFT_API ModifyIntegrationResult();
40
41
43
46 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
47 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArn = value; }
48 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArn = std::move(value); }
49 inline void SetIntegrationArn(const char* value) { m_integrationArn.assign(value); }
50 inline ModifyIntegrationResult& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
51 inline ModifyIntegrationResult& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
52 inline ModifyIntegrationResult& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
54
56
59 inline const Aws::String& GetIntegrationName() const{ return m_integrationName; }
60 inline void SetIntegrationName(const Aws::String& value) { m_integrationName = value; }
61 inline void SetIntegrationName(Aws::String&& value) { m_integrationName = std::move(value); }
62 inline void SetIntegrationName(const char* value) { m_integrationName.assign(value); }
63 inline ModifyIntegrationResult& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;}
64 inline ModifyIntegrationResult& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;}
65 inline ModifyIntegrationResult& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;}
67
69
73 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
74 inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
75 inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
76 inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
77 inline ModifyIntegrationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
78 inline ModifyIntegrationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
79 inline ModifyIntegrationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
81
83
87 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
88 inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; }
89 inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); }
90 inline void SetTargetArn(const char* value) { m_targetArn.assign(value); }
91 inline ModifyIntegrationResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
92 inline ModifyIntegrationResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
93 inline ModifyIntegrationResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
95
97
100 inline const ZeroETLIntegrationStatus& GetStatus() const{ return m_status; }
101 inline void SetStatus(const ZeroETLIntegrationStatus& value) { m_status = value; }
102 inline void SetStatus(ZeroETLIntegrationStatus&& value) { m_status = std::move(value); }
103 inline ModifyIntegrationResult& WithStatus(const ZeroETLIntegrationStatus& value) { SetStatus(value); return *this;}
104 inline ModifyIntegrationResult& WithStatus(ZeroETLIntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
111 inline const Aws::Vector<IntegrationError>& GetErrors() const{ return m_errors; }
112 inline void SetErrors(const Aws::Vector<IntegrationError>& value) { m_errors = value; }
113 inline void SetErrors(Aws::Vector<IntegrationError>&& value) { m_errors = std::move(value); }
114 inline ModifyIntegrationResult& WithErrors(const Aws::Vector<IntegrationError>& value) { SetErrors(value); return *this;}
115 inline ModifyIntegrationResult& WithErrors(Aws::Vector<IntegrationError>&& value) { SetErrors(std::move(value)); return *this;}
116 inline ModifyIntegrationResult& AddErrors(const IntegrationError& value) { m_errors.push_back(value); return *this; }
117 inline ModifyIntegrationResult& AddErrors(IntegrationError&& value) { m_errors.push_back(std::move(value)); return *this; }
119
121
124 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
125 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
126 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
127 inline ModifyIntegrationResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
128 inline ModifyIntegrationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
130
132
135 inline const Aws::String& GetDescription() const{ return m_description; }
136 inline void SetDescription(const Aws::String& value) { m_description = value; }
137 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
138 inline void SetDescription(const char* value) { m_description.assign(value); }
139 inline ModifyIntegrationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
140 inline ModifyIntegrationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
141 inline ModifyIntegrationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
143
145
149 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
150 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyId = value; }
151 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyId = std::move(value); }
152 inline void SetKMSKeyId(const char* value) { m_kMSKeyId.assign(value); }
153 inline ModifyIntegrationResult& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
154 inline ModifyIntegrationResult& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
155 inline ModifyIntegrationResult& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
157
159
165 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; }
166 inline void SetAdditionalEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalEncryptionContext = value; }
167 inline void SetAdditionalEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalEncryptionContext = std::move(value); }
170 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(key, value); return *this; }
171 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
172 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
173 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
174 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
175 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
176 inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContext.emplace(key, value); return *this; }
178
180
183 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
184 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
185 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
186 inline ModifyIntegrationResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
187 inline ModifyIntegrationResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
188 inline ModifyIntegrationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
189 inline ModifyIntegrationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
191
193
194 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
195 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
196 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
198 inline ModifyIntegrationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
200 private:
201
202 Aws::String m_integrationArn;
203
204 Aws::String m_integrationName;
205
206 Aws::String m_sourceArn;
207
208 Aws::String m_targetArn;
209
211
213
214 Aws::Utils::DateTime m_createTime;
215
216 Aws::String m_description;
217
218 Aws::String m_kMSKeyId;
219
220 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
221
222 Aws::Vector<Tag> m_tags;
223
224 ResponseMetadata m_responseMetadata;
225 };
226
227} // namespace Model
228} // namespace Redshift
229} // namespace Aws
void SetStatus(ZeroETLIntegrationStatus &&value)
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
ModifyIntegrationResult & WithIntegrationArn(const Aws::String &value)
void SetErrors(const Aws::Vector< IntegrationError > &value)
ModifyIntegrationResult & WithDescription(const Aws::String &value)
ModifyIntegrationResult & WithSourceArn(const char *value)
ModifyIntegrationResult & AddTags(Tag &&value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
ModifyIntegrationResult & WithDescription(Aws::String &&value)
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
ModifyIntegrationResult & WithIntegrationName(Aws::String &&value)
void SetStatus(const ZeroETLIntegrationStatus &value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
void SetErrors(Aws::Vector< IntegrationError > &&value)
const ZeroETLIntegrationStatus & GetStatus() const
ModifyIntegrationResult & WithErrors(const Aws::Vector< IntegrationError > &value)
ModifyIntegrationResult & WithIntegrationName(const Aws::String &value)
ModifyIntegrationResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_REDSHIFT_API ModifyIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyIntegrationResult & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
ModifyIntegrationResult & WithIntegrationName(const char *value)
ModifyIntegrationResult & WithTargetArn(Aws::String &&value)
ModifyIntegrationResult & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
ModifyIntegrationResult & WithKMSKeyId(Aws::String &&value)
ModifyIntegrationResult & WithTags(Aws::Vector< Tag > &&value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(const char *key, const char *value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
const Aws::Vector< IntegrationError > & GetErrors() const
ModifyIntegrationResult & WithSourceArn(Aws::String &&value)
ModifyIntegrationResult & WithStatus(const ZeroETLIntegrationStatus &value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
ModifyIntegrationResult & AddTags(const Tag &value)
ModifyIntegrationResult & AddErrors(const IntegrationError &value)
ModifyIntegrationResult & WithTargetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetCreateTime(const Aws::Utils::DateTime &value)
ModifyIntegrationResult & WithTags(const Aws::Vector< Tag > &value)
ModifyIntegrationResult & AddErrors(IntegrationError &&value)
ModifyIntegrationResult & WithIntegrationArn(const char *value)
ModifyIntegrationResult & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
AWS_REDSHIFT_API ModifyIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyIntegrationResult & WithCreateTime(Aws::Utils::DateTime &&value)
ModifyIntegrationResult & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
ModifyIntegrationResult & WithTargetArn(const char *value)
ModifyIntegrationResult & WithKMSKeyId(const Aws::String &value)
ModifyIntegrationResult & WithErrors(Aws::Vector< IntegrationError > &&value)
ModifyIntegrationResult & WithStatus(ZeroETLIntegrationStatus &&value)
ModifyIntegrationResult & WithKMSKeyId(const char *value)
ModifyIntegrationResult & WithCreateTime(const Aws::Utils::DateTime &value)
ModifyIntegrationResult & WithIntegrationArn(Aws::String &&value)
ModifyIntegrationResult & WithResponseMetadata(ResponseMetadata &&value)
ModifyIntegrationResult & WithDescription(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetTags(const Aws::Vector< Tag > &value)
ModifyIntegrationResult & WithSourceArn(const Aws::String &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