AWS SDK for C++  1.9.44
AWS SDK for C++
EphemeralStorage.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace ECS
20 {
21 namespace Model
22 {
23 
37  {
38  public:
43 
44 
50  inline int GetSizeInGiB() const{ return m_sizeInGiB; }
51 
57  inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
58 
64  inline void SetSizeInGiB(int value) { m_sizeInGiBHasBeenSet = true; m_sizeInGiB = value; }
65 
71  inline EphemeralStorage& WithSizeInGiB(int value) { SetSizeInGiB(value); return *this;}
72 
73  private:
74 
75  int m_sizeInGiB;
76  bool m_sizeInGiBHasBeenSet;
77  };
78 
79 } // namespace Model
80 } // namespace ECS
81 } // namespace Aws
Aws::ECS::Model::EphemeralStorage::operator=
EphemeralStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::EphemeralStorage::SizeInGiBHasBeenSet
bool SizeInGiBHasBeenSet() const
Definition: EphemeralStorage.h:57
Aws::ECS::Model::EphemeralStorage::GetSizeInGiB
int GetSizeInGiB() const
Definition: EphemeralStorage.h:50
Aws::ECS::Model::EphemeralStorage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::EphemeralStorage::WithSizeInGiB
EphemeralStorage & WithSizeInGiB(int value)
Definition: EphemeralStorage.h:71
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::EphemeralStorage::SetSizeInGiB
void SetSizeInGiB(int value)
Definition: EphemeralStorage.h:64
Aws::ECS::Model::EphemeralStorage
Definition: EphemeralStorage.h:37
Aws::ECS::Model::EphemeralStorage::EphemeralStorage
EphemeralStorage()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::ECS::Model::EphemeralStorage::EphemeralStorage
EphemeralStorage(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
ECS_EXPORTS.h