AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
Ec2EbsVolume.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace deadline {
17namespace Model {
18
25 public:
26 AWS_DEADLINE_API Ec2EbsVolume() = default;
27 AWS_DEADLINE_API Ec2EbsVolume(Aws::Utils::Json::JsonView jsonValue);
29 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetSizeGiB() const { return m_sizeGiB; }
36 inline bool SizeGiBHasBeenSet() const { return m_sizeGiBHasBeenSet; }
37 inline void SetSizeGiB(int value) {
38 m_sizeGiBHasBeenSet = true;
39 m_sizeGiB = value;
40 }
41 inline Ec2EbsVolume& WithSizeGiB(int value) {
42 SetSizeGiB(value);
43 return *this;
44 }
46
48
51 inline int GetIops() const { return m_iops; }
52 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
53 inline void SetIops(int value) {
54 m_iopsHasBeenSet = true;
55 m_iops = value;
56 }
57 inline Ec2EbsVolume& WithIops(int value) {
58 SetIops(value);
59 return *this;
60 }
62
64
67 inline int GetThroughputMiB() const { return m_throughputMiB; }
68 inline bool ThroughputMiBHasBeenSet() const { return m_throughputMiBHasBeenSet; }
69 inline void SetThroughputMiB(int value) {
70 m_throughputMiBHasBeenSet = true;
71 m_throughputMiB = value;
72 }
73 inline Ec2EbsVolume& WithThroughputMiB(int value) {
74 SetThroughputMiB(value);
75 return *this;
76 }
78 private:
79 int m_sizeGiB{0};
80
81 int m_iops{0};
82
83 int m_throughputMiB{0};
84 bool m_sizeGiBHasBeenSet = false;
85 bool m_iopsHasBeenSet = false;
86 bool m_throughputMiBHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace deadline
91} // 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)
AWS_DEADLINE_API Ec2EbsVolume()=default
Ec2EbsVolume & WithThroughputMiB(int value)
Ec2EbsVolume & WithIops(int value)
Aws::Utils::Json::JsonValue JsonValue