AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
69 inline bool GetDisableGlueTableCreation() const { return m_disableGlueTableCreation; }
70 inline bool DisableGlueTableCreationHasBeenSet() const { return m_disableGlueTableCreationHasBeenSet; }
71 inline void SetDisableGlueTableCreation(bool value) {
72 m_disableGlueTableCreationHasBeenSet = true;
73 m_disableGlueTableCreation = value;
74 }
77 return *this;
78 }
80
82
86 inline const DataCatalogConfig& GetDataCatalogConfig() const { return m_dataCatalogConfig; }
87 inline bool DataCatalogConfigHasBeenSet() const { return m_dataCatalogConfigHasBeenSet; }
88 template <typename DataCatalogConfigT = DataCatalogConfig>
89 void SetDataCatalogConfig(DataCatalogConfigT&& value) {
90 m_dataCatalogConfigHasBeenSet = true;
91 m_dataCatalogConfig = std::forward<DataCatalogConfigT>(value);
92 }
93 template <typename DataCatalogConfigT = DataCatalogConfig>
94 OfflineStoreConfig& WithDataCatalogConfig(DataCatalogConfigT&& value) {
95 SetDataCatalogConfig(std::forward<DataCatalogConfigT>(value));
96 return *this;
97 }
99
101
105 inline TableFormat GetTableFormat() const { return m_tableFormat; }
106 inline bool TableFormatHasBeenSet() const { return m_tableFormatHasBeenSet; }
107 inline void SetTableFormat(TableFormat value) {
108 m_tableFormatHasBeenSet = true;
109 m_tableFormat = value;
110 }
112 SetTableFormat(value);
113 return *this;
114 }
116 private:
117 S3StorageConfig m_s3StorageConfig;
118
119 bool m_disableGlueTableCreation{false};
120
121 DataCatalogConfig m_dataCatalogConfig;
122
123 TableFormat m_tableFormat{TableFormat::NOT_SET};
124 bool m_s3StorageConfigHasBeenSet = false;
125 bool m_disableGlueTableCreationHasBeenSet = false;
126 bool m_dataCatalogConfigHasBeenSet = false;
127 bool m_tableFormatHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace SageMaker
132} // 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