AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MariaDbDataProviderSettings.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/DmsSslModeValue.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API MariaDbDataProviderSettings();
37 AWS_DATABASEMIGRATIONSERVICE_API MariaDbDataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API MariaDbDataProviderSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetServerName() const{ return m_serverName; }
47 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
48 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
49 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
50 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
51 inline MariaDbDataProviderSettings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
52 inline MariaDbDataProviderSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
53 inline MariaDbDataProviderSettings& WithServerName(const char* value) { SetServerName(value); return *this;}
55
57
60 inline int GetPort() const{ return m_port; }
61 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
62 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
63 inline MariaDbDataProviderSettings& WithPort(int value) { SetPort(value); return *this;}
65
67
71 inline const DmsSslModeValue& GetSslMode() const{ return m_sslMode; }
72 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
73 inline void SetSslMode(const DmsSslModeValue& value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
74 inline void SetSslMode(DmsSslModeValue&& value) { m_sslModeHasBeenSet = true; m_sslMode = std::move(value); }
75 inline MariaDbDataProviderSettings& WithSslMode(const DmsSslModeValue& value) { SetSslMode(value); return *this;}
76 inline MariaDbDataProviderSettings& WithSslMode(DmsSslModeValue&& value) { SetSslMode(std::move(value)); return *this;}
78
80
84 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
85 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
86 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
87 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
88 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
89 inline MariaDbDataProviderSettings& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
90 inline MariaDbDataProviderSettings& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
91 inline MariaDbDataProviderSettings& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
93 private:
94
95 Aws::String m_serverName;
96 bool m_serverNameHasBeenSet = false;
97
98 int m_port;
99 bool m_portHasBeenSet = false;
100
101 DmsSslModeValue m_sslMode;
102 bool m_sslModeHasBeenSet = false;
103
104 Aws::String m_certificateArn;
105 bool m_certificateArnHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace DatabaseMigrationService
110} // namespace Aws
MariaDbDataProviderSettings & WithCertificateArn(Aws::String &&value)
MariaDbDataProviderSettings & WithSslMode(DmsSslModeValue &&value)
MariaDbDataProviderSettings & WithServerName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API MariaDbDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
MariaDbDataProviderSettings & WithSslMode(const DmsSslModeValue &value)
AWS_DATABASEMIGRATIONSERVICE_API MariaDbDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MariaDbDataProviderSettings & WithServerName(Aws::String &&value)
MariaDbDataProviderSettings & WithCertificateArn(const char *value)
MariaDbDataProviderSettings & WithCertificateArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue