AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataProvider.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/dms/model/DataProviderSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API DataProvider();
37 AWS_DATABASEMIGRATIONSERVICE_API DataProvider(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API DataProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDataProviderName() const{ return m_dataProviderName; }
47 inline bool DataProviderNameHasBeenSet() const { return m_dataProviderNameHasBeenSet; }
48 inline void SetDataProviderName(const Aws::String& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = value; }
49 inline void SetDataProviderName(Aws::String&& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = std::move(value); }
50 inline void SetDataProviderName(const char* value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName.assign(value); }
51 inline DataProvider& WithDataProviderName(const Aws::String& value) { SetDataProviderName(value); return *this;}
52 inline DataProvider& WithDataProviderName(Aws::String&& value) { SetDataProviderName(std::move(value)); return *this;}
53 inline DataProvider& WithDataProviderName(const char* value) { SetDataProviderName(value); return *this;}
55
57
61 inline const Aws::String& GetDataProviderArn() const{ return m_dataProviderArn; }
62 inline bool DataProviderArnHasBeenSet() const { return m_dataProviderArnHasBeenSet; }
63 inline void SetDataProviderArn(const Aws::String& value) { m_dataProviderArnHasBeenSet = true; m_dataProviderArn = value; }
64 inline void SetDataProviderArn(Aws::String&& value) { m_dataProviderArnHasBeenSet = true; m_dataProviderArn = std::move(value); }
65 inline void SetDataProviderArn(const char* value) { m_dataProviderArnHasBeenSet = true; m_dataProviderArn.assign(value); }
66 inline DataProvider& WithDataProviderArn(const Aws::String& value) { SetDataProviderArn(value); return *this;}
67 inline DataProvider& WithDataProviderArn(Aws::String&& value) { SetDataProviderArn(std::move(value)); return *this;}
68 inline DataProvider& WithDataProviderArn(const char* value) { SetDataProviderArn(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetDataProviderCreationTime() const{ return m_dataProviderCreationTime; }
76 inline bool DataProviderCreationTimeHasBeenSet() const { return m_dataProviderCreationTimeHasBeenSet; }
77 inline void SetDataProviderCreationTime(const Aws::Utils::DateTime& value) { m_dataProviderCreationTimeHasBeenSet = true; m_dataProviderCreationTime = value; }
78 inline void SetDataProviderCreationTime(Aws::Utils::DateTime&& value) { m_dataProviderCreationTimeHasBeenSet = true; m_dataProviderCreationTime = std::move(value); }
82
84
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline DataProvider& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline DataProvider& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline DataProvider& WithDescription(const char* value) { SetDescription(value); return *this;}
99
101
109 inline const Aws::String& GetEngine() const{ return m_engine; }
110 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
111 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
112 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
113 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
114 inline DataProvider& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
115 inline DataProvider& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
116 inline DataProvider& WithEngine(const char* value) { SetEngine(value); return *this;}
118
120
123 inline const DataProviderSettings& GetSettings() const{ return m_settings; }
124 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
125 inline void SetSettings(const DataProviderSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
126 inline void SetSettings(DataProviderSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
127 inline DataProvider& WithSettings(const DataProviderSettings& value) { SetSettings(value); return *this;}
128 inline DataProvider& WithSettings(DataProviderSettings&& value) { SetSettings(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_dataProviderName;
133 bool m_dataProviderNameHasBeenSet = false;
134
135 Aws::String m_dataProviderArn;
136 bool m_dataProviderArnHasBeenSet = false;
137
138 Aws::Utils::DateTime m_dataProviderCreationTime;
139 bool m_dataProviderCreationTimeHasBeenSet = false;
140
141 Aws::String m_description;
142 bool m_descriptionHasBeenSet = false;
143
144 Aws::String m_engine;
145 bool m_engineHasBeenSet = false;
146
147 DataProviderSettings m_settings;
148 bool m_settingsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace DatabaseMigrationService
153} // namespace Aws
DataProvider & WithDataProviderCreationTime(Aws::Utils::DateTime &&value)
DataProvider & WithDataProviderArn(const char *value)
DataProvider & WithSettings(DataProviderSettings &&value)
void SetSettings(DataProviderSettings &&value)
DataProvider & WithEngine(const Aws::String &value)
DataProvider & WithSettings(const DataProviderSettings &value)
DataProvider & WithDataProviderArn(const Aws::String &value)
void SetSettings(const DataProviderSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API DataProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataProviderCreationTime(Aws::Utils::DateTime &&value)
void SetDataProviderArn(const Aws::String &value)
DataProvider & WithDataProviderName(Aws::String &&value)
DataProvider & WithEngine(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DataProvider & WithDataProviderArn(Aws::String &&value)
DataProvider & WithDataProviderName(const Aws::String &value)
DataProvider & WithDescription(Aws::String &&value)
void SetDataProviderCreationTime(const Aws::Utils::DateTime &value)
DataProvider & WithDescription(const Aws::String &value)
DataProvider & WithDescription(const char *value)
void SetDataProviderName(const Aws::String &value)
DataProvider & WithDataProviderCreationTime(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API DataProvider()
const DataProviderSettings & GetSettings() const
DataProvider & WithEngine(Aws::String &&value)
void SetDescription(const Aws::String &value)
DataProvider & WithDataProviderName(const char *value)
const Aws::Utils::DateTime & GetDataProviderCreationTime() const
AWS_DATABASEMIGRATIONSERVICE_API DataProvider(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue