AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FSx
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_FSX_API LustreReadCacheConfiguration() = default;
40
41
43
52 inline LustreReadCacheSizingMode GetSizingMode() const { return m_sizingMode; }
53 inline bool SizingModeHasBeenSet() const { return m_sizingModeHasBeenSet; }
54 inline void SetSizingMode(LustreReadCacheSizingMode value) { m_sizingModeHasBeenSet = true; m_sizingMode = value; }
57
59
67 inline int GetSizeGiB() const { return m_sizeGiB; }
68 inline bool SizeGiBHasBeenSet() const { return m_sizeGiBHasBeenSet; }
69 inline void SetSizeGiB(int value) { m_sizeGiBHasBeenSet = true; m_sizeGiB = value; }
70 inline LustreReadCacheConfiguration& WithSizeGiB(int value) { SetSizeGiB(value); return *this;}
72 private:
73
75 bool m_sizingModeHasBeenSet = false;
76
77 int m_sizeGiB{0};
78 bool m_sizeGiBHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace FSx
83} // 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