AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FSxLustreConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
26 public:
27 AWS_SAGEMAKER_API FSxLustreConfig() = default;
28 AWS_SAGEMAKER_API FSxLustreConfig(Aws::Utils::Json::JsonView jsonValue);
30 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetSizeInGiB() const { return m_sizeInGiB; }
38 inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
39 inline void SetSizeInGiB(int value) {
40 m_sizeInGiBHasBeenSet = true;
41 m_sizeInGiB = value;
42 }
43 inline FSxLustreConfig& WithSizeInGiB(int value) {
44 SetSizeInGiB(value);
45 return *this;
46 }
48
50
54 inline int GetPerUnitStorageThroughput() const { return m_perUnitStorageThroughput; }
55 inline bool PerUnitStorageThroughputHasBeenSet() const { return m_perUnitStorageThroughputHasBeenSet; }
56 inline void SetPerUnitStorageThroughput(int value) {
57 m_perUnitStorageThroughputHasBeenSet = true;
58 m_perUnitStorageThroughput = value;
59 }
62 return *this;
63 }
65 private:
66 int m_sizeInGiB{0};
67
68 int m_perUnitStorageThroughput{0};
69 bool m_sizeInGiBHasBeenSet = false;
70 bool m_perUnitStorageThroughputHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
AWS_SAGEMAKER_API FSxLustreConfig()=default
AWS_SAGEMAKER_API FSxLustreConfig(Aws::Utils::Json::JsonView jsonValue)
FSxLustreConfig & WithSizeInGiB(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API FSxLustreConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
FSxLustreConfig & WithPerUnitStorageThroughput(int value)
Aws::Utils::Json::JsonValue JsonValue