AWS SDK for C++

AWS SDK for C++ Version 1.11.889

Loading...
Searching...
No Matches
OnlineStoreConfigUpdate.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/StorageType.h>
9#include <aws/sagemaker/model/TtlDuration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API OnlineStoreConfigUpdate() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline const TtlDuration& GetTtlDuration() const { return m_ttlDuration; }
45 inline bool TtlDurationHasBeenSet() const { return m_ttlDurationHasBeenSet; }
46 template <typename TtlDurationT = TtlDuration>
47 void SetTtlDuration(TtlDurationT&& value) {
48 m_ttlDurationHasBeenSet = true;
49 m_ttlDuration = std::forward<TtlDurationT>(value);
50 }
51 template <typename TtlDurationT = TtlDuration>
53 SetTtlDuration(std::forward<TtlDurationT>(value));
54 return *this;
55 }
57
59
66 inline StorageType GetStorageType() const { return m_storageType; }
67 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
68 inline void SetStorageType(StorageType value) {
69 m_storageTypeHasBeenSet = true;
70 m_storageType = value;
71 }
73 SetStorageType(value);
74 return *this;
75 }
77 private:
78 TtlDuration m_ttlDuration;
79
80 StorageType m_storageType{StorageType::NOT_SET};
81 bool m_ttlDurationHasBeenSet = false;
82 bool m_storageTypeHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace SageMaker
87} // namespace Aws
OnlineStoreConfigUpdate & WithTtlDuration(TtlDurationT &&value)
OnlineStoreConfigUpdate & WithStorageType(StorageType value)
AWS_SAGEMAKER_API OnlineStoreConfigUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API OnlineStoreConfigUpdate()=default
AWS_SAGEMAKER_API OnlineStoreConfigUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue