AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModifyIntegrationResult.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:
42 AWS_RDS_API ModifyIntegrationResult() = default;
45
46
48
52 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
53 template<typename SourceArnT = Aws::String>
54 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
55 template<typename SourceArnT = Aws::String>
56 ModifyIntegrationResult& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
58
60
64 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
65 template<typename TargetArnT = Aws::String>
66 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::forward<TargetArnT>(value); }
67 template<typename TargetArnT = Aws::String>
68 ModifyIntegrationResult& WithTargetArn(TargetArnT&& value) { SetTargetArn(std::forward<TargetArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetIntegrationName() const { return m_integrationName; }
76 template<typename IntegrationNameT = Aws::String>
77 void SetIntegrationName(IntegrationNameT&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::forward<IntegrationNameT>(value); }
78 template<typename IntegrationNameT = Aws::String>
79 ModifyIntegrationResult& WithIntegrationName(IntegrationNameT&& value) { SetIntegrationName(std::forward<IntegrationNameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
87 template<typename IntegrationArnT = Aws::String>
88 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::forward<IntegrationArnT>(value); }
89 template<typename IntegrationArnT = Aws::String>
90 ModifyIntegrationResult& WithIntegrationArn(IntegrationArnT&& value) { SetIntegrationArn(std::forward<IntegrationArnT>(value)); return *this;}
92
94
98 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
99 template<typename KMSKeyIdT = Aws::String>
100 void SetKMSKeyId(KMSKeyIdT&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::forward<KMSKeyIdT>(value); }
101 template<typename KMSKeyIdT = Aws::String>
102 ModifyIntegrationResult& WithKMSKeyId(KMSKeyIdT&& value) { SetKMSKeyId(std::forward<KMSKeyIdT>(value)); return *this;}
104
106
112 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const { return m_additionalEncryptionContext; }
113 template<typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
114 void SetAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value); }
115 template<typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
116 ModifyIntegrationResult& WithAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) { SetAdditionalEncryptionContext(std::forward<AdditionalEncryptionContextT>(value)); return *this;}
117 template<typename AdditionalEncryptionContextKeyT = Aws::String, typename AdditionalEncryptionContextValueT = Aws::String>
118 ModifyIntegrationResult& AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT&& key, AdditionalEncryptionContextValueT&& value) {
119 m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key), std::forward<AdditionalEncryptionContextValueT>(value)); return *this;
120 }
122
124
127 inline IntegrationStatus GetStatus() const { return m_status; }
128 inline void SetStatus(IntegrationStatus value) { m_statusHasBeenSet = true; m_status = value; }
129 inline ModifyIntegrationResult& WithStatus(IntegrationStatus value) { SetStatus(value); return *this;}
131
133
134 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
135 template<typename TagsT = Aws::Vector<Tag>>
136 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
137 template<typename TagsT = Aws::Vector<Tag>>
138 ModifyIntegrationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
139 template<typename TagsT = Tag>
140 ModifyIntegrationResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
142
144
148 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
149 template<typename CreateTimeT = Aws::Utils::DateTime>
150 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
151 template<typename CreateTimeT = Aws::Utils::DateTime>
152 ModifyIntegrationResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
154
156
159 inline const Aws::Vector<IntegrationError>& GetErrors() const { return m_errors; }
160 template<typename ErrorsT = Aws::Vector<IntegrationError>>
161 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
162 template<typename ErrorsT = Aws::Vector<IntegrationError>>
163 ModifyIntegrationResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
164 template<typename ErrorsT = IntegrationError>
165 ModifyIntegrationResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
167
169
173 inline const Aws::String& GetDataFilter() const { return m_dataFilter; }
174 template<typename DataFilterT = Aws::String>
175 void SetDataFilter(DataFilterT&& value) { m_dataFilterHasBeenSet = true; m_dataFilter = std::forward<DataFilterT>(value); }
176 template<typename DataFilterT = Aws::String>
177 ModifyIntegrationResult& WithDataFilter(DataFilterT&& value) { SetDataFilter(std::forward<DataFilterT>(value)); return *this;}
179
181
184 inline const Aws::String& GetDescription() const { return m_description; }
185 template<typename DescriptionT = Aws::String>
186 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
187 template<typename DescriptionT = Aws::String>
188 ModifyIntegrationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
190
192
193 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
194 template<typename ResponseMetadataT = ResponseMetadata>
195 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
196 template<typename ResponseMetadataT = ResponseMetadata>
197 ModifyIntegrationResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
199 private:
200
201 Aws::String m_sourceArn;
202 bool m_sourceArnHasBeenSet = false;
203
204 Aws::String m_targetArn;
205 bool m_targetArnHasBeenSet = false;
206
207 Aws::String m_integrationName;
208 bool m_integrationNameHasBeenSet = false;
209
210 Aws::String m_integrationArn;
211 bool m_integrationArnHasBeenSet = false;
212
213 Aws::String m_kMSKeyId;
214 bool m_kMSKeyIdHasBeenSet = false;
215
216 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
217 bool m_additionalEncryptionContextHasBeenSet = false;
218
220 bool m_statusHasBeenSet = false;
221
222 Aws::Vector<Tag> m_tags;
223 bool m_tagsHasBeenSet = false;
224
225 Aws::Utils::DateTime m_createTime{};
226 bool m_createTimeHasBeenSet = false;
227
229 bool m_errorsHasBeenSet = false;
230
231 Aws::String m_dataFilter;
232 bool m_dataFilterHasBeenSet = false;
233
234 Aws::String m_description;
235 bool m_descriptionHasBeenSet = false;
236
237 ResponseMetadata m_responseMetadata;
238 bool m_responseMetadataHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace RDS
243} // 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)
void SetIntegrationArn(IntegrationArnT &&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