AWS SDK for C++  1.9.161
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 
38  {
39  public:
44 
45 
51  inline int GetSizeInGiB() const{ return m_sizeInGiB; }
52 
58  inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
59 
65  inline void SetSizeInGiB(int value) { m_sizeInGiBHasBeenSet = true; m_sizeInGiB = value; }
66 
72  inline EphemeralStorage& WithSizeInGiB(int value) { SetSizeInGiB(value); return *this;}
73 
74  private:
75 
76  int m_sizeInGiB;
77  bool m_sizeInGiBHasBeenSet;
78  };
79 
80 } // namespace Model
81 } // namespace ECS
82 } // 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:58
Aws::ECS::Model::EphemeralStorage::GetSizeInGiB
int GetSizeInGiB() const
Definition: EphemeralStorage.h:51
Aws::ECS::Model::EphemeralStorage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::EphemeralStorage::WithSizeInGiB
EphemeralStorage & WithSizeInGiB(int value)
Definition: EphemeralStorage.h:72
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::EphemeralStorage::SetSizeInGiB
void SetSizeInGiB(int value)
Definition: EphemeralStorage.h:65
Aws::ECS::Model::EphemeralStorage
Definition: EphemeralStorage.h:38
Aws::ECS::Model::EphemeralStorage::EphemeralStorage
EphemeralStorage()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::EphemeralStorage::EphemeralStorage
EphemeralStorage(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ECS_EXPORTS.h