AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FileSystemSize.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EFS
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_EFS_API FileSystemSize() = default;
45
46
48
52 inline long long GetValue() const { return m_value; }
53 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
54 inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
55 inline FileSystemSize& WithValue(long long value) { SetValue(value); return *this;}
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) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
68 template<typename TimestampT = Aws::Utils::DateTime>
69 FileSystemSize& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
71
73
77 inline long long GetValueInIA() const { return m_valueInIA; }
78 inline bool ValueInIAHasBeenSet() const { return m_valueInIAHasBeenSet; }
79 inline void SetValueInIA(long long value) { m_valueInIAHasBeenSet = true; m_valueInIA = value; }
80 inline FileSystemSize& WithValueInIA(long long value) { SetValueInIA(value); return *this;}
82
84
88 inline long long GetValueInStandard() const { return m_valueInStandard; }
89 inline bool ValueInStandardHasBeenSet() const { return m_valueInStandardHasBeenSet; }
90 inline void SetValueInStandard(long long value) { m_valueInStandardHasBeenSet = true; m_valueInStandard = value; }
91 inline FileSystemSize& WithValueInStandard(long long value) { SetValueInStandard(value); return *this;}
93
95
99 inline long long GetValueInArchive() const { return m_valueInArchive; }
100 inline bool ValueInArchiveHasBeenSet() const { return m_valueInArchiveHasBeenSet; }
101 inline void SetValueInArchive(long long value) { m_valueInArchiveHasBeenSet = true; m_valueInArchive = value; }
102 inline FileSystemSize& WithValueInArchive(long long value) { SetValueInArchive(value); return *this;}
104 private:
105
106 long long m_value{0};
107 bool m_valueHasBeenSet = false;
108
109 Aws::Utils::DateTime m_timestamp{};
110 bool m_timestampHasBeenSet = false;
111
112 long long m_valueInIA{0};
113 bool m_valueInIAHasBeenSet = false;
114
115 long long m_valueInStandard{0};
116 bool m_valueInStandardHasBeenSet = false;
117
118 long long m_valueInArchive{0};
119 bool m_valueInArchiveHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace EFS
124} // namespace Aws
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValueInArchive(long long value)
FileSystemSize & WithValueInArchive(long long value)
long long GetValueInArchive() const
long long GetValueInStandard() const
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