AWS SDK for C++  1.9.158
AWS SDK for C++
AthenaDatasetDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
43 
44  inline const Aws::String& GetCatalog() const{ return m_catalog; }
45 
46 
47  inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
48 
49 
50  inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
51 
52 
53  inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
54 
55 
56  inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
57 
58 
59  inline AthenaDatasetDefinition& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
60 
61 
62  inline AthenaDatasetDefinition& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
63 
64 
65  inline AthenaDatasetDefinition& WithCatalog(const char* value) { SetCatalog(value); return *this;}
66 
67 
68 
69  inline const Aws::String& GetDatabase() const{ return m_database; }
70 
71 
72  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
73 
74 
75  inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
76 
77 
78  inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
79 
80 
81  inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
82 
83 
84  inline AthenaDatasetDefinition& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
85 
86 
87  inline AthenaDatasetDefinition& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
88 
89 
90  inline AthenaDatasetDefinition& WithDatabase(const char* value) { SetDatabase(value); return *this;}
91 
92 
93 
94  inline const Aws::String& GetQueryString() const{ return m_queryString; }
95 
96 
97  inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
98 
99 
100  inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
101 
102 
103  inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
104 
105 
106  inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
107 
108 
109  inline AthenaDatasetDefinition& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
110 
111 
112  inline AthenaDatasetDefinition& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
113 
114 
115  inline AthenaDatasetDefinition& WithQueryString(const char* value) { SetQueryString(value); return *this;}
116 
117 
118 
119  inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
120 
121 
122  inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
123 
124 
125  inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
126 
127 
128  inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
129 
130 
131  inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
132 
133 
134  inline AthenaDatasetDefinition& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
135 
136 
137  inline AthenaDatasetDefinition& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
138 
139 
140  inline AthenaDatasetDefinition& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
141 
142 
146  inline const Aws::String& GetOutputS3Uri() const{ return m_outputS3Uri; }
147 
151  inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; }
152 
156  inline void SetOutputS3Uri(const Aws::String& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = value; }
157 
161  inline void SetOutputS3Uri(Aws::String&& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = std::move(value); }
162 
166  inline void SetOutputS3Uri(const char* value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri.assign(value); }
167 
171  inline AthenaDatasetDefinition& WithOutputS3Uri(const Aws::String& value) { SetOutputS3Uri(value); return *this;}
172 
176  inline AthenaDatasetDefinition& WithOutputS3Uri(Aws::String&& value) { SetOutputS3Uri(std::move(value)); return *this;}
177 
181  inline AthenaDatasetDefinition& WithOutputS3Uri(const char* value) { SetOutputS3Uri(value); return *this;}
182 
183 
189  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
190 
196  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
197 
203  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
204 
210  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
211 
217  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
218 
224  inline AthenaDatasetDefinition& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
225 
231  inline AthenaDatasetDefinition& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
232 
238  inline AthenaDatasetDefinition& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
239 
240 
241 
242  inline const AthenaResultFormat& GetOutputFormat() const{ return m_outputFormat; }
243 
244 
245  inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
246 
247 
248  inline void SetOutputFormat(const AthenaResultFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
249 
250 
251  inline void SetOutputFormat(AthenaResultFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
252 
253 
254  inline AthenaDatasetDefinition& WithOutputFormat(const AthenaResultFormat& value) { SetOutputFormat(value); return *this;}
255 
256 
257  inline AthenaDatasetDefinition& WithOutputFormat(AthenaResultFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
258 
259 
260 
261  inline const AthenaResultCompressionType& GetOutputCompression() const{ return m_outputCompression; }
262 
263 
264  inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; }
265 
266 
267  inline void SetOutputCompression(const AthenaResultCompressionType& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = value; }
268 
269 
270  inline void SetOutputCompression(AthenaResultCompressionType&& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = std::move(value); }
271 
272 
273  inline AthenaDatasetDefinition& WithOutputCompression(const AthenaResultCompressionType& value) { SetOutputCompression(value); return *this;}
274 
275 
276  inline AthenaDatasetDefinition& WithOutputCompression(AthenaResultCompressionType&& value) { SetOutputCompression(std::move(value)); return *this;}
277 
278  private:
279 
280  Aws::String m_catalog;
281  bool m_catalogHasBeenSet;
282 
283  Aws::String m_database;
284  bool m_databaseHasBeenSet;
285 
286  Aws::String m_queryString;
287  bool m_queryStringHasBeenSet;
288 
289  Aws::String m_workGroup;
290  bool m_workGroupHasBeenSet;
291 
292  Aws::String m_outputS3Uri;
293  bool m_outputS3UriHasBeenSet;
294 
295  Aws::String m_kmsKeyId;
296  bool m_kmsKeyIdHasBeenSet;
297 
298  AthenaResultFormat m_outputFormat;
299  bool m_outputFormatHasBeenSet;
300 
301  AthenaResultCompressionType m_outputCompression;
302  bool m_outputCompressionHasBeenSet;
303  };
304 
305 } // namespace Model
306 } // namespace SageMaker
307 } // namespace Aws
Aws::SageMaker::Model::AthenaDatasetDefinition::GetOutputS3Uri
const Aws::String & GetOutputS3Uri() const
Definition: AthenaDatasetDefinition.h:146
Aws::SageMaker::Model::AthenaDatasetDefinition::GetDatabase
const Aws::String & GetDatabase() const
Definition: AthenaDatasetDefinition.h:69
Aws::SageMaker::Model::AthenaDatasetDefinition::SetCatalog
void SetCatalog(const char *value)
Definition: AthenaDatasetDefinition.h:56
Aws::SageMaker::Model::AthenaDatasetDefinition::WithWorkGroup
AthenaDatasetDefinition & WithWorkGroup(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:137
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputCompression
void SetOutputCompression(const AthenaResultCompressionType &value)
Definition: AthenaDatasetDefinition.h:267
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputFormat
void SetOutputFormat(const AthenaResultFormat &value)
Definition: AthenaDatasetDefinition.h:248
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputS3Uri
void SetOutputS3Uri(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:161
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AthenaResultFormat
AthenaResultFormat
Definition: AthenaResultFormat.h:17
Aws::SageMaker::Model::AthenaDatasetDefinition::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: AthenaDatasetDefinition.h:72
Aws::SageMaker::Model::AthenaDatasetDefinition::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:210
Aws::SageMaker::Model::AthenaDatasetDefinition::GetQueryString
const Aws::String & GetQueryString() const
Definition: AthenaDatasetDefinition.h:94
Aws::SageMaker::Model::AthenaDatasetDefinition::WithCatalog
AthenaDatasetDefinition & WithCatalog(const char *value)
Definition: AthenaDatasetDefinition.h:65
Aws::SageMaker::Model::AthenaDatasetDefinition::SetDatabase
void SetDatabase(const char *value)
Definition: AthenaDatasetDefinition.h:81
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputFormat
AthenaDatasetDefinition & WithOutputFormat(AthenaResultFormat &&value)
Definition: AthenaDatasetDefinition.h:257
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputS3Uri
AthenaDatasetDefinition & WithOutputS3Uri(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:176
Aws::SageMaker::Model::AthenaDatasetDefinition
Definition: AthenaDatasetDefinition.h:35
Aws::SageMaker::Model::AthenaDatasetDefinition::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:78
Aws::SageMaker::Model::AthenaDatasetDefinition::WithCatalog
AthenaDatasetDefinition & WithCatalog(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:59
Aws::SageMaker::Model::AthenaDatasetDefinition::GetCatalog
const Aws::String & GetCatalog() const
Definition: AthenaDatasetDefinition.h:44
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputS3Uri
void SetOutputS3Uri(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:156
Aws::SageMaker::Model::AthenaDatasetDefinition::WithDatabase
AthenaDatasetDefinition & WithDatabase(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:87
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputFormat
AthenaDatasetDefinition & WithOutputFormat(const AthenaResultFormat &value)
Definition: AthenaDatasetDefinition.h:254
Aws::SageMaker::Model::AthenaDatasetDefinition::operator=
AthenaDatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AthenaDatasetDefinition::GetWorkGroup
const Aws::String & GetWorkGroup() const
Definition: AthenaDatasetDefinition.h:119
Aws::SageMaker::Model::AthenaDatasetDefinition::SetCatalog
void SetCatalog(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:50
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputS3Uri
void SetOutputS3Uri(const char *value)
Definition: AthenaDatasetDefinition.h:166
Aws::SageMaker::Model::AthenaDatasetDefinition::OutputS3UriHasBeenSet
bool OutputS3UriHasBeenSet() const
Definition: AthenaDatasetDefinition.h:151
Aws::SageMaker::Model::AthenaDatasetDefinition::WithQueryString
AthenaDatasetDefinition & WithQueryString(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:109
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputCompression
void SetOutputCompression(AthenaResultCompressionType &&value)
Definition: AthenaDatasetDefinition.h:270
Aws::SageMaker::Model::AthenaDatasetDefinition::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:203
Aws::SageMaker::Model::AthenaDatasetDefinition::WithKmsKeyId
AthenaDatasetDefinition & WithKmsKeyId(const char *value)
Definition: AthenaDatasetDefinition.h:238
Aws::SageMaker::Model::AthenaDatasetDefinition::SetOutputFormat
void SetOutputFormat(AthenaResultFormat &&value)
Definition: AthenaDatasetDefinition.h:251
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AthenaDatasetDefinition::OutputCompressionHasBeenSet
bool OutputCompressionHasBeenSet() const
Definition: AthenaDatasetDefinition.h:264
Aws::SageMaker::Model::AthenaDatasetDefinition::GetOutputFormat
const AthenaResultFormat & GetOutputFormat() const
Definition: AthenaDatasetDefinition.h:242
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputCompression
AthenaDatasetDefinition & WithOutputCompression(const AthenaResultCompressionType &value)
Definition: AthenaDatasetDefinition.h:273
Aws::SageMaker::Model::AthenaDatasetDefinition::WithKmsKeyId
AthenaDatasetDefinition & WithKmsKeyId(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:231
Aws::SageMaker::Model::AthenaDatasetDefinition::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: AthenaDatasetDefinition.h:217
Aws::SageMaker::Model::AthenaResultCompressionType
AthenaResultCompressionType
Definition: AthenaResultCompressionType.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputS3Uri
AthenaDatasetDefinition & WithOutputS3Uri(const char *value)
Definition: AthenaDatasetDefinition.h:181
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AthenaDatasetDefinition::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:75
Aws::SageMaker::Model::AthenaDatasetDefinition::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: AthenaDatasetDefinition.h:196
Aws::SageMaker::Model::AthenaDatasetDefinition::QueryStringHasBeenSet
bool QueryStringHasBeenSet() const
Definition: AthenaDatasetDefinition.h:97
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputS3Uri
AthenaDatasetDefinition & WithOutputS3Uri(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:171
Aws::SageMaker::Model::AthenaDatasetDefinition::AthenaDatasetDefinition
AthenaDatasetDefinition()
Aws::SageMaker::Model::AthenaDatasetDefinition::WithDatabase
AthenaDatasetDefinition & WithDatabase(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:84
Aws::SageMaker::Model::AthenaDatasetDefinition::SetCatalog
void SetCatalog(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:53
Aws::SageMaker::Model::AthenaDatasetDefinition::WithWorkGroup
AthenaDatasetDefinition & WithWorkGroup(const char *value)
Definition: AthenaDatasetDefinition.h:140
Aws::SageMaker::Model::AthenaDatasetDefinition::SetQueryString
void SetQueryString(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:100
Aws::SageMaker::Model::AthenaDatasetDefinition::SetWorkGroup
void SetWorkGroup(const char *value)
Definition: AthenaDatasetDefinition.h:131
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AthenaDatasetDefinition::WithOutputCompression
AthenaDatasetDefinition & WithOutputCompression(AthenaResultCompressionType &&value)
Definition: AthenaDatasetDefinition.h:276
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AthenaDatasetDefinition::WithQueryString
AthenaDatasetDefinition & WithQueryString(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:112
AthenaResultCompressionType.h
Aws::SageMaker::Model::AthenaDatasetDefinition::SetQueryString
void SetQueryString(const char *value)
Definition: AthenaDatasetDefinition.h:106
Aws::SageMaker::Model::AthenaDatasetDefinition::WithDatabase
AthenaDatasetDefinition & WithDatabase(const char *value)
Definition: AthenaDatasetDefinition.h:90
Aws::SageMaker::Model::AthenaDatasetDefinition::SetQueryString
void SetQueryString(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AthenaDatasetDefinition::WithCatalog
AthenaDatasetDefinition & WithCatalog(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:62
Aws::SageMaker::Model::AthenaDatasetDefinition::OutputFormatHasBeenSet
bool OutputFormatHasBeenSet() const
Definition: AthenaDatasetDefinition.h:245
Aws::SageMaker::Model::AthenaDatasetDefinition::SetWorkGroup
void SetWorkGroup(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:125
Aws::SageMaker::Model::AthenaDatasetDefinition::WithQueryString
AthenaDatasetDefinition & WithQueryString(const char *value)
Definition: AthenaDatasetDefinition.h:115
Aws::SageMaker::Model::AthenaDatasetDefinition::AthenaDatasetDefinition
AthenaDatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AthenaDatasetDefinition::WorkGroupHasBeenSet
bool WorkGroupHasBeenSet() const
Definition: AthenaDatasetDefinition.h:122
Aws::SageMaker::Model::AthenaDatasetDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AthenaDatasetDefinition::WithKmsKeyId
AthenaDatasetDefinition & WithKmsKeyId(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:224
Aws::SageMaker::Model::AthenaDatasetDefinition::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: AthenaDatasetDefinition.h:189
Aws::SageMaker::Model::AthenaDatasetDefinition::SetWorkGroup
void SetWorkGroup(Aws::String &&value)
Definition: AthenaDatasetDefinition.h:128
Aws::SageMaker::Model::AthenaDatasetDefinition::GetOutputCompression
const AthenaResultCompressionType & GetOutputCompression() const
Definition: AthenaDatasetDefinition.h:261
Aws::SageMaker::Model::AthenaDatasetDefinition::CatalogHasBeenSet
bool CatalogHasBeenSet() const
Definition: AthenaDatasetDefinition.h:47
Aws::SageMaker::Model::AthenaDatasetDefinition::WithWorkGroup
AthenaDatasetDefinition & WithWorkGroup(const Aws::String &value)
Definition: AthenaDatasetDefinition.h:134
AthenaResultFormat.h