AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RedshiftDatasetDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/RedshiftResultCompressionType.h>
10#include <aws/sagemaker/model/RedshiftResultFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API RedshiftDatasetDefinition() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Aws::String& GetClusterId() const { return m_clusterId; }
40 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
41 template <typename ClusterIdT = Aws::String>
42 void SetClusterId(ClusterIdT&& value) {
43 m_clusterIdHasBeenSet = true;
44 m_clusterId = std::forward<ClusterIdT>(value);
45 }
46 template <typename ClusterIdT = Aws::String>
48 SetClusterId(std::forward<ClusterIdT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetDatabase() const { return m_database; }
56 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
57 template <typename DatabaseT = Aws::String>
58 void SetDatabase(DatabaseT&& value) {
59 m_databaseHasBeenSet = true;
60 m_database = std::forward<DatabaseT>(value);
61 }
62 template <typename DatabaseT = Aws::String>
64 SetDatabase(std::forward<DatabaseT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetDbUser() const { return m_dbUser; }
72 inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
73 template <typename DbUserT = Aws::String>
74 void SetDbUser(DbUserT&& value) {
75 m_dbUserHasBeenSet = true;
76 m_dbUser = std::forward<DbUserT>(value);
77 }
78 template <typename DbUserT = Aws::String>
80 SetDbUser(std::forward<DbUserT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetQueryString() const { return m_queryString; }
88 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
89 template <typename QueryStringT = Aws::String>
90 void SetQueryString(QueryStringT&& value) {
91 m_queryStringHasBeenSet = true;
92 m_queryString = std::forward<QueryStringT>(value);
93 }
94 template <typename QueryStringT = Aws::String>
96 SetQueryString(std::forward<QueryStringT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetClusterRoleArn() const { return m_clusterRoleArn; }
107 inline bool ClusterRoleArnHasBeenSet() const { return m_clusterRoleArnHasBeenSet; }
108 template <typename ClusterRoleArnT = Aws::String>
109 void SetClusterRoleArn(ClusterRoleArnT&& value) {
110 m_clusterRoleArnHasBeenSet = true;
111 m_clusterRoleArn = std::forward<ClusterRoleArnT>(value);
112 }
113 template <typename ClusterRoleArnT = Aws::String>
115 SetClusterRoleArn(std::forward<ClusterRoleArnT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetOutputS3Uri() const { return m_outputS3Uri; }
125 inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; }
126 template <typename OutputS3UriT = Aws::String>
127 void SetOutputS3Uri(OutputS3UriT&& value) {
128 m_outputS3UriHasBeenSet = true;
129 m_outputS3Uri = std::forward<OutputS3UriT>(value);
130 }
131 template <typename OutputS3UriT = Aws::String>
133 SetOutputS3Uri(std::forward<OutputS3UriT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
144 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
145 template <typename KmsKeyIdT = Aws::String>
146 void SetKmsKeyId(KmsKeyIdT&& value) {
147 m_kmsKeyIdHasBeenSet = true;
148 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
149 }
150 template <typename KmsKeyIdT = Aws::String>
152 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
153 return *this;
154 }
156
158
159 inline RedshiftResultFormat GetOutputFormat() const { return m_outputFormat; }
160 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
162 m_outputFormatHasBeenSet = true;
163 m_outputFormat = value;
164 }
166 SetOutputFormat(value);
167 return *this;
168 }
170
172
173 inline RedshiftResultCompressionType GetOutputCompression() const { return m_outputCompression; }
174 inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; }
176 m_outputCompressionHasBeenSet = true;
177 m_outputCompression = value;
178 }
181 return *this;
182 }
184 private:
185 Aws::String m_clusterId;
186
187 Aws::String m_database;
188
189 Aws::String m_dbUser;
190
191 Aws::String m_queryString;
192
193 Aws::String m_clusterRoleArn;
194
195 Aws::String m_outputS3Uri;
196
197 Aws::String m_kmsKeyId;
198
200
202 bool m_clusterIdHasBeenSet = false;
203 bool m_databaseHasBeenSet = false;
204 bool m_dbUserHasBeenSet = false;
205 bool m_queryStringHasBeenSet = false;
206 bool m_clusterRoleArnHasBeenSet = false;
207 bool m_outputS3UriHasBeenSet = false;
208 bool m_kmsKeyIdHasBeenSet = false;
209 bool m_outputFormatHasBeenSet = false;
210 bool m_outputCompressionHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace SageMaker
215} // namespace Aws
AWS_SAGEMAKER_API RedshiftDatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
RedshiftDatasetDefinition & WithQueryString(QueryStringT &&value)
AWS_SAGEMAKER_API RedshiftDatasetDefinition()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDatasetDefinition & WithDatabase(DatabaseT &&value)
RedshiftDatasetDefinition & WithClusterRoleArn(ClusterRoleArnT &&value)
AWS_SAGEMAKER_API RedshiftDatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDatasetDefinition & WithKmsKeyId(KmsKeyIdT &&value)
RedshiftDatasetDefinition & WithDbUser(DbUserT &&value)
RedshiftResultCompressionType GetOutputCompression() const
RedshiftDatasetDefinition & WithOutputS3Uri(OutputS3UriT &&value)
RedshiftDatasetDefinition & WithClusterId(ClusterIdT &&value)
RedshiftDatasetDefinition & WithOutputFormat(RedshiftResultFormat value)
RedshiftDatasetDefinition & WithOutputCompression(RedshiftResultCompressionType value)
void SetOutputCompression(RedshiftResultCompressionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue