AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntegrationRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace RDS
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegration"; }
34
35 AWS_RDS_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
48 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
49 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
50 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
51 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
52 inline CreateIntegrationRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
53 inline CreateIntegrationRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
54 inline CreateIntegrationRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
56
58
62 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
63 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
64 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
65 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
66 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
67 inline CreateIntegrationRequest& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
68 inline CreateIntegrationRequest& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
69 inline CreateIntegrationRequest& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
71
73
76 inline const Aws::String& GetIntegrationName() const{ return m_integrationName; }
77 inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; }
78 inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; }
79 inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); }
80 inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); }
81 inline CreateIntegrationRequest& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;}
82 inline CreateIntegrationRequest& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;}
83 inline CreateIntegrationRequest& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;}
85
87
92 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
93 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
94 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
95 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
96 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
97 inline CreateIntegrationRequest& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
98 inline CreateIntegrationRequest& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
99 inline CreateIntegrationRequest& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
101
103
111 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; }
112 inline bool AdditionalEncryptionContextHasBeenSet() const { return m_additionalEncryptionContextHasBeenSet; }
113 inline void SetAdditionalEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = value; }
114 inline void SetAdditionalEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::move(value); }
117 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
118 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
119 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
120 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
121 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
122 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
123 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
125
127
128 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline CreateIntegrationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
133 inline CreateIntegrationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
134 inline CreateIntegrationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
135 inline CreateIntegrationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
137
139
145 inline const Aws::String& GetDataFilter() const{ return m_dataFilter; }
146 inline bool DataFilterHasBeenSet() const { return m_dataFilterHasBeenSet; }
147 inline void SetDataFilter(const Aws::String& value) { m_dataFilterHasBeenSet = true; m_dataFilter = value; }
148 inline void SetDataFilter(Aws::String&& value) { m_dataFilterHasBeenSet = true; m_dataFilter = std::move(value); }
149 inline void SetDataFilter(const char* value) { m_dataFilterHasBeenSet = true; m_dataFilter.assign(value); }
150 inline CreateIntegrationRequest& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;}
151 inline CreateIntegrationRequest& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;}
152 inline CreateIntegrationRequest& WithDataFilter(const char* value) { SetDataFilter(value); return *this;}
154
156
159 inline const Aws::String& GetDescription() const{ return m_description; }
160 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
161 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
162 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
163 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
164 inline CreateIntegrationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
165 inline CreateIntegrationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
166 inline CreateIntegrationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
168 private:
169
170 Aws::String m_sourceArn;
171 bool m_sourceArnHasBeenSet = false;
172
173 Aws::String m_targetArn;
174 bool m_targetArnHasBeenSet = false;
175
176 Aws::String m_integrationName;
177 bool m_integrationNameHasBeenSet = false;
178
179 Aws::String m_kMSKeyId;
180 bool m_kMSKeyIdHasBeenSet = false;
181
182 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
183 bool m_additionalEncryptionContextHasBeenSet = false;
184
185 Aws::Vector<Tag> m_tags;
186 bool m_tagsHasBeenSet = false;
187
188 Aws::String m_dataFilter;
189 bool m_dataFilterHasBeenSet = false;
190
191 Aws::String m_description;
192 bool m_descriptionHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace RDS
197} // namespace Aws
CreateIntegrationRequest & WithKMSKeyId(const Aws::String &value)
CreateIntegrationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateIntegrationRequest & WithSourceArn(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateIntegrationRequest & WithTargetArn(const char *value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
CreateIntegrationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
CreateIntegrationRequest & WithIntegrationName(const Aws::String &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateIntegrationRequest & WithIntegrationName(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
CreateIntegrationRequest & WithTargetArn(Aws::String &&value)
CreateIntegrationRequest & WithSourceArn(const char *value)
CreateIntegrationRequest & WithDataFilter(const Aws::String &value)
CreateIntegrationRequest & WithDescription(const char *value)
CreateIntegrationRequest & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationRequest & WithKMSKeyId(Aws::String &&value)
CreateIntegrationRequest & WithKMSKeyId(const char *value)
CreateIntegrationRequest & WithDescription(const Aws::String &value)
CreateIntegrationRequest & WithIntegrationName(Aws::String &&value)
CreateIntegrationRequest & WithDataFilter(const char *value)
void SetIntegrationName(const Aws::String &value)
CreateIntegrationRequest & WithDescription(Aws::String &&value)
CreateIntegrationRequest & AddTags(const Tag &value)
virtual const char * GetServiceRequestName() const override
CreateIntegrationRequest & AddTags(Tag &&value)
CreateIntegrationRequest & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
CreateIntegrationRequest & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
CreateIntegrationRequest & WithSourceArn(const Aws::String &value)
CreateIntegrationRequest & WithTargetArn(const Aws::String &value)
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
CreateIntegrationRequest & WithDataFilter(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