AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OnlineStoreConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/OnlineStoreSecurityConfig.h>
9#include <aws/sagemaker/model/TtlDuration.h>
10#include <aws/sagemaker/model/StorageType.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
38 {
39 public:
40 AWS_SAGEMAKER_API OnlineStoreConfig();
41 AWS_SAGEMAKER_API OnlineStoreConfig(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const OnlineStoreSecurityConfig& GetSecurityConfig() const{ return m_securityConfig; }
52 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
53 inline void SetSecurityConfig(const OnlineStoreSecurityConfig& value) { m_securityConfigHasBeenSet = true; m_securityConfig = value; }
54 inline void SetSecurityConfig(OnlineStoreSecurityConfig&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::move(value); }
56 inline OnlineStoreConfig& WithSecurityConfig(OnlineStoreSecurityConfig&& value) { SetSecurityConfig(std::move(value)); return *this;}
58
60
66 inline bool GetEnableOnlineStore() const{ return m_enableOnlineStore; }
67 inline bool EnableOnlineStoreHasBeenSet() const { return m_enableOnlineStoreHasBeenSet; }
68 inline void SetEnableOnlineStore(bool value) { m_enableOnlineStoreHasBeenSet = true; m_enableOnlineStore = value; }
69 inline OnlineStoreConfig& WithEnableOnlineStore(bool value) { SetEnableOnlineStore(value); return *this;}
71
73
80 inline const TtlDuration& GetTtlDuration() const{ return m_ttlDuration; }
81 inline bool TtlDurationHasBeenSet() const { return m_ttlDurationHasBeenSet; }
82 inline void SetTtlDuration(const TtlDuration& value) { m_ttlDurationHasBeenSet = true; m_ttlDuration = value; }
83 inline void SetTtlDuration(TtlDuration&& value) { m_ttlDurationHasBeenSet = true; m_ttlDuration = std::move(value); }
84 inline OnlineStoreConfig& WithTtlDuration(const TtlDuration& value) { SetTtlDuration(value); return *this;}
85 inline OnlineStoreConfig& WithTtlDuration(TtlDuration&& value) { SetTtlDuration(std::move(value)); return *this;}
87
89
96 inline const StorageType& GetStorageType() const{ return m_storageType; }
97 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
98 inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
99 inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
100 inline OnlineStoreConfig& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
101 inline OnlineStoreConfig& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
103 private:
104
105 OnlineStoreSecurityConfig m_securityConfig;
106 bool m_securityConfigHasBeenSet = false;
107
108 bool m_enableOnlineStore;
109 bool m_enableOnlineStoreHasBeenSet = false;
110
111 TtlDuration m_ttlDuration;
112 bool m_ttlDurationHasBeenSet = false;
113
114 StorageType m_storageType;
115 bool m_storageTypeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SageMaker
120} // namespace Aws
OnlineStoreConfig & WithEnableOnlineStore(bool value)
void SetSecurityConfig(OnlineStoreSecurityConfig &&value)
void SetSecurityConfig(const OnlineStoreSecurityConfig &value)
const TtlDuration & GetTtlDuration() const
AWS_SAGEMAKER_API OnlineStoreConfig(Aws::Utils::Json::JsonView jsonValue)
void SetTtlDuration(const TtlDuration &value)
OnlineStoreConfig & WithSecurityConfig(const OnlineStoreSecurityConfig &value)
OnlineStoreConfig & WithStorageType(StorageType &&value)
OnlineStoreConfig & WithStorageType(const StorageType &value)
AWS_SAGEMAKER_API OnlineStoreConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
OnlineStoreConfig & WithSecurityConfig(OnlineStoreSecurityConfig &&value)
void SetStorageType(const StorageType &value)
const StorageType & GetStorageType() const
OnlineStoreConfig & WithTtlDuration(const TtlDuration &value)
OnlineStoreConfig & WithTtlDuration(TtlDuration &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const OnlineStoreSecurityConfig & GetSecurityConfig() const
Aws::Utils::Json::JsonValue JsonValue