AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
IbmDb2LuwDataProviderSettings.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 IbmDb2LuwDataProviderSettings() = default;
37 AWS_DATABASEMIGRATIONSERVICE_API IbmDb2LuwDataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API IbmDb2LuwDataProviderSettings& 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 template<typename ServerNameT = Aws::String>
49 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet = true; m_serverName = std::forward<ServerNameT>(value); }
50 template<typename ServerNameT = Aws::String>
51 IbmDb2LuwDataProviderSettings& WithServerName(ServerNameT&& value) { SetServerName(std::forward<ServerNameT>(value)); return *this;}
53
55
58 inline int GetPort() const { return m_port; }
59 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
60 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
61 inline IbmDb2LuwDataProviderSettings& WithPort(int value) { SetPort(value); return *this;}
63
65
68 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
69 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
70 template<typename DatabaseNameT = Aws::String>
71 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
72 template<typename DatabaseNameT = Aws::String>
73 IbmDb2LuwDataProviderSettings& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
75
77
82 inline DmsSslModeValue GetSslMode() const { return m_sslMode; }
83 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
84 inline void SetSslMode(DmsSslModeValue value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
87
89
93 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
94 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
95 template<typename CertificateArnT = Aws::String>
96 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
97 template<typename CertificateArnT = Aws::String>
98 IbmDb2LuwDataProviderSettings& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
100
102
106 inline const Aws::String& GetS3Path() const { return m_s3Path; }
107 inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; }
108 template<typename S3PathT = Aws::String>
109 void SetS3Path(S3PathT&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::forward<S3PathT>(value); }
110 template<typename S3PathT = Aws::String>
111 IbmDb2LuwDataProviderSettings& WithS3Path(S3PathT&& value) { SetS3Path(std::forward<S3PathT>(value)); return *this;}
113
115
118 inline const Aws::String& GetS3AccessRoleArn() const { return m_s3AccessRoleArn; }
119 inline bool S3AccessRoleArnHasBeenSet() const { return m_s3AccessRoleArnHasBeenSet; }
120 template<typename S3AccessRoleArnT = Aws::String>
121 void SetS3AccessRoleArn(S3AccessRoleArnT&& value) { m_s3AccessRoleArnHasBeenSet = true; m_s3AccessRoleArn = std::forward<S3AccessRoleArnT>(value); }
122 template<typename S3AccessRoleArnT = Aws::String>
123 IbmDb2LuwDataProviderSettings& WithS3AccessRoleArn(S3AccessRoleArnT&& value) { SetS3AccessRoleArn(std::forward<S3AccessRoleArnT>(value)); return *this;}
125 private:
126
127 Aws::String m_serverName;
128 bool m_serverNameHasBeenSet = false;
129
130 int m_port{0};
131 bool m_portHasBeenSet = false;
132
133 Aws::String m_databaseName;
134 bool m_databaseNameHasBeenSet = false;
135
137 bool m_sslModeHasBeenSet = false;
138
139 Aws::String m_certificateArn;
140 bool m_certificateArnHasBeenSet = false;
141
142 Aws::String m_s3Path;
143 bool m_s3PathHasBeenSet = false;
144
145 Aws::String m_s3AccessRoleArn;
146 bool m_s3AccessRoleArnHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DatabaseMigrationService
151} // namespace Aws
IbmDb2LuwDataProviderSettings & WithS3AccessRoleArn(S3AccessRoleArnT &&value)
IbmDb2LuwDataProviderSettings & WithDatabaseName(DatabaseNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API IbmDb2LuwDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
IbmDb2LuwDataProviderSettings & WithServerName(ServerNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API IbmDb2LuwDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API IbmDb2LuwDataProviderSettings()=default
IbmDb2LuwDataProviderSettings & WithCertificateArn(CertificateArnT &&value)
IbmDb2LuwDataProviderSettings & WithSslMode(DmsSslModeValue value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue