AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ServerNameT = Aws::String>
48 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet = true; m_serverName = std::forward<ServerNameT>(value); }
49 template<typename ServerNameT = Aws::String>
50 RedshiftDataProviderSettings& WithServerName(ServerNameT&& value) { SetServerName(std::forward<ServerNameT>(value)); return *this;}
52
54
57 inline int GetPort() const { return m_port; }
58 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
59 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
60 inline RedshiftDataProviderSettings& WithPort(int value) { SetPort(value); return *this;}
62
64
67 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
68 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
69 template<typename DatabaseNameT = Aws::String>
70 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
71 template<typename DatabaseNameT = Aws::String>
72 RedshiftDataProviderSettings& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
74
76
80 inline const Aws::String& GetS3Path() const { return m_s3Path; }
81 inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; }
82 template<typename S3PathT = Aws::String>
83 void SetS3Path(S3PathT&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::forward<S3PathT>(value); }
84 template<typename S3PathT = Aws::String>
85 RedshiftDataProviderSettings& WithS3Path(S3PathT&& value) { SetS3Path(std::forward<S3PathT>(value)); return *this;}
87
89
92 inline const Aws::String& GetS3AccessRoleArn() const { return m_s3AccessRoleArn; }
93 inline bool S3AccessRoleArnHasBeenSet() const { return m_s3AccessRoleArnHasBeenSet; }
94 template<typename S3AccessRoleArnT = Aws::String>
95 void SetS3AccessRoleArn(S3AccessRoleArnT&& value) { m_s3AccessRoleArnHasBeenSet = true; m_s3AccessRoleArn = std::forward<S3AccessRoleArnT>(value); }
96 template<typename S3AccessRoleArnT = Aws::String>
97 RedshiftDataProviderSettings& WithS3AccessRoleArn(S3AccessRoleArnT&& value) { SetS3AccessRoleArn(std::forward<S3AccessRoleArnT>(value)); return *this;}
99 private:
100
101 Aws::String m_serverName;
102 bool m_serverNameHasBeenSet = false;
103
104 int m_port{0};
105 bool m_portHasBeenSet = false;
106
107 Aws::String m_databaseName;
108 bool m_databaseNameHasBeenSet = false;
109
110 Aws::String m_s3Path;
111 bool m_s3PathHasBeenSet = false;
112
113 Aws::String m_s3AccessRoleArn;
114 bool m_s3AccessRoleArnHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace DatabaseMigrationService
119} // 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