AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename CatalogT = Aws::String>
48 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
49 template<typename CatalogT = Aws::String>
50 AthenaDatasetDefinition& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
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) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
59 template<typename DatabaseT = Aws::String>
60 AthenaDatasetDefinition& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
62
64
65 inline const Aws::String& GetQueryString() const { return m_queryString; }
66 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
67 template<typename QueryStringT = Aws::String>
68 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet = true; m_queryString = std::forward<QueryStringT>(value); }
69 template<typename QueryStringT = Aws::String>
70 AthenaDatasetDefinition& WithQueryString(QueryStringT&& value) { SetQueryString(std::forward<QueryStringT>(value)); return *this;}
72
74
75 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
76 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
77 template<typename WorkGroupT = Aws::String>
78 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
79 template<typename WorkGroupT = Aws::String>
80 AthenaDatasetDefinition& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
82
84
87 inline const Aws::String& GetOutputS3Uri() const { return m_outputS3Uri; }
88 inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; }
89 template<typename OutputS3UriT = Aws::String>
90 void SetOutputS3Uri(OutputS3UriT&& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = std::forward<OutputS3UriT>(value); }
91 template<typename OutputS3UriT = Aws::String>
92 AthenaDatasetDefinition& WithOutputS3Uri(OutputS3UriT&& value) { SetOutputS3Uri(std::forward<OutputS3UriT>(value)); return *this;}
94
96
101 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
102 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
103 template<typename KmsKeyIdT = Aws::String>
104 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
105 template<typename KmsKeyIdT = Aws::String>
106 AthenaDatasetDefinition& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
108
110
111 inline AthenaResultFormat GetOutputFormat() const { return m_outputFormat; }
112 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
113 inline void SetOutputFormat(AthenaResultFormat value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
116
118
119 inline AthenaResultCompressionType GetOutputCompression() const { return m_outputCompression; }
120 inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; }
121 inline void SetOutputCompression(AthenaResultCompressionType value) { m_outputCompressionHasBeenSet = true; m_outputCompression = value; }
124 private:
125
126 Aws::String m_catalog;
127 bool m_catalogHasBeenSet = false;
128
129 Aws::String m_database;
130 bool m_databaseHasBeenSet = false;
131
132 Aws::String m_queryString;
133 bool m_queryStringHasBeenSet = false;
134
135 Aws::String m_workGroup;
136 bool m_workGroupHasBeenSet = false;
137
138 Aws::String m_outputS3Uri;
139 bool m_outputS3UriHasBeenSet = false;
140
141 Aws::String m_kmsKeyId;
142 bool m_kmsKeyIdHasBeenSet = false;
143
145 bool m_outputFormatHasBeenSet = false;
146
148 bool m_outputCompressionHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SageMaker
153} // 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