AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OfflineStoreConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/S3StorageConfig.h>
9#include <aws/sagemaker/model/DataCatalogConfig.h>
10#include <aws/sagemaker/model/TableFormat.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
39 {
40 public:
41 AWS_SAGEMAKER_API OfflineStoreConfig() = default;
42 AWS_SAGEMAKER_API OfflineStoreConfig(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const S3StorageConfig& GetS3StorageConfig() const { return m_s3StorageConfig; }
53 inline bool S3StorageConfigHasBeenSet() const { return m_s3StorageConfigHasBeenSet; }
54 template<typename S3StorageConfigT = S3StorageConfig>
55 void SetS3StorageConfig(S3StorageConfigT&& value) { m_s3StorageConfigHasBeenSet = true; m_s3StorageConfig = std::forward<S3StorageConfigT>(value); }
56 template<typename S3StorageConfigT = S3StorageConfig>
57 OfflineStoreConfig& WithS3StorageConfig(S3StorageConfigT&& value) { SetS3StorageConfig(std::forward<S3StorageConfigT>(value)); return *this;}
59
61
69 inline bool GetDisableGlueTableCreation() const { return m_disableGlueTableCreation; }
70 inline bool DisableGlueTableCreationHasBeenSet() const { return m_disableGlueTableCreationHasBeenSet; }
71 inline void SetDisableGlueTableCreation(bool value) { m_disableGlueTableCreationHasBeenSet = true; m_disableGlueTableCreation = value; }
74
76
80 inline const DataCatalogConfig& GetDataCatalogConfig() const { return m_dataCatalogConfig; }
81 inline bool DataCatalogConfigHasBeenSet() const { return m_dataCatalogConfigHasBeenSet; }
82 template<typename DataCatalogConfigT = DataCatalogConfig>
83 void SetDataCatalogConfig(DataCatalogConfigT&& value) { m_dataCatalogConfigHasBeenSet = true; m_dataCatalogConfig = std::forward<DataCatalogConfigT>(value); }
84 template<typename DataCatalogConfigT = DataCatalogConfig>
85 OfflineStoreConfig& WithDataCatalogConfig(DataCatalogConfigT&& value) { SetDataCatalogConfig(std::forward<DataCatalogConfigT>(value)); return *this;}
87
89
93 inline TableFormat GetTableFormat() const { return m_tableFormat; }
94 inline bool TableFormatHasBeenSet() const { return m_tableFormatHasBeenSet; }
95 inline void SetTableFormat(TableFormat value) { m_tableFormatHasBeenSet = true; m_tableFormat = value; }
96 inline OfflineStoreConfig& WithTableFormat(TableFormat value) { SetTableFormat(value); return *this;}
98 private:
99
100 S3StorageConfig m_s3StorageConfig;
101 bool m_s3StorageConfigHasBeenSet = false;
102
103 bool m_disableGlueTableCreation{false};
104 bool m_disableGlueTableCreationHasBeenSet = false;
105
106 DataCatalogConfig m_dataCatalogConfig;
107 bool m_dataCatalogConfigHasBeenSet = false;
108
109 TableFormat m_tableFormat{TableFormat::NOT_SET};
110 bool m_tableFormatHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SageMaker
115} // 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