AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MicrosoftSqlServerDataProviderSettings.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 MicrosoftSqlServerDataProviderSettings();
37 AWS_DATABASEMIGRATIONSERVICE_API MicrosoftSqlServerDataProviderSettings(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); }
52 inline MicrosoftSqlServerDataProviderSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
53 inline MicrosoftSqlServerDataProviderSettings& 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 MicrosoftSqlServerDataProviderSettings& WithPort(int value) { SetPort(value); return *this;}
65
67
70 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
71 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
72 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
73 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
74 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
76 inline MicrosoftSqlServerDataProviderSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
77 inline MicrosoftSqlServerDataProviderSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
79
81
85 inline const DmsSslModeValue& GetSslMode() const{ return m_sslMode; }
86 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
87 inline void SetSslMode(const DmsSslModeValue& value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
88 inline void SetSslMode(DmsSslModeValue&& value) { m_sslModeHasBeenSet = true; m_sslMode = std::move(value); }
90 inline MicrosoftSqlServerDataProviderSettings& WithSslMode(DmsSslModeValue&& value) { SetSslMode(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
99 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
100 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
101 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
102 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
105 inline MicrosoftSqlServerDataProviderSettings& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
107 private:
108
109 Aws::String m_serverName;
110 bool m_serverNameHasBeenSet = false;
111
112 int m_port;
113 bool m_portHasBeenSet = false;
114
115 Aws::String m_databaseName;
116 bool m_databaseNameHasBeenSet = false;
117
118 DmsSslModeValue m_sslMode;
119 bool m_sslModeHasBeenSet = false;
120
121 Aws::String m_certificateArn;
122 bool m_certificateArnHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace DatabaseMigrationService
127} // namespace Aws
MicrosoftSqlServerDataProviderSettings & WithSslMode(DmsSslModeValue &&value)
MicrosoftSqlServerDataProviderSettings & WithCertificateArn(const Aws::String &value)
MicrosoftSqlServerDataProviderSettings & WithServerName(const Aws::String &value)
MicrosoftSqlServerDataProviderSettings & WithDatabaseName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API MicrosoftSqlServerDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API MicrosoftSqlServerDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MicrosoftSqlServerDataProviderSettings & WithSslMode(const DmsSslModeValue &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue