AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AthenaDatasetDefinition.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/AthenaResultFormat.h>
10#include <aws/sagemaker/model/AthenaResultCompressionType.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 AthenaDatasetDefinition();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetCatalog() const{ return m_catalog; }
46 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
47 inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
48 inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
49 inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
50 inline AthenaDatasetDefinition& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
51 inline AthenaDatasetDefinition& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
52 inline AthenaDatasetDefinition& WithCatalog(const char* value) { SetCatalog(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 AthenaDatasetDefinition& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
63 inline AthenaDatasetDefinition& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
64 inline AthenaDatasetDefinition& WithDatabase(const char* value) { SetDatabase(value); return *this;}
66
68
69 inline const Aws::String& GetQueryString() const{ return m_queryString; }
70 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
71 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
72 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
73 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
74 inline AthenaDatasetDefinition& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
75 inline AthenaDatasetDefinition& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
76 inline AthenaDatasetDefinition& WithQueryString(const char* value) { SetQueryString(value); return *this;}
78
80
81 inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
82 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
83 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
84 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
85 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
86 inline AthenaDatasetDefinition& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
87 inline AthenaDatasetDefinition& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
88 inline AthenaDatasetDefinition& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
90
92
95 inline const Aws::String& GetOutputS3Uri() const{ return m_outputS3Uri; }
96 inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; }
97 inline void SetOutputS3Uri(const Aws::String& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = value; }
98 inline void SetOutputS3Uri(Aws::String&& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = std::move(value); }
99 inline void SetOutputS3Uri(const char* value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri.assign(value); }
100 inline AthenaDatasetDefinition& WithOutputS3Uri(const Aws::String& value) { SetOutputS3Uri(value); return *this;}
101 inline AthenaDatasetDefinition& WithOutputS3Uri(Aws::String&& value) { SetOutputS3Uri(std::move(value)); return *this;}
102 inline AthenaDatasetDefinition& WithOutputS3Uri(const char* value) { SetOutputS3Uri(value); return *this;}
104
106
111 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
112 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
113 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
114 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
115 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
116 inline AthenaDatasetDefinition& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
117 inline AthenaDatasetDefinition& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
118 inline AthenaDatasetDefinition& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
120
122
123 inline const AthenaResultFormat& GetOutputFormat() const{ return m_outputFormat; }
124 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
125 inline void SetOutputFormat(const AthenaResultFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
126 inline void SetOutputFormat(AthenaResultFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
127 inline AthenaDatasetDefinition& WithOutputFormat(const AthenaResultFormat& value) { SetOutputFormat(value); return *this;}
128 inline AthenaDatasetDefinition& WithOutputFormat(AthenaResultFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
130
132
133 inline const AthenaResultCompressionType& GetOutputCompression() const{ return m_outputCompression; }
134 inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; }
135 inline void SetOutputCompression(const AthenaResultCompressionType& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = value; }
136 inline void SetOutputCompression(AthenaResultCompressionType&& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = std::move(value); }
140 private:
141
142 Aws::String m_catalog;
143 bool m_catalogHasBeenSet = false;
144
145 Aws::String m_database;
146 bool m_databaseHasBeenSet = false;
147
148 Aws::String m_queryString;
149 bool m_queryStringHasBeenSet = false;
150
151 Aws::String m_workGroup;
152 bool m_workGroupHasBeenSet = false;
153
154 Aws::String m_outputS3Uri;
155 bool m_outputS3UriHasBeenSet = false;
156
157 Aws::String m_kmsKeyId;
158 bool m_kmsKeyIdHasBeenSet = false;
159
160 AthenaResultFormat m_outputFormat;
161 bool m_outputFormatHasBeenSet = false;
162
163 AthenaResultCompressionType m_outputCompression;
164 bool m_outputCompressionHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SageMaker
169} // namespace Aws
const AthenaResultCompressionType & GetOutputCompression() const
AthenaDatasetDefinition & WithOutputCompression(AthenaResultCompressionType &&value)
AthenaDatasetDefinition & WithQueryString(const char *value)
AthenaDatasetDefinition & WithWorkGroup(Aws::String &&value)
AthenaDatasetDefinition & WithOutputFormat(AthenaResultFormat &&value)
AthenaDatasetDefinition & WithDatabase(const Aws::String &value)
AthenaDatasetDefinition & WithWorkGroup(const char *value)
AthenaDatasetDefinition & WithOutputFormat(const AthenaResultFormat &value)
AthenaDatasetDefinition & WithQueryString(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AthenaDatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
AthenaDatasetDefinition & WithKmsKeyId(const Aws::String &value)
AthenaDatasetDefinition & WithCatalog(const char *value)
AthenaDatasetDefinition & WithOutputCompression(const AthenaResultCompressionType &value)
AthenaDatasetDefinition & WithDatabase(const char *value)
AthenaDatasetDefinition & WithKmsKeyId(Aws::String &&value)
AthenaDatasetDefinition & WithKmsKeyId(const char *value)
AthenaDatasetDefinition & WithOutputS3Uri(const Aws::String &value)
void SetOutputFormat(const AthenaResultFormat &value)
AthenaDatasetDefinition & WithCatalog(const Aws::String &value)
AthenaDatasetDefinition & WithQueryString(Aws::String &&value)
AthenaDatasetDefinition & WithOutputS3Uri(Aws::String &&value)
AWS_SAGEMAKER_API AthenaDatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AthenaDatasetDefinition & WithOutputS3Uri(const char *value)
AthenaDatasetDefinition & WithWorkGroup(const Aws::String &value)
AthenaDatasetDefinition & WithDatabase(Aws::String &&value)
void SetOutputCompression(const AthenaResultCompressionType &value)
AthenaDatasetDefinition & WithCatalog(Aws::String &&value)
void SetOutputCompression(AthenaResultCompressionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue