AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FileSystemSize.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/elasticfilesystem/EFS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EFS {
20namespace Model {
21
35 public:
36 AWS_EFS_API FileSystemSize() = default;
40
42
46 inline long long GetValue() const { return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 inline void SetValue(long long value) {
49 m_valueHasBeenSet = true;
50 m_value = value;
51 }
52 inline FileSystemSize& WithValue(long long value) {
53 SetValue(value);
54 return *this;
55 }
57
59
64 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
65 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
66 template <typename TimestampT = Aws::Utils::DateTime>
67 void SetTimestamp(TimestampT&& value) {
68 m_timestampHasBeenSet = true;
69 m_timestamp = std::forward<TimestampT>(value);
70 }
71 template <typename TimestampT = Aws::Utils::DateTime>
72 FileSystemSize& WithTimestamp(TimestampT&& value) {
73 SetTimestamp(std::forward<TimestampT>(value));
74 return *this;
75 }
77
79
83 inline long long GetValueInIA() const { return m_valueInIA; }
84 inline bool ValueInIAHasBeenSet() const { return m_valueInIAHasBeenSet; }
85 inline void SetValueInIA(long long value) {
86 m_valueInIAHasBeenSet = true;
87 m_valueInIA = value;
88 }
89 inline FileSystemSize& WithValueInIA(long long value) {
90 SetValueInIA(value);
91 return *this;
92 }
94
96
100 inline long long GetValueInStandard() const { return m_valueInStandard; }
101 inline bool ValueInStandardHasBeenSet() const { return m_valueInStandardHasBeenSet; }
102 inline void SetValueInStandard(long long value) {
103 m_valueInStandardHasBeenSet = true;
104 m_valueInStandard = value;
105 }
106 inline FileSystemSize& WithValueInStandard(long long value) {
107 SetValueInStandard(value);
108 return *this;
109 }
111
113
117 inline long long GetValueInArchive() const { return m_valueInArchive; }
118 inline bool ValueInArchiveHasBeenSet() const { return m_valueInArchiveHasBeenSet; }
119 inline void SetValueInArchive(long long value) {
120 m_valueInArchiveHasBeenSet = true;
121 m_valueInArchive = value;
122 }
123 inline FileSystemSize& WithValueInArchive(long long value) {
124 SetValueInArchive(value);
125 return *this;
126 }
128 private:
129 long long m_value{0};
130
131 Aws::Utils::DateTime m_timestamp{};
132
133 long long m_valueInIA{0};
134
135 long long m_valueInStandard{0};
136
137 long long m_valueInArchive{0};
138 bool m_valueHasBeenSet = false;
139 bool m_timestampHasBeenSet = false;
140 bool m_valueInIAHasBeenSet = false;
141 bool m_valueInStandardHasBeenSet = false;
142 bool m_valueInArchiveHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace EFS
147} // namespace Aws
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValueInArchive(long long value)
FileSystemSize & WithValueInArchive(long long value)
AWS_EFS_API FileSystemSize()=default
void SetValueInStandard(long long value)
void SetTimestamp(TimestampT &&value)
AWS_EFS_API FileSystemSize & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemSize & WithTimestamp(TimestampT &&value)
void SetValue(long long value)
FileSystemSize & WithValueInIA(long long value)
AWS_EFS_API FileSystemSize(Aws::Utils::Json::JsonView jsonValue)
FileSystemSize & WithValueInStandard(long long value)
void SetValueInIA(long long value)
const Aws::Utils::DateTime & GetTimestamp() const
FileSystemSize & WithValue(long long value)
Aws::Utils::Json::JsonValue JsonValue