AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDataProviderSettings.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 RedshiftDataProviderSettings();
36 AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetServerName() const{ return m_serverName; }
46 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
47 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
48 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
49 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
50 inline RedshiftDataProviderSettings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
51 inline RedshiftDataProviderSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
52 inline RedshiftDataProviderSettings& WithServerName(const char* value) { SetServerName(value); return *this;}
54
56
59 inline int GetPort() const{ return m_port; }
60 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
61 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
62 inline RedshiftDataProviderSettings& WithPort(int value) { SetPort(value); return *this;}
64
66
69 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
70 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
71 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
72 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
73 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
74 inline RedshiftDataProviderSettings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
75 inline RedshiftDataProviderSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
76 inline RedshiftDataProviderSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
78 private:
79
80 Aws::String m_serverName;
81 bool m_serverNameHasBeenSet = false;
82
83 int m_port;
84 bool m_portHasBeenSet = false;
85
86 Aws::String m_databaseName;
87 bool m_databaseNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DatabaseMigrationService
92} // namespace Aws
RedshiftDataProviderSettings & WithDatabaseName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDataProviderSettings & WithServerName(Aws::String &&value)
RedshiftDataProviderSettings & WithDatabaseName(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataProviderSettings & WithServerName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue