AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LustreReadCacheConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/LustreReadCacheSizingMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FSx {
20namespace Model {
21
30 public:
31 AWS_FSX_API LustreReadCacheConfiguration() = default;
35
37
46 inline LustreReadCacheSizingMode GetSizingMode() const { return m_sizingMode; }
47 inline bool SizingModeHasBeenSet() const { return m_sizingModeHasBeenSet; }
49 m_sizingModeHasBeenSet = true;
50 m_sizingMode = value;
51 }
53 SetSizingMode(value);
54 return *this;
55 }
57
59
67 inline int GetSizeGiB() const { return m_sizeGiB; }
68 inline bool SizeGiBHasBeenSet() const { return m_sizeGiBHasBeenSet; }
69 inline void SetSizeGiB(int value) {
70 m_sizeGiBHasBeenSet = true;
71 m_sizeGiB = value;
72 }
74 SetSizeGiB(value);
75 return *this;
76 }
78 private:
80
81 int m_sizeGiB{0};
82 bool m_sizingModeHasBeenSet = false;
83 bool m_sizeGiBHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace FSx
88} // namespace Aws
LustreReadCacheConfiguration & WithSizeGiB(int value)
LustreReadCacheConfiguration & WithSizingMode(LustreReadCacheSizingMode value)
AWS_FSX_API LustreReadCacheConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetSizingMode(LustreReadCacheSizingMode value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API LustreReadCacheConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API LustreReadCacheConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue