AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataProviderSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/model/RedshiftDataProviderSettings.h>
9#include <aws/dms/model/PostgreSqlDataProviderSettings.h>
10#include <aws/dms/model/MySqlDataProviderSettings.h>
11#include <aws/dms/model/OracleDataProviderSettings.h>
12#include <aws/dms/model/MicrosoftSqlServerDataProviderSettings.h>
13#include <aws/dms/model/DocDbDataProviderSettings.h>
14#include <aws/dms/model/MariaDbDataProviderSettings.h>
15#include <aws/dms/model/MongoDbDataProviderSettings.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace DatabaseMigrationService
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_DATABASEMIGRATIONSERVICE_API DataProviderSettings();
43 AWS_DATABASEMIGRATIONSERVICE_API DataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_DATABASEMIGRATIONSERVICE_API DataProviderSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
50 inline const RedshiftDataProviderSettings& GetRedshiftSettings() const{ return m_redshiftSettings; }
51 inline bool RedshiftSettingsHasBeenSet() const { return m_redshiftSettingsHasBeenSet; }
52 inline void SetRedshiftSettings(const RedshiftDataProviderSettings& value) { m_redshiftSettingsHasBeenSet = true; m_redshiftSettings = value; }
53 inline void SetRedshiftSettings(RedshiftDataProviderSettings&& value) { m_redshiftSettingsHasBeenSet = true; m_redshiftSettings = std::move(value); }
57
59
60 inline const PostgreSqlDataProviderSettings& GetPostgreSqlSettings() const{ return m_postgreSqlSettings; }
61 inline bool PostgreSqlSettingsHasBeenSet() const { return m_postgreSqlSettingsHasBeenSet; }
62 inline void SetPostgreSqlSettings(const PostgreSqlDataProviderSettings& value) { m_postgreSqlSettingsHasBeenSet = true; m_postgreSqlSettings = value; }
63 inline void SetPostgreSqlSettings(PostgreSqlDataProviderSettings&& value) { m_postgreSqlSettingsHasBeenSet = true; m_postgreSqlSettings = std::move(value); }
67
69
70 inline const MySqlDataProviderSettings& GetMySqlSettings() const{ return m_mySqlSettings; }
71 inline bool MySqlSettingsHasBeenSet() const { return m_mySqlSettingsHasBeenSet; }
72 inline void SetMySqlSettings(const MySqlDataProviderSettings& value) { m_mySqlSettingsHasBeenSet = true; m_mySqlSettings = value; }
73 inline void SetMySqlSettings(MySqlDataProviderSettings&& value) { m_mySqlSettingsHasBeenSet = true; m_mySqlSettings = std::move(value); }
75 inline DataProviderSettings& WithMySqlSettings(MySqlDataProviderSettings&& value) { SetMySqlSettings(std::move(value)); return *this;}
77
79
80 inline const OracleDataProviderSettings& GetOracleSettings() const{ return m_oracleSettings; }
81 inline bool OracleSettingsHasBeenSet() const { return m_oracleSettingsHasBeenSet; }
82 inline void SetOracleSettings(const OracleDataProviderSettings& value) { m_oracleSettingsHasBeenSet = true; m_oracleSettings = value; }
83 inline void SetOracleSettings(OracleDataProviderSettings&& value) { m_oracleSettingsHasBeenSet = true; m_oracleSettings = std::move(value); }
85 inline DataProviderSettings& WithOracleSettings(OracleDataProviderSettings&& value) { SetOracleSettings(std::move(value)); return *this;}
87
89
90 inline const MicrosoftSqlServerDataProviderSettings& GetMicrosoftSqlServerSettings() const{ return m_microsoftSqlServerSettings; }
91 inline bool MicrosoftSqlServerSettingsHasBeenSet() const { return m_microsoftSqlServerSettingsHasBeenSet; }
92 inline void SetMicrosoftSqlServerSettings(const MicrosoftSqlServerDataProviderSettings& value) { m_microsoftSqlServerSettingsHasBeenSet = true; m_microsoftSqlServerSettings = value; }
93 inline void SetMicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings&& value) { m_microsoftSqlServerSettingsHasBeenSet = true; m_microsoftSqlServerSettings = std::move(value); }
97
99
100 inline const DocDbDataProviderSettings& GetDocDbSettings() const{ return m_docDbSettings; }
101 inline bool DocDbSettingsHasBeenSet() const { return m_docDbSettingsHasBeenSet; }
102 inline void SetDocDbSettings(const DocDbDataProviderSettings& value) { m_docDbSettingsHasBeenSet = true; m_docDbSettings = value; }
103 inline void SetDocDbSettings(DocDbDataProviderSettings&& value) { m_docDbSettingsHasBeenSet = true; m_docDbSettings = std::move(value); }
105 inline DataProviderSettings& WithDocDbSettings(DocDbDataProviderSettings&& value) { SetDocDbSettings(std::move(value)); return *this;}
107
109
112 inline const MariaDbDataProviderSettings& GetMariaDbSettings() const{ return m_mariaDbSettings; }
113 inline bool MariaDbSettingsHasBeenSet() const { return m_mariaDbSettingsHasBeenSet; }
114 inline void SetMariaDbSettings(const MariaDbDataProviderSettings& value) { m_mariaDbSettingsHasBeenSet = true; m_mariaDbSettings = value; }
115 inline void SetMariaDbSettings(MariaDbDataProviderSettings&& value) { m_mariaDbSettingsHasBeenSet = true; m_mariaDbSettings = std::move(value); }
119
121
124 inline const MongoDbDataProviderSettings& GetMongoDbSettings() const{ return m_mongoDbSettings; }
125 inline bool MongoDbSettingsHasBeenSet() const { return m_mongoDbSettingsHasBeenSet; }
126 inline void SetMongoDbSettings(const MongoDbDataProviderSettings& value) { m_mongoDbSettingsHasBeenSet = true; m_mongoDbSettings = value; }
127 inline void SetMongoDbSettings(MongoDbDataProviderSettings&& value) { m_mongoDbSettingsHasBeenSet = true; m_mongoDbSettings = std::move(value); }
131 private:
132
133 RedshiftDataProviderSettings m_redshiftSettings;
134 bool m_redshiftSettingsHasBeenSet = false;
135
136 PostgreSqlDataProviderSettings m_postgreSqlSettings;
137 bool m_postgreSqlSettingsHasBeenSet = false;
138
139 MySqlDataProviderSettings m_mySqlSettings;
140 bool m_mySqlSettingsHasBeenSet = false;
141
142 OracleDataProviderSettings m_oracleSettings;
143 bool m_oracleSettingsHasBeenSet = false;
144
145 MicrosoftSqlServerDataProviderSettings m_microsoftSqlServerSettings;
146 bool m_microsoftSqlServerSettingsHasBeenSet = false;
147
148 DocDbDataProviderSettings m_docDbSettings;
149 bool m_docDbSettingsHasBeenSet = false;
150
151 MariaDbDataProviderSettings m_mariaDbSettings;
152 bool m_mariaDbSettingsHasBeenSet = false;
153
154 MongoDbDataProviderSettings m_mongoDbSettings;
155 bool m_mongoDbSettingsHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace DatabaseMigrationService
160} // namespace Aws
void SetMySqlSettings(const MySqlDataProviderSettings &value)
const PostgreSqlDataProviderSettings & GetPostgreSqlSettings() const
const DocDbDataProviderSettings & GetDocDbSettings() const
const MicrosoftSqlServerDataProviderSettings & GetMicrosoftSqlServerSettings() const
DataProviderSettings & WithRedshiftSettings(RedshiftDataProviderSettings &&value)
void SetOracleSettings(const OracleDataProviderSettings &value)
void SetRedshiftSettings(RedshiftDataProviderSettings &&value)
const MongoDbDataProviderSettings & GetMongoDbSettings() const
AWS_DATABASEMIGRATIONSERVICE_API DataProviderSettings()
DataProviderSettings & WithPostgreSqlSettings(const PostgreSqlDataProviderSettings &value)
void SetPostgreSqlSettings(PostgreSqlDataProviderSettings &&value)
void SetPostgreSqlSettings(const PostgreSqlDataProviderSettings &value)
DataProviderSettings & WithMicrosoftSqlServerSettings(const MicrosoftSqlServerDataProviderSettings &value)
DataProviderSettings & WithDocDbSettings(const DocDbDataProviderSettings &value)
DataProviderSettings & WithMySqlSettings(MySqlDataProviderSettings &&value)
DataProviderSettings & WithMongoDbSettings(const MongoDbDataProviderSettings &value)
void SetMariaDbSettings(MariaDbDataProviderSettings &&value)
void SetMariaDbSettings(const MariaDbDataProviderSettings &value)
void SetMongoDbSettings(const MongoDbDataProviderSettings &value)
void SetOracleSettings(OracleDataProviderSettings &&value)
void SetDocDbSettings(const DocDbDataProviderSettings &value)
DataProviderSettings & WithDocDbSettings(DocDbDataProviderSettings &&value)
DataProviderSettings & WithMongoDbSettings(MongoDbDataProviderSettings &&value)
void SetMongoDbSettings(MongoDbDataProviderSettings &&value)
DataProviderSettings & WithMySqlSettings(const MySqlDataProviderSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API DataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DataProviderSettings & WithMariaDbSettings(const MariaDbDataProviderSettings &value)
const MySqlDataProviderSettings & GetMySqlSettings() const
DataProviderSettings & WithOracleSettings(const OracleDataProviderSettings &value)
DataProviderSettings & WithPostgreSqlSettings(PostgreSqlDataProviderSettings &&value)
DataProviderSettings & WithOracleSettings(OracleDataProviderSettings &&value)
void SetRedshiftSettings(const RedshiftDataProviderSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API DataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
DataProviderSettings & WithMariaDbSettings(MariaDbDataProviderSettings &&value)
const MariaDbDataProviderSettings & GetMariaDbSettings() const
void SetMicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings &&value)
DataProviderSettings & WithMicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings &&value)
void SetMicrosoftSqlServerSettings(const MicrosoftSqlServerDataProviderSettings &value)
DataProviderSettings & WithRedshiftSettings(const RedshiftDataProviderSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const OracleDataProviderSettings & GetOracleSettings() const
const RedshiftDataProviderSettings & GetRedshiftSettings() const
Aws::Utils::Json::JsonValue JsonValue