AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ec2EbsVolume.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_DEADLINE_API Ec2EbsVolume();
33 AWS_DEADLINE_API Ec2EbsVolume(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetSizeGiB() const{ return m_sizeGiB; }
43 inline bool SizeGiBHasBeenSet() const { return m_sizeGiBHasBeenSet; }
44 inline void SetSizeGiB(int value) { m_sizeGiBHasBeenSet = true; m_sizeGiB = value; }
45 inline Ec2EbsVolume& WithSizeGiB(int value) { SetSizeGiB(value); return *this;}
47
49
52 inline int GetIops() const{ return m_iops; }
53 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
54 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
55 inline Ec2EbsVolume& WithIops(int value) { SetIops(value); return *this;}
57
59
62 inline int GetThroughputMiB() const{ return m_throughputMiB; }
63 inline bool ThroughputMiBHasBeenSet() const { return m_throughputMiBHasBeenSet; }
64 inline void SetThroughputMiB(int value) { m_throughputMiBHasBeenSet = true; m_throughputMiB = value; }
65 inline Ec2EbsVolume& WithThroughputMiB(int value) { SetThroughputMiB(value); return *this;}
67 private:
68
69 int m_sizeGiB;
70 bool m_sizeGiBHasBeenSet = false;
71
72 int m_iops;
73 bool m_iopsHasBeenSet = false;
74
75 int m_throughputMiB;
76 bool m_throughputMiBHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace deadline
81} // namespace Aws
AWS_DEADLINE_API Ec2EbsVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API Ec2EbsVolume(Aws::Utils::Json::JsonView jsonValue)
Ec2EbsVolume & WithSizeGiB(int value)
Ec2EbsVolume & WithThroughputMiB(int value)
Ec2EbsVolume & WithIops(int value)
Aws::Utils::Json::JsonValue JsonValue