AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationConfigRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dms/model/ComputeConfig.h>
11#include <aws/dms/model/MigrationTypeValue.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/dms/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace DatabaseMigrationService
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_DATABASEMIGRATIONSERVICE_API CreateReplicationConfigRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateReplicationConfig"; }
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
40
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
55 inline const Aws::String& GetReplicationConfigIdentifier() const{ return m_replicationConfigIdentifier; }
56 inline bool ReplicationConfigIdentifierHasBeenSet() const { return m_replicationConfigIdentifierHasBeenSet; }
57 inline void SetReplicationConfigIdentifier(const Aws::String& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = value; }
58 inline void SetReplicationConfigIdentifier(Aws::String&& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = std::move(value); }
59 inline void SetReplicationConfigIdentifier(const char* value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier.assign(value); }
64
66
70 inline const Aws::String& GetSourceEndpointArn() const{ return m_sourceEndpointArn; }
71 inline bool SourceEndpointArnHasBeenSet() const { return m_sourceEndpointArnHasBeenSet; }
72 inline void SetSourceEndpointArn(const Aws::String& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = value; }
73 inline void SetSourceEndpointArn(Aws::String&& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = std::move(value); }
74 inline void SetSourceEndpointArn(const char* value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn.assign(value); }
76 inline CreateReplicationConfigRequest& WithSourceEndpointArn(Aws::String&& value) { SetSourceEndpointArn(std::move(value)); return *this;}
77 inline CreateReplicationConfigRequest& WithSourceEndpointArn(const char* value) { SetSourceEndpointArn(value); return *this;}
79
81
85 inline const Aws::String& GetTargetEndpointArn() const{ return m_targetEndpointArn; }
86 inline bool TargetEndpointArnHasBeenSet() const { return m_targetEndpointArnHasBeenSet; }
87 inline void SetTargetEndpointArn(const Aws::String& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = value; }
88 inline void SetTargetEndpointArn(Aws::String&& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = std::move(value); }
89 inline void SetTargetEndpointArn(const char* value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn.assign(value); }
91 inline CreateReplicationConfigRequest& WithTargetEndpointArn(Aws::String&& value) { SetTargetEndpointArn(std::move(value)); return *this;}
92 inline CreateReplicationConfigRequest& WithTargetEndpointArn(const char* value) { SetTargetEndpointArn(value); return *this;}
94
96
99 inline const ComputeConfig& GetComputeConfig() const{ return m_computeConfig; }
100 inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; }
101 inline void SetComputeConfig(const ComputeConfig& value) { m_computeConfigHasBeenSet = true; m_computeConfig = value; }
102 inline void SetComputeConfig(ComputeConfig&& value) { m_computeConfigHasBeenSet = true; m_computeConfig = std::move(value); }
104 inline CreateReplicationConfigRequest& WithComputeConfig(ComputeConfig&& value) { SetComputeConfig(std::move(value)); return *this;}
106
108
114 inline const MigrationTypeValue& GetReplicationType() const{ return m_replicationType; }
115 inline bool ReplicationTypeHasBeenSet() const { return m_replicationTypeHasBeenSet; }
116 inline void SetReplicationType(const MigrationTypeValue& value) { m_replicationTypeHasBeenSet = true; m_replicationType = value; }
117 inline void SetReplicationType(MigrationTypeValue&& value) { m_replicationTypeHasBeenSet = true; m_replicationType = std::move(value); }
121
123
129 inline const Aws::String& GetTableMappings() const{ return m_tableMappings; }
130 inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; }
131 inline void SetTableMappings(const Aws::String& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = value; }
132 inline void SetTableMappings(Aws::String&& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = std::move(value); }
133 inline void SetTableMappings(const char* value) { m_tableMappingsHasBeenSet = true; m_tableMappings.assign(value); }
135 inline CreateReplicationConfigRequest& WithTableMappings(Aws::String&& value) { SetTableMappings(std::move(value)); return *this;}
136 inline CreateReplicationConfigRequest& WithTableMappings(const char* value) { SetTableMappings(value); return *this;}
138
140
146 inline const Aws::String& GetReplicationSettings() const{ return m_replicationSettings; }
147 inline bool ReplicationSettingsHasBeenSet() const { return m_replicationSettingsHasBeenSet; }
148 inline void SetReplicationSettings(const Aws::String& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = value; }
149 inline void SetReplicationSettings(Aws::String&& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = std::move(value); }
150 inline void SetReplicationSettings(const char* value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings.assign(value); }
153 inline CreateReplicationConfigRequest& WithReplicationSettings(const char* value) { SetReplicationSettings(value); return *this;}
155
157
163 inline const Aws::String& GetSupplementalSettings() const{ return m_supplementalSettings; }
164 inline bool SupplementalSettingsHasBeenSet() const { return m_supplementalSettingsHasBeenSet; }
165 inline void SetSupplementalSettings(const Aws::String& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = value; }
166 inline void SetSupplementalSettings(Aws::String&& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = std::move(value); }
167 inline void SetSupplementalSettings(const char* value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings.assign(value); }
170 inline CreateReplicationConfigRequest& WithSupplementalSettings(const char* value) { SetSupplementalSettings(value); return *this;}
172
174
181 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
182 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
183 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
184 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
185 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
188 inline CreateReplicationConfigRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
190
192
198 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
199 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
200 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
201 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
202 inline CreateReplicationConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
203 inline CreateReplicationConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
204 inline CreateReplicationConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
205 inline CreateReplicationConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
207 private:
208
209 Aws::String m_replicationConfigIdentifier;
210 bool m_replicationConfigIdentifierHasBeenSet = false;
211
212 Aws::String m_sourceEndpointArn;
213 bool m_sourceEndpointArnHasBeenSet = false;
214
215 Aws::String m_targetEndpointArn;
216 bool m_targetEndpointArnHasBeenSet = false;
217
218 ComputeConfig m_computeConfig;
219 bool m_computeConfigHasBeenSet = false;
220
221 MigrationTypeValue m_replicationType;
222 bool m_replicationTypeHasBeenSet = false;
223
224 Aws::String m_tableMappings;
225 bool m_tableMappingsHasBeenSet = false;
226
227 Aws::String m_replicationSettings;
228 bool m_replicationSettingsHasBeenSet = false;
229
230 Aws::String m_supplementalSettings;
231 bool m_supplementalSettingsHasBeenSet = false;
232
233 Aws::String m_resourceIdentifier;
234 bool m_resourceIdentifierHasBeenSet = false;
235
236 Aws::Vector<Tag> m_tags;
237 bool m_tagsHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace DatabaseMigrationService
242} // namespace Aws
CreateReplicationConfigRequest & WithReplicationConfigIdentifier(Aws::String &&value)
CreateReplicationConfigRequest & WithReplicationSettings(const char *value)
CreateReplicationConfigRequest & WithSupplementalSettings(const char *value)
CreateReplicationConfigRequest & WithComputeConfig(ComputeConfig &&value)
CreateReplicationConfigRequest & WithTags(Aws::Vector< Tag > &&value)
CreateReplicationConfigRequest & WithSupplementalSettings(Aws::String &&value)
CreateReplicationConfigRequest & WithSourceEndpointArn(const Aws::String &value)
CreateReplicationConfigRequest & WithResourceIdentifier(const Aws::String &value)
CreateReplicationConfigRequest & WithReplicationType(const MigrationTypeValue &value)
CreateReplicationConfigRequest & WithTargetEndpointArn(const Aws::String &value)
CreateReplicationConfigRequest & WithReplicationConfigIdentifier(const char *value)
CreateReplicationConfigRequest & WithTableMappings(Aws::String &&value)
CreateReplicationConfigRequest & WithSourceEndpointArn(Aws::String &&value)
CreateReplicationConfigRequest & WithTargetEndpointArn(Aws::String &&value)
CreateReplicationConfigRequest & WithReplicationSettings(const Aws::String &value)
CreateReplicationConfigRequest & WithReplicationSettings(Aws::String &&value)
CreateReplicationConfigRequest & WithReplicationConfigIdentifier(const Aws::String &value)
CreateReplicationConfigRequest & WithTableMappings(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
CreateReplicationConfigRequest & WithSupplementalSettings(const Aws::String &value)
CreateReplicationConfigRequest & WithSourceEndpointArn(const char *value)
CreateReplicationConfigRequest & WithTargetEndpointArn(const char *value)
CreateReplicationConfigRequest & WithTags(const Aws::Vector< Tag > &value)
CreateReplicationConfigRequest & WithComputeConfig(const ComputeConfig &value)
CreateReplicationConfigRequest & WithReplicationType(MigrationTypeValue &&value)
CreateReplicationConfigRequest & WithResourceIdentifier(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector