AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
PersistentVolumeConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline {
20namespace Model {
21
29 public:
30 AWS_DEADLINE_API PersistentVolumeConfiguration() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetSizeGiB() const { return m_sizeGiB; }
40 inline bool SizeGiBHasBeenSet() const { return m_sizeGiBHasBeenSet; }
41 inline void SetSizeGiB(int value) {
42 m_sizeGiBHasBeenSet = true;
43 m_sizeGiB = value;
44 }
46 SetSizeGiB(value);
47 return *this;
48 }
50
52
55 inline int GetIops() const { return m_iops; }
56 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
57 inline void SetIops(int value) {
58 m_iopsHasBeenSet = true;
59 m_iops = value;
60 }
62 SetIops(value);
63 return *this;
64 }
66
68
71 inline int GetThroughputMiB() const { return m_throughputMiB; }
72 inline bool ThroughputMiBHasBeenSet() const { return m_throughputMiBHasBeenSet; }
73 inline void SetThroughputMiB(int value) {
74 m_throughputMiBHasBeenSet = true;
75 m_throughputMiB = value;
76 }
78 SetThroughputMiB(value);
79 return *this;
80 }
82
84
88 inline const Aws::String& GetMountPath() const { return m_mountPath; }
89 inline bool MountPathHasBeenSet() const { return m_mountPathHasBeenSet; }
90 template <typename MountPathT = Aws::String>
91 void SetMountPath(MountPathT&& value) {
92 m_mountPathHasBeenSet = true;
93 m_mountPath = std::forward<MountPathT>(value);
94 }
95 template <typename MountPathT = Aws::String>
97 SetMountPath(std::forward<MountPathT>(value));
98 return *this;
99 }
101
103
107 inline int GetLastUsedTtlHours() const { return m_lastUsedTtlHours; }
108 inline bool LastUsedTtlHoursHasBeenSet() const { return m_lastUsedTtlHoursHasBeenSet; }
109 inline void SetLastUsedTtlHours(int value) {
110 m_lastUsedTtlHoursHasBeenSet = true;
111 m_lastUsedTtlHours = value;
112 }
114 SetLastUsedTtlHours(value);
115 return *this;
116 }
118 private:
119 int m_sizeGiB{0};
120
121 int m_iops{0};
122
123 int m_throughputMiB{0};
124
125 Aws::String m_mountPath;
126
127 int m_lastUsedTtlHours{0};
128 bool m_sizeGiBHasBeenSet = false;
129 bool m_iopsHasBeenSet = false;
130 bool m_throughputMiBHasBeenSet = false;
131 bool m_mountPathHasBeenSet = false;
132 bool m_lastUsedTtlHoursHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace deadline
137} // namespace Aws
PersistentVolumeConfiguration & WithMountPath(MountPathT &&value)
AWS_DEADLINE_API PersistentVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
PersistentVolumeConfiguration & WithLastUsedTtlHours(int value)
PersistentVolumeConfiguration & WithThroughputMiB(int value)
AWS_DEADLINE_API PersistentVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API PersistentVolumeConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue