AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
EphemeralStorage.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ECS {
17namespace Model {
18
33 public:
34 AWS_ECS_API EphemeralStorage() = default;
38
40
45 inline int GetSizeInGiB() const { return m_sizeInGiB; }
46 inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
47 inline void SetSizeInGiB(int value) {
48 m_sizeInGiBHasBeenSet = true;
49 m_sizeInGiB = value;
50 }
51 inline EphemeralStorage& WithSizeInGiB(int value) {
52 SetSizeInGiB(value);
53 return *this;
54 }
56 private:
57 int m_sizeInGiB{0};
58 bool m_sizeInGiBHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace ECS
63} // namespace Aws
AWS_ECS_API EphemeralStorage(Aws::Utils::Json::JsonView jsonValue)
EphemeralStorage & WithSizeInGiB(int value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API EphemeralStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API EphemeralStorage()=default
Aws::Utils::Json::JsonValue JsonValue