AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AthenaDatasetDefinition.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/AthenaResultCompressionType.h>
10#include <aws/sagemaker/model/AthenaResultFormat.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 AthenaDatasetDefinition() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Aws::String& GetCatalog() const { return m_catalog; }
40 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
41 template <typename CatalogT = Aws::String>
42 void SetCatalog(CatalogT&& value) {
43 m_catalogHasBeenSet = true;
44 m_catalog = std::forward<CatalogT>(value);
45 }
46 template <typename CatalogT = Aws::String>
48 SetCatalog(std::forward<CatalogT>(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& GetQueryString() const { return m_queryString; }
72 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
73 template <typename QueryStringT = Aws::String>
74 void SetQueryString(QueryStringT&& value) {
75 m_queryStringHasBeenSet = true;
76 m_queryString = std::forward<QueryStringT>(value);
77 }
78 template <typename QueryStringT = Aws::String>
80 SetQueryString(std::forward<QueryStringT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
88 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
89 template <typename WorkGroupT = Aws::String>
90 void SetWorkGroup(WorkGroupT&& value) {
91 m_workGroupHasBeenSet = true;
92 m_workGroup = std::forward<WorkGroupT>(value);
93 }
94 template <typename WorkGroupT = Aws::String>
96 SetWorkGroup(std::forward<WorkGroupT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetOutputS3Uri() const { return m_outputS3Uri; }
106 inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; }
107 template <typename OutputS3UriT = Aws::String>
108 void SetOutputS3Uri(OutputS3UriT&& value) {
109 m_outputS3UriHasBeenSet = true;
110 m_outputS3Uri = std::forward<OutputS3UriT>(value);
111 }
112 template <typename OutputS3UriT = Aws::String>
114 SetOutputS3Uri(std::forward<OutputS3UriT>(value));
115 return *this;
116 }
118
120
125 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
126 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
127 template <typename KmsKeyIdT = Aws::String>
128 void SetKmsKeyId(KmsKeyIdT&& value) {
129 m_kmsKeyIdHasBeenSet = true;
130 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
131 }
132 template <typename KmsKeyIdT = Aws::String>
134 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
135 return *this;
136 }
138
140
141 inline AthenaResultFormat GetOutputFormat() const { return m_outputFormat; }
142 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
144 m_outputFormatHasBeenSet = true;
145 m_outputFormat = value;
146 }
148 SetOutputFormat(value);
149 return *this;
150 }
152
154
155 inline AthenaResultCompressionType GetOutputCompression() const { return m_outputCompression; }
156 inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; }
158 m_outputCompressionHasBeenSet = true;
159 m_outputCompression = value;
160 }
163 return *this;
164 }
166 private:
167 Aws::String m_catalog;
168
169 Aws::String m_database;
170
171 Aws::String m_queryString;
172
173 Aws::String m_workGroup;
174
175 Aws::String m_outputS3Uri;
176
177 Aws::String m_kmsKeyId;
178
180
182 bool m_catalogHasBeenSet = false;
183 bool m_databaseHasBeenSet = false;
184 bool m_queryStringHasBeenSet = false;
185 bool m_workGroupHasBeenSet = false;
186 bool m_outputS3UriHasBeenSet = false;
187 bool m_kmsKeyIdHasBeenSet = false;
188 bool m_outputFormatHasBeenSet = false;
189 bool m_outputCompressionHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace SageMaker
194} // namespace Aws
AthenaDatasetDefinition & WithOutputCompression(AthenaResultCompressionType value)
AthenaResultCompressionType GetOutputCompression() const
AthenaDatasetDefinition & WithCatalog(CatalogT &&value)
AthenaDatasetDefinition & WithQueryString(QueryStringT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AthenaDatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
AthenaDatasetDefinition & WithOutputFormat(AthenaResultFormat value)
AthenaDatasetDefinition & WithDatabase(DatabaseT &&value)
AWS_SAGEMAKER_API AthenaDatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AthenaDatasetDefinition()=default
AthenaDatasetDefinition & WithOutputS3Uri(OutputS3UriT &&value)
void SetOutputCompression(AthenaResultCompressionType value)
AthenaDatasetDefinition & WithKmsKeyId(KmsKeyIdT &&value)
AthenaDatasetDefinition & WithWorkGroup(WorkGroupT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue