AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationConfig.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/MigrationTypeValue.h>
10#include <aws/dms/model/ComputeConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API ReplicationConfig();
39 AWS_DATABASEMIGRATIONSERVICE_API ReplicationConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API ReplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetReplicationConfigIdentifier() const{ return m_replicationConfigIdentifier; }
50 inline bool ReplicationConfigIdentifierHasBeenSet() const { return m_replicationConfigIdentifierHasBeenSet; }
51 inline void SetReplicationConfigIdentifier(const Aws::String& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = value; }
52 inline void SetReplicationConfigIdentifier(Aws::String&& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = std::move(value); }
53 inline void SetReplicationConfigIdentifier(const char* value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier.assign(value); }
56 inline ReplicationConfig& WithReplicationConfigIdentifier(const char* value) { SetReplicationConfigIdentifier(value); return *this;}
58
60
64 inline const Aws::String& GetReplicationConfigArn() const{ return m_replicationConfigArn; }
65 inline bool ReplicationConfigArnHasBeenSet() const { return m_replicationConfigArnHasBeenSet; }
66 inline void SetReplicationConfigArn(const Aws::String& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = value; }
67 inline void SetReplicationConfigArn(Aws::String&& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = std::move(value); }
68 inline void SetReplicationConfigArn(const char* value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn.assign(value); }
70 inline ReplicationConfig& WithReplicationConfigArn(Aws::String&& value) { SetReplicationConfigArn(std::move(value)); return *this;}
71 inline ReplicationConfig& WithReplicationConfigArn(const char* value) { SetReplicationConfigArn(value); return *this;}
73
75
79 inline const Aws::String& GetSourceEndpointArn() const{ return m_sourceEndpointArn; }
80 inline bool SourceEndpointArnHasBeenSet() const { return m_sourceEndpointArnHasBeenSet; }
81 inline void SetSourceEndpointArn(const Aws::String& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = value; }
82 inline void SetSourceEndpointArn(Aws::String&& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = std::move(value); }
83 inline void SetSourceEndpointArn(const char* value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn.assign(value); }
84 inline ReplicationConfig& WithSourceEndpointArn(const Aws::String& value) { SetSourceEndpointArn(value); return *this;}
85 inline ReplicationConfig& WithSourceEndpointArn(Aws::String&& value) { SetSourceEndpointArn(std::move(value)); return *this;}
86 inline ReplicationConfig& WithSourceEndpointArn(const char* value) { SetSourceEndpointArn(value); return *this;}
88
90
94 inline const Aws::String& GetTargetEndpointArn() const{ return m_targetEndpointArn; }
95 inline bool TargetEndpointArnHasBeenSet() const { return m_targetEndpointArnHasBeenSet; }
96 inline void SetTargetEndpointArn(const Aws::String& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = value; }
97 inline void SetTargetEndpointArn(Aws::String&& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = std::move(value); }
98 inline void SetTargetEndpointArn(const char* value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn.assign(value); }
99 inline ReplicationConfig& WithTargetEndpointArn(const Aws::String& value) { SetTargetEndpointArn(value); return *this;}
100 inline ReplicationConfig& WithTargetEndpointArn(Aws::String&& value) { SetTargetEndpointArn(std::move(value)); return *this;}
101 inline ReplicationConfig& WithTargetEndpointArn(const char* value) { SetTargetEndpointArn(value); return *this;}
103
105
108 inline const MigrationTypeValue& GetReplicationType() const{ return m_replicationType; }
109 inline bool ReplicationTypeHasBeenSet() const { return m_replicationTypeHasBeenSet; }
110 inline void SetReplicationType(const MigrationTypeValue& value) { m_replicationTypeHasBeenSet = true; m_replicationType = value; }
111 inline void SetReplicationType(MigrationTypeValue&& value) { m_replicationTypeHasBeenSet = true; m_replicationType = std::move(value); }
112 inline ReplicationConfig& WithReplicationType(const MigrationTypeValue& value) { SetReplicationType(value); return *this;}
113 inline ReplicationConfig& WithReplicationType(MigrationTypeValue&& value) { SetReplicationType(std::move(value)); return *this;}
115
117
120 inline const ComputeConfig& GetComputeConfig() const{ return m_computeConfig; }
121 inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; }
122 inline void SetComputeConfig(const ComputeConfig& value) { m_computeConfigHasBeenSet = true; m_computeConfig = value; }
123 inline void SetComputeConfig(ComputeConfig&& value) { m_computeConfigHasBeenSet = true; m_computeConfig = std::move(value); }
124 inline ReplicationConfig& WithComputeConfig(const ComputeConfig& value) { SetComputeConfig(value); return *this;}
125 inline ReplicationConfig& WithComputeConfig(ComputeConfig&& value) { SetComputeConfig(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetReplicationSettings() const{ return m_replicationSettings; }
133 inline bool ReplicationSettingsHasBeenSet() const { return m_replicationSettingsHasBeenSet; }
134 inline void SetReplicationSettings(const Aws::String& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = value; }
135 inline void SetReplicationSettings(Aws::String&& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = std::move(value); }
136 inline void SetReplicationSettings(const char* value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings.assign(value); }
138 inline ReplicationConfig& WithReplicationSettings(Aws::String&& value) { SetReplicationSettings(std::move(value)); return *this;}
139 inline ReplicationConfig& WithReplicationSettings(const char* value) { SetReplicationSettings(value); return *this;}
141
143
146 inline const Aws::String& GetSupplementalSettings() const{ return m_supplementalSettings; }
147 inline bool SupplementalSettingsHasBeenSet() const { return m_supplementalSettingsHasBeenSet; }
148 inline void SetSupplementalSettings(const Aws::String& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = value; }
149 inline void SetSupplementalSettings(Aws::String&& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = std::move(value); }
150 inline void SetSupplementalSettings(const char* value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings.assign(value); }
152 inline ReplicationConfig& WithSupplementalSettings(Aws::String&& value) { SetSupplementalSettings(std::move(value)); return *this;}
153 inline ReplicationConfig& WithSupplementalSettings(const char* value) { SetSupplementalSettings(value); return *this;}
155
157
160 inline const Aws::String& GetTableMappings() const{ return m_tableMappings; }
161 inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; }
162 inline void SetTableMappings(const Aws::String& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = value; }
163 inline void SetTableMappings(Aws::String&& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = std::move(value); }
164 inline void SetTableMappings(const char* value) { m_tableMappingsHasBeenSet = true; m_tableMappings.assign(value); }
165 inline ReplicationConfig& WithTableMappings(const Aws::String& value) { SetTableMappings(value); return *this;}
166 inline ReplicationConfig& WithTableMappings(Aws::String&& value) { SetTableMappings(std::move(value)); return *this;}
167 inline ReplicationConfig& WithTableMappings(const char* value) { SetTableMappings(value); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetReplicationConfigCreateTime() const{ return m_replicationConfigCreateTime; }
175 inline bool ReplicationConfigCreateTimeHasBeenSet() const { return m_replicationConfigCreateTimeHasBeenSet; }
176 inline void SetReplicationConfigCreateTime(const Aws::Utils::DateTime& value) { m_replicationConfigCreateTimeHasBeenSet = true; m_replicationConfigCreateTime = value; }
177 inline void SetReplicationConfigCreateTime(Aws::Utils::DateTime&& value) { m_replicationConfigCreateTimeHasBeenSet = true; m_replicationConfigCreateTime = std::move(value); }
181
183
186 inline const Aws::Utils::DateTime& GetReplicationConfigUpdateTime() const{ return m_replicationConfigUpdateTime; }
187 inline bool ReplicationConfigUpdateTimeHasBeenSet() const { return m_replicationConfigUpdateTimeHasBeenSet; }
188 inline void SetReplicationConfigUpdateTime(const Aws::Utils::DateTime& value) { m_replicationConfigUpdateTimeHasBeenSet = true; m_replicationConfigUpdateTime = value; }
189 inline void SetReplicationConfigUpdateTime(Aws::Utils::DateTime&& value) { m_replicationConfigUpdateTimeHasBeenSet = true; m_replicationConfigUpdateTime = std::move(value); }
193 private:
194
195 Aws::String m_replicationConfigIdentifier;
196 bool m_replicationConfigIdentifierHasBeenSet = false;
197
198 Aws::String m_replicationConfigArn;
199 bool m_replicationConfigArnHasBeenSet = false;
200
201 Aws::String m_sourceEndpointArn;
202 bool m_sourceEndpointArnHasBeenSet = false;
203
204 Aws::String m_targetEndpointArn;
205 bool m_targetEndpointArnHasBeenSet = false;
206
207 MigrationTypeValue m_replicationType;
208 bool m_replicationTypeHasBeenSet = false;
209
210 ComputeConfig m_computeConfig;
211 bool m_computeConfigHasBeenSet = false;
212
213 Aws::String m_replicationSettings;
214 bool m_replicationSettingsHasBeenSet = false;
215
216 Aws::String m_supplementalSettings;
217 bool m_supplementalSettingsHasBeenSet = false;
218
219 Aws::String m_tableMappings;
220 bool m_tableMappingsHasBeenSet = false;
221
222 Aws::Utils::DateTime m_replicationConfigCreateTime;
223 bool m_replicationConfigCreateTimeHasBeenSet = false;
224
225 Aws::Utils::DateTime m_replicationConfigUpdateTime;
226 bool m_replicationConfigUpdateTimeHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace DatabaseMigrationService
231} // namespace Aws
ReplicationConfig & WithReplicationConfigArn(const char *value)
ReplicationConfig & WithTableMappings(const char *value)
void SetReplicationConfigUpdateTime(Aws::Utils::DateTime &&value)
ReplicationConfig & WithReplicationConfigUpdateTime(Aws::Utils::DateTime &&value)
ReplicationConfig & WithReplicationConfigCreateTime(const Aws::Utils::DateTime &value)
ReplicationConfig & WithSourceEndpointArn(const Aws::String &value)
ReplicationConfig & WithTargetEndpointArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfig & WithSourceEndpointArn(const char *value)
ReplicationConfig & WithComputeConfig(const ComputeConfig &value)
ReplicationConfig & WithComputeConfig(ComputeConfig &&value)
ReplicationConfig & WithReplicationConfigUpdateTime(const Aws::Utils::DateTime &value)
ReplicationConfig & WithReplicationType(MigrationTypeValue &&value)
ReplicationConfig & WithSourceEndpointArn(Aws::String &&value)
ReplicationConfig & WithSupplementalSettings(const Aws::String &value)
ReplicationConfig & WithTargetEndpointArn(Aws::String &&value)
const Aws::Utils::DateTime & GetReplicationConfigUpdateTime() const
AWS_DATABASEMIGRATIONSERVICE_API ReplicationConfig()
ReplicationConfig & WithReplicationConfigIdentifier(const Aws::String &value)
ReplicationConfig & WithReplicationType(const MigrationTypeValue &value)
void SetReplicationType(const MigrationTypeValue &value)
ReplicationConfig & WithReplicationConfigArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetReplicationConfigCreateTime(Aws::Utils::DateTime &&value)
ReplicationConfig & WithTargetEndpointArn(const char *value)
void SetReplicationConfigUpdateTime(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfig & WithReplicationConfigIdentifier(const char *value)
ReplicationConfig & WithReplicationSettings(const Aws::String &value)
const Aws::Utils::DateTime & GetReplicationConfigCreateTime() const
ReplicationConfig & WithSupplementalSettings(const char *value)
ReplicationConfig & WithReplicationSettings(Aws::String &&value)
ReplicationConfig & WithReplicationConfigArn(Aws::String &&value)
ReplicationConfig & WithReplicationConfigIdentifier(Aws::String &&value)
ReplicationConfig & WithReplicationConfigCreateTime(Aws::Utils::DateTime &&value)
ReplicationConfig & WithTableMappings(Aws::String &&value)
void SetReplicationConfigCreateTime(const Aws::Utils::DateTime &value)
ReplicationConfig & WithReplicationSettings(const char *value)
ReplicationConfig & WithTableMappings(const Aws::String &value)
ReplicationConfig & WithSupplementalSettings(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue