AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftConnectorProfileProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_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 Appflow
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseUrl() const{ return m_databaseUrl; }
46 inline bool DatabaseUrlHasBeenSet() const { return m_databaseUrlHasBeenSet; }
47 inline void SetDatabaseUrl(const Aws::String& value) { m_databaseUrlHasBeenSet = true; m_databaseUrl = value; }
48 inline void SetDatabaseUrl(Aws::String&& value) { m_databaseUrlHasBeenSet = true; m_databaseUrl = std::move(value); }
49 inline void SetDatabaseUrl(const char* value) { m_databaseUrlHasBeenSet = true; m_databaseUrl.assign(value); }
51 inline RedshiftConnectorProfileProperties& WithDatabaseUrl(Aws::String&& value) { SetDatabaseUrl(std::move(value)); return *this;}
52 inline RedshiftConnectorProfileProperties& WithDatabaseUrl(const char* value) { SetDatabaseUrl(value); return *this;}
54
56
59 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
60 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
61 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
62 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
63 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
64 inline RedshiftConnectorProfileProperties& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
65 inline RedshiftConnectorProfileProperties& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
66 inline RedshiftConnectorProfileProperties& WithBucketName(const char* value) { SetBucketName(value); return *this;}
68
70
74 inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
75 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
76 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
77 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
78 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
80 inline RedshiftConnectorProfileProperties& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
81 inline RedshiftConnectorProfileProperties& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
83
85
92 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
93 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
94 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
95 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
96 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
97 inline RedshiftConnectorProfileProperties& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
98 inline RedshiftConnectorProfileProperties& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
99 inline RedshiftConnectorProfileProperties& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
101
103
110 inline const Aws::String& GetDataApiRoleArn() const{ return m_dataApiRoleArn; }
111 inline bool DataApiRoleArnHasBeenSet() const { return m_dataApiRoleArnHasBeenSet; }
112 inline void SetDataApiRoleArn(const Aws::String& value) { m_dataApiRoleArnHasBeenSet = true; m_dataApiRoleArn = value; }
113 inline void SetDataApiRoleArn(Aws::String&& value) { m_dataApiRoleArnHasBeenSet = true; m_dataApiRoleArn = std::move(value); }
114 inline void SetDataApiRoleArn(const char* value) { m_dataApiRoleArnHasBeenSet = true; m_dataApiRoleArn.assign(value); }
116 inline RedshiftConnectorProfileProperties& WithDataApiRoleArn(Aws::String&& value) { SetDataApiRoleArn(std::move(value)); return *this;}
117 inline RedshiftConnectorProfileProperties& WithDataApiRoleArn(const char* value) { SetDataApiRoleArn(value); return *this;}
119
121
125 inline bool GetIsRedshiftServerless() const{ return m_isRedshiftServerless; }
126 inline bool IsRedshiftServerlessHasBeenSet() const { return m_isRedshiftServerlessHasBeenSet; }
127 inline void SetIsRedshiftServerless(bool value) { m_isRedshiftServerlessHasBeenSet = true; m_isRedshiftServerless = value; }
130
132
135 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
136 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
137 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
138 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
139 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
142 inline RedshiftConnectorProfileProperties& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
144
146
149 inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; }
150 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
151 inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; }
152 inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); }
153 inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); }
155 inline RedshiftConnectorProfileProperties& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;}
156 inline RedshiftConnectorProfileProperties& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;}
158
160
163 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
164 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
165 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
166 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
167 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
169 inline RedshiftConnectorProfileProperties& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
170 inline RedshiftConnectorProfileProperties& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
172 private:
173
174 Aws::String m_databaseUrl;
175 bool m_databaseUrlHasBeenSet = false;
176
177 Aws::String m_bucketName;
178 bool m_bucketNameHasBeenSet = false;
179
180 Aws::String m_bucketPrefix;
181 bool m_bucketPrefixHasBeenSet = false;
182
183 Aws::String m_roleArn;
184 bool m_roleArnHasBeenSet = false;
185
186 Aws::String m_dataApiRoleArn;
187 bool m_dataApiRoleArnHasBeenSet = false;
188
189 bool m_isRedshiftServerless;
190 bool m_isRedshiftServerlessHasBeenSet = false;
191
192 Aws::String m_clusterIdentifier;
193 bool m_clusterIdentifierHasBeenSet = false;
194
195 Aws::String m_workgroupName;
196 bool m_workgroupNameHasBeenSet = false;
197
198 Aws::String m_databaseName;
199 bool m_databaseNameHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace Appflow
204} // namespace Aws
RedshiftConnectorProfileProperties & WithWorkgroupName(const Aws::String &value)
RedshiftConnectorProfileProperties & WithDatabaseName(const char *value)
RedshiftConnectorProfileProperties & WithRoleArn(Aws::String &&value)
RedshiftConnectorProfileProperties & WithClusterIdentifier(const char *value)
RedshiftConnectorProfileProperties & WithRoleArn(const char *value)
RedshiftConnectorProfileProperties & WithBucketPrefix(const Aws::String &value)
RedshiftConnectorProfileProperties & WithIsRedshiftServerless(bool value)
RedshiftConnectorProfileProperties & WithBucketPrefix(Aws::String &&value)
RedshiftConnectorProfileProperties & WithWorkgroupName(Aws::String &&value)
RedshiftConnectorProfileProperties & WithBucketName(const Aws::String &value)
RedshiftConnectorProfileProperties & WithBucketPrefix(const char *value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftConnectorProfileProperties & WithBucketName(const char *value)
RedshiftConnectorProfileProperties & WithDataApiRoleArn(Aws::String &&value)
RedshiftConnectorProfileProperties & WithDatabaseName(Aws::String &&value)
RedshiftConnectorProfileProperties & WithDataApiRoleArn(const Aws::String &value)
RedshiftConnectorProfileProperties & WithBucketName(Aws::String &&value)
RedshiftConnectorProfileProperties & WithDatabaseUrl(Aws::String &&value)
RedshiftConnectorProfileProperties & WithDatabaseUrl(const Aws::String &value)
RedshiftConnectorProfileProperties & WithClusterIdentifier(Aws::String &&value)
RedshiftConnectorProfileProperties & WithRoleArn(const Aws::String &value)
RedshiftConnectorProfileProperties & WithClusterIdentifier(const Aws::String &value)
RedshiftConnectorProfileProperties & WithDatabaseName(const Aws::String &value)
AWS_APPFLOW_API RedshiftConnectorProfileProperties(Aws::Utils::Json::JsonView jsonValue)
RedshiftConnectorProfileProperties & WithWorkgroupName(const char *value)
RedshiftConnectorProfileProperties & WithDatabaseUrl(const char *value)
RedshiftConnectorProfileProperties & WithDataApiRoleArn(const char *value)
AWS_APPFLOW_API RedshiftConnectorProfileProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue