AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
OfflineStoreConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/DataCatalogConfig.h>
9#include <aws/sagemaker/model/S3StorageConfig.h>
10#include <aws/sagemaker/model/TableFormat.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
35 public:
36 AWS_SAGEMAKER_API OfflineStoreConfig() = default;
37 AWS_SAGEMAKER_API OfflineStoreConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const S3StorageConfig& GetS3StorageConfig() const { return m_s3StorageConfig; }
47 inline bool S3StorageConfigHasBeenSet() const { return m_s3StorageConfigHasBeenSet; }
48 template <typename S3StorageConfigT = S3StorageConfig>
49 void SetS3StorageConfig(S3StorageConfigT&& value) {
50 m_s3StorageConfigHasBeenSet = true;
51 m_s3StorageConfig = std::forward<S3StorageConfigT>(value);
52 }
53 template <typename S3StorageConfigT = S3StorageConfig>
54 OfflineStoreConfig& WithS3StorageConfig(S3StorageConfigT&& value) {
55 SetS3StorageConfig(std::forward<S3StorageConfigT>(value));
56 return *this;
57 }
59
61
79 inline bool GetDisableGlueTableCreation() const { return m_disableGlueTableCreation; }
80 inline bool DisableGlueTableCreationHasBeenSet() const { return m_disableGlueTableCreationHasBeenSet; }
81 inline void SetDisableGlueTableCreation(bool value) {
82 m_disableGlueTableCreationHasBeenSet = true;
83 m_disableGlueTableCreation = value;
84 }
87 return *this;
88 }
90
92
99 inline const DataCatalogConfig& GetDataCatalogConfig() const { return m_dataCatalogConfig; }
100 inline bool DataCatalogConfigHasBeenSet() const { return m_dataCatalogConfigHasBeenSet; }
101 template <typename DataCatalogConfigT = DataCatalogConfig>
102 void SetDataCatalogConfig(DataCatalogConfigT&& value) {
103 m_dataCatalogConfigHasBeenSet = true;
104 m_dataCatalogConfig = std::forward<DataCatalogConfigT>(value);
105 }
106 template <typename DataCatalogConfigT = DataCatalogConfig>
107 OfflineStoreConfig& WithDataCatalogConfig(DataCatalogConfigT&& value) {
108 SetDataCatalogConfig(std::forward<DataCatalogConfigT>(value));
109 return *this;
110 }
112
114
118 inline TableFormat GetTableFormat() const { return m_tableFormat; }
119 inline bool TableFormatHasBeenSet() const { return m_tableFormatHasBeenSet; }
120 inline void SetTableFormat(TableFormat value) {
121 m_tableFormatHasBeenSet = true;
122 m_tableFormat = value;
123 }
125 SetTableFormat(value);
126 return *this;
127 }
129 private:
130 S3StorageConfig m_s3StorageConfig;
131
132 bool m_disableGlueTableCreation{false};
133
134 DataCatalogConfig m_dataCatalogConfig;
135
136 TableFormat m_tableFormat{TableFormat::NOT_SET};
137 bool m_s3StorageConfigHasBeenSet = false;
138 bool m_disableGlueTableCreationHasBeenSet = false;
139 bool m_dataCatalogConfigHasBeenSet = false;
140 bool m_tableFormatHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace SageMaker
145} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const S3StorageConfig & GetS3StorageConfig() const
void SetS3StorageConfig(S3StorageConfigT &&value)
AWS_SAGEMAKER_API OfflineStoreConfig()=default
OfflineStoreConfig & WithTableFormat(TableFormat value)
OfflineStoreConfig & WithDataCatalogConfig(DataCatalogConfigT &&value)
AWS_SAGEMAKER_API OfflineStoreConfig(Aws::Utils::Json::JsonView jsonValue)
OfflineStoreConfig & WithS3StorageConfig(S3StorageConfigT &&value)
const DataCatalogConfig & GetDataCatalogConfig() const
void SetDataCatalogConfig(DataCatalogConfigT &&value)
AWS_SAGEMAKER_API OfflineStoreConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
OfflineStoreConfig & WithDisableGlueTableCreation(bool value)
Aws::Utils::Json::JsonValue JsonValue