AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDatasetDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/RedshiftResultFormat.h>
10#include <aws/sagemaker/model/RedshiftResultCompressionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API RedshiftDatasetDefinition();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
46 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
47 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
48 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
49 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
50 inline RedshiftDatasetDefinition& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
51 inline RedshiftDatasetDefinition& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
52 inline RedshiftDatasetDefinition& WithClusterId(const char* value) { SetClusterId(value); return *this;}
54
56
57 inline const Aws::String& GetDatabase() const{ return m_database; }
58 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
59 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
60 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
61 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
62 inline RedshiftDatasetDefinition& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
63 inline RedshiftDatasetDefinition& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
64 inline RedshiftDatasetDefinition& WithDatabase(const char* value) { SetDatabase(value); return *this;}
66
68
69 inline const Aws::String& GetDbUser() const{ return m_dbUser; }
70 inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
71 inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
72 inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
73 inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
74 inline RedshiftDatasetDefinition& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
75 inline RedshiftDatasetDefinition& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
76 inline RedshiftDatasetDefinition& WithDbUser(const char* value) { SetDbUser(value); return *this;}
78
80
81 inline const Aws::String& GetQueryString() const{ return m_queryString; }
82 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
83 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
84 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
85 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
86 inline RedshiftDatasetDefinition& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
87 inline RedshiftDatasetDefinition& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
88 inline RedshiftDatasetDefinition& WithQueryString(const char* value) { SetQueryString(value); return *this;}
90
92
96 inline const Aws::String& GetClusterRoleArn() const{ return m_clusterRoleArn; }
97 inline bool ClusterRoleArnHasBeenSet() const { return m_clusterRoleArnHasBeenSet; }
98 inline void SetClusterRoleArn(const Aws::String& value) { m_clusterRoleArnHasBeenSet = true; m_clusterRoleArn = value; }
99 inline void SetClusterRoleArn(Aws::String&& value) { m_clusterRoleArnHasBeenSet = true; m_clusterRoleArn = std::move(value); }
100 inline void SetClusterRoleArn(const char* value) { m_clusterRoleArnHasBeenSet = true; m_clusterRoleArn.assign(value); }
101 inline RedshiftDatasetDefinition& WithClusterRoleArn(const Aws::String& value) { SetClusterRoleArn(value); return *this;}
102 inline RedshiftDatasetDefinition& WithClusterRoleArn(Aws::String&& value) { SetClusterRoleArn(std::move(value)); return *this;}
103 inline RedshiftDatasetDefinition& WithClusterRoleArn(const char* value) { SetClusterRoleArn(value); return *this;}
105
107
110 inline const Aws::String& GetOutputS3Uri() const{ return m_outputS3Uri; }
111 inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; }
112 inline void SetOutputS3Uri(const Aws::String& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = value; }
113 inline void SetOutputS3Uri(Aws::String&& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = std::move(value); }
114 inline void SetOutputS3Uri(const char* value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri.assign(value); }
115 inline RedshiftDatasetDefinition& WithOutputS3Uri(const Aws::String& value) { SetOutputS3Uri(value); return *this;}
116 inline RedshiftDatasetDefinition& WithOutputS3Uri(Aws::String&& value) { SetOutputS3Uri(std::move(value)); return *this;}
117 inline RedshiftDatasetDefinition& WithOutputS3Uri(const char* value) { SetOutputS3Uri(value); return *this;}
119
121
125 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
126 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
127 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
128 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
129 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
130 inline RedshiftDatasetDefinition& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
131 inline RedshiftDatasetDefinition& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
132 inline RedshiftDatasetDefinition& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
134
136
137 inline const RedshiftResultFormat& GetOutputFormat() const{ return m_outputFormat; }
138 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
139 inline void SetOutputFormat(const RedshiftResultFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
140 inline void SetOutputFormat(RedshiftResultFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
142 inline RedshiftDatasetDefinition& WithOutputFormat(RedshiftResultFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
144
146
147 inline const RedshiftResultCompressionType& GetOutputCompression() const{ return m_outputCompression; }
148 inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; }
149 inline void SetOutputCompression(const RedshiftResultCompressionType& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = value; }
150 inline void SetOutputCompression(RedshiftResultCompressionType&& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = std::move(value); }
154 private:
155
156 Aws::String m_clusterId;
157 bool m_clusterIdHasBeenSet = false;
158
159 Aws::String m_database;
160 bool m_databaseHasBeenSet = false;
161
162 Aws::String m_dbUser;
163 bool m_dbUserHasBeenSet = false;
164
165 Aws::String m_queryString;
166 bool m_queryStringHasBeenSet = false;
167
168 Aws::String m_clusterRoleArn;
169 bool m_clusterRoleArnHasBeenSet = false;
170
171 Aws::String m_outputS3Uri;
172 bool m_outputS3UriHasBeenSet = false;
173
174 Aws::String m_kmsKeyId;
175 bool m_kmsKeyIdHasBeenSet = false;
176
177 RedshiftResultFormat m_outputFormat;
178 bool m_outputFormatHasBeenSet = false;
179
180 RedshiftResultCompressionType m_outputCompression;
181 bool m_outputCompressionHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace SageMaker
186} // namespace Aws
AWS_SAGEMAKER_API RedshiftDatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
RedshiftDatasetDefinition & WithOutputFormat(RedshiftResultFormat &&value)
RedshiftDatasetDefinition & WithDatabase(const Aws::String &value)
RedshiftDatasetDefinition & WithDbUser(const char *value)
RedshiftDatasetDefinition & WithOutputFormat(const RedshiftResultFormat &value)
RedshiftDatasetDefinition & WithOutputCompression(const RedshiftResultCompressionType &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDatasetDefinition & WithClusterRoleArn(const char *value)
RedshiftDatasetDefinition & WithQueryString(const char *value)
void SetOutputFormat(const RedshiftResultFormat &value)
RedshiftDatasetDefinition & WithOutputS3Uri(const Aws::String &value)
RedshiftDatasetDefinition & WithClusterRoleArn(Aws::String &&value)
RedshiftDatasetDefinition & WithQueryString(Aws::String &&value)
RedshiftDatasetDefinition & WithOutputS3Uri(Aws::String &&value)
void SetOutputCompression(RedshiftResultCompressionType &&value)
AWS_SAGEMAKER_API RedshiftDatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDatasetDefinition & WithDbUser(Aws::String &&value)
RedshiftDatasetDefinition & WithClusterId(const char *value)
RedshiftDatasetDefinition & WithDbUser(const Aws::String &value)
RedshiftDatasetDefinition & WithQueryString(const Aws::String &value)
RedshiftDatasetDefinition & WithClusterRoleArn(const Aws::String &value)
RedshiftDatasetDefinition & WithClusterId(const Aws::String &value)
RedshiftDatasetDefinition & WithKmsKeyId(const char *value)
RedshiftDatasetDefinition & WithClusterId(Aws::String &&value)
RedshiftDatasetDefinition & WithDatabase(Aws::String &&value)
RedshiftDatasetDefinition & WithOutputS3Uri(const char *value)
void SetOutputCompression(const RedshiftResultCompressionType &value)
const RedshiftResultCompressionType & GetOutputCompression() const
RedshiftDatasetDefinition & WithDatabase(const char *value)
RedshiftDatasetDefinition & WithKmsKeyId(const Aws::String &value)
RedshiftDatasetDefinition & WithOutputCompression(RedshiftResultCompressionType &&value)
RedshiftDatasetDefinition & WithKmsKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue