AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MySqlDataProviderSettings.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 MySqlDataProviderSettings();
37 AWS_DATABASEMIGRATIONSERVICE_API MySqlDataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API MySqlDataProviderSettings& 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 MySqlDataProviderSettings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
52 inline MySqlDataProviderSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
53 inline MySqlDataProviderSettings& 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 MySqlDataProviderSettings& 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 MySqlDataProviderSettings& WithSslMode(const DmsSslModeValue& value) { SetSslMode(value); return *this;}
76 inline MySqlDataProviderSettings& 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 MySqlDataProviderSettings& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
90 inline MySqlDataProviderSettings& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
91 inline MySqlDataProviderSettings& 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
AWS_DATABASEMIGRATIONSERVICE_API MySqlDataProviderSettings()
MySqlDataProviderSettings & WithCertificateArn(const char *value)
MySqlDataProviderSettings & WithServerName(const Aws::String &value)
MySqlDataProviderSettings & WithSslMode(const DmsSslModeValue &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MySqlDataProviderSettings & WithCertificateArn(const Aws::String &value)
MySqlDataProviderSettings & WithCertificateArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API MySqlDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API MySqlDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MySqlDataProviderSettings & WithServerName(Aws::String &&value)
MySqlDataProviderSettings & WithSslMode(DmsSslModeValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue