AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RedshiftDataProviderSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetServerName() const { return m_serverName; }
40 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
41 template <typename ServerNameT = Aws::String>
42 void SetServerName(ServerNameT&& value) {
43 m_serverNameHasBeenSet = true;
44 m_serverName = std::forward<ServerNameT>(value);
45 }
46 template <typename ServerNameT = Aws::String>
48 SetServerName(std::forward<ServerNameT>(value));
49 return *this;
50 }
52
54
57 inline int GetPort() const { return m_port; }
58 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
59 inline void SetPort(int value) {
60 m_portHasBeenSet = true;
61 m_port = value;
62 }
64 SetPort(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
74 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
75 template <typename DatabaseNameT = Aws::String>
76 void SetDatabaseName(DatabaseNameT&& value) {
77 m_databaseNameHasBeenSet = true;
78 m_databaseName = std::forward<DatabaseNameT>(value);
79 }
80 template <typename DatabaseNameT = Aws::String>
82 SetDatabaseName(std::forward<DatabaseNameT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetS3Path() const { return m_s3Path; }
93 inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; }
94 template <typename S3PathT = Aws::String>
95 void SetS3Path(S3PathT&& value) {
96 m_s3PathHasBeenSet = true;
97 m_s3Path = std::forward<S3PathT>(value);
98 }
99 template <typename S3PathT = Aws::String>
101 SetS3Path(std::forward<S3PathT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetS3AccessRoleArn() const { return m_s3AccessRoleArn; }
111 inline bool S3AccessRoleArnHasBeenSet() const { return m_s3AccessRoleArnHasBeenSet; }
112 template <typename S3AccessRoleArnT = Aws::String>
113 void SetS3AccessRoleArn(S3AccessRoleArnT&& value) {
114 m_s3AccessRoleArnHasBeenSet = true;
115 m_s3AccessRoleArn = std::forward<S3AccessRoleArnT>(value);
116 }
117 template <typename S3AccessRoleArnT = Aws::String>
119 SetS3AccessRoleArn(std::forward<S3AccessRoleArnT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_serverName;
125
126 int m_port{0};
127
128 Aws::String m_databaseName;
129
130 Aws::String m_s3Path;
131
132 Aws::String m_s3AccessRoleArn;
133 bool m_serverNameHasBeenSet = false;
134 bool m_portHasBeenSet = false;
135 bool m_databaseNameHasBeenSet = false;
136 bool m_s3PathHasBeenSet = false;
137 bool m_s3AccessRoleArnHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace DatabaseMigrationService
142} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDataProviderSettings & WithServerName(ServerNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataProviderSettings & WithS3AccessRoleArn(S3AccessRoleArnT &&value)
RedshiftDataProviderSettings & WithDatabaseName(DatabaseNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings()=default
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue