AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SybaseSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API SybaseSettings();
36 AWS_DATABASEMIGRATIONSERVICE_API SybaseSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API SybaseSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
48 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
49 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline SybaseSettings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
51 inline SybaseSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
52 inline SybaseSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
54
56
59 inline const Aws::String& GetPassword() const{ return m_password; }
60 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
61 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
62 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
63 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
64 inline SybaseSettings& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
65 inline SybaseSettings& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
66 inline SybaseSettings& WithPassword(const char* value) { SetPassword(value); return *this;}
68
70
73 inline int GetPort() const{ return m_port; }
74 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
75 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
76 inline SybaseSettings& WithPort(int value) { SetPort(value); return *this;}
78
80
83 inline const Aws::String& GetServerName() const{ return m_serverName; }
84 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
85 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
86 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
87 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
88 inline SybaseSettings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
89 inline SybaseSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
90 inline SybaseSettings& WithServerName(const char* value) { SetServerName(value); return *this;}
92
94
97 inline const Aws::String& GetUsername() const{ return m_username; }
98 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
99 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
100 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
101 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
102 inline SybaseSettings& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
103 inline SybaseSettings& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
104 inline SybaseSettings& WithUsername(const char* value) { SetUsername(value); return *this;}
106
108
126 inline const Aws::String& GetSecretsManagerAccessRoleArn() const{ return m_secretsManagerAccessRoleArn; }
127 inline bool SecretsManagerAccessRoleArnHasBeenSet() const { return m_secretsManagerAccessRoleArnHasBeenSet; }
128 inline void SetSecretsManagerAccessRoleArn(const Aws::String& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = value; }
129 inline void SetSecretsManagerAccessRoleArn(Aws::String&& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = std::move(value); }
130 inline void SetSecretsManagerAccessRoleArn(const char* value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn.assign(value); }
133 inline SybaseSettings& WithSecretsManagerAccessRoleArn(const char* value) { SetSecretsManagerAccessRoleArn(value); return *this;}
135
137
142 inline const Aws::String& GetSecretsManagerSecretId() const{ return m_secretsManagerSecretId; }
143 inline bool SecretsManagerSecretIdHasBeenSet() const { return m_secretsManagerSecretIdHasBeenSet; }
144 inline void SetSecretsManagerSecretId(const Aws::String& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = value; }
145 inline void SetSecretsManagerSecretId(Aws::String&& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = std::move(value); }
146 inline void SetSecretsManagerSecretId(const char* value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId.assign(value); }
148 inline SybaseSettings& WithSecretsManagerSecretId(Aws::String&& value) { SetSecretsManagerSecretId(std::move(value)); return *this;}
149 inline SybaseSettings& WithSecretsManagerSecretId(const char* value) { SetSecretsManagerSecretId(value); return *this;}
151 private:
152
153 Aws::String m_databaseName;
154 bool m_databaseNameHasBeenSet = false;
155
156 Aws::String m_password;
157 bool m_passwordHasBeenSet = false;
158
159 int m_port;
160 bool m_portHasBeenSet = false;
161
162 Aws::String m_serverName;
163 bool m_serverNameHasBeenSet = false;
164
165 Aws::String m_username;
166 bool m_usernameHasBeenSet = false;
167
168 Aws::String m_secretsManagerAccessRoleArn;
169 bool m_secretsManagerAccessRoleArnHasBeenSet = false;
170
171 Aws::String m_secretsManagerSecretId;
172 bool m_secretsManagerSecretIdHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace DatabaseMigrationService
177} // namespace Aws
SybaseSettings & WithSecretsManagerSecretId(Aws::String &&value)
SybaseSettings & WithServerName(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API SybaseSettings()
SybaseSettings & WithDatabaseName(const char *value)
SybaseSettings & WithSecretsManagerSecretId(const char *value)
SybaseSettings & WithPassword(Aws::String &&value)
SybaseSettings & WithUsername(Aws::String &&value)
SybaseSettings & WithSecretsManagerAccessRoleArn(const char *value)
SybaseSettings & WithServerName(Aws::String &&value)
SybaseSettings & WithUsername(const char *value)
SybaseSettings & WithSecretsManagerAccessRoleArn(const Aws::String &value)
SybaseSettings & WithDatabaseName(const Aws::String &value)
void SetSecretsManagerSecretId(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API SybaseSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SybaseSettings & WithDatabaseName(Aws::String &&value)
void SetSecretsManagerAccessRoleArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API SybaseSettings(Aws::Utils::Json::JsonView jsonValue)
SybaseSettings & WithPassword(const char *value)
SybaseSettings & WithServerName(const Aws::String &value)
SybaseSettings & WithPassword(const Aws::String &value)
SybaseSettings & WithUsername(const Aws::String &value)
SybaseSettings & WithSecretsManagerAccessRoleArn(Aws::String &&value)
SybaseSettings & WithSecretsManagerSecretId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue