AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EphemeralStorage.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Batch {
17namespace Model {
18
27 public:
28 AWS_BATCH_API EphemeralStorage() = default;
31 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline int GetSizeInGiB() const { return m_sizeInGiB; }
40 inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
41 inline void SetSizeInGiB(int value) {
42 m_sizeInGiBHasBeenSet = true;
43 m_sizeInGiB = value;
44 }
45 inline EphemeralStorage& WithSizeInGiB(int value) {
46 SetSizeInGiB(value);
47 return *this;
48 }
50 private:
51 int m_sizeInGiB{0};
52 bool m_sizeInGiBHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace Batch
57} // namespace Aws
AWS_BATCH_API EphemeralStorage(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EphemeralStorage()=default
EphemeralStorage & WithSizeInGiB(int value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API EphemeralStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue