AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
IcebergRetentionMetrics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Glue {
17namespace Model {
18
26 public:
27 AWS_GLUE_API IcebergRetentionMetrics() = default;
31
33
36 inline long long GetNumberOfDataFilesDeleted() const { return m_numberOfDataFilesDeleted; }
37 inline bool NumberOfDataFilesDeletedHasBeenSet() const { return m_numberOfDataFilesDeletedHasBeenSet; }
38 inline void SetNumberOfDataFilesDeleted(long long value) {
39 m_numberOfDataFilesDeletedHasBeenSet = true;
40 m_numberOfDataFilesDeleted = value;
41 }
44 return *this;
45 }
47
49
52 inline long long GetNumberOfManifestFilesDeleted() const { return m_numberOfManifestFilesDeleted; }
53 inline bool NumberOfManifestFilesDeletedHasBeenSet() const { return m_numberOfManifestFilesDeletedHasBeenSet; }
54 inline void SetNumberOfManifestFilesDeleted(long long value) {
55 m_numberOfManifestFilesDeletedHasBeenSet = true;
56 m_numberOfManifestFilesDeleted = value;
57 }
60 return *this;
61 }
63
65
68 inline long long GetNumberOfManifestListsDeleted() const { return m_numberOfManifestListsDeleted; }
69 inline bool NumberOfManifestListsDeletedHasBeenSet() const { return m_numberOfManifestListsDeletedHasBeenSet; }
70 inline void SetNumberOfManifestListsDeleted(long long value) {
71 m_numberOfManifestListsDeletedHasBeenSet = true;
72 m_numberOfManifestListsDeleted = value;
73 }
76 return *this;
77 }
79
81
84 inline double GetDpuHours() const { return m_dpuHours; }
85 inline bool DpuHoursHasBeenSet() const { return m_dpuHoursHasBeenSet; }
86 inline void SetDpuHours(double value) {
87 m_dpuHoursHasBeenSet = true;
88 m_dpuHours = value;
89 }
90 inline IcebergRetentionMetrics& WithDpuHours(double value) {
91 SetDpuHours(value);
92 return *this;
93 }
95
97
101 inline int GetNumberOfDpus() const { return m_numberOfDpus; }
102 inline bool NumberOfDpusHasBeenSet() const { return m_numberOfDpusHasBeenSet; }
103 inline void SetNumberOfDpus(int value) {
104 m_numberOfDpusHasBeenSet = true;
105 m_numberOfDpus = value;
106 }
108 SetNumberOfDpus(value);
109 return *this;
110 }
112
114
117 inline double GetJobDurationInHour() const { return m_jobDurationInHour; }
118 inline bool JobDurationInHourHasBeenSet() const { return m_jobDurationInHourHasBeenSet; }
119 inline void SetJobDurationInHour(double value) {
120 m_jobDurationInHourHasBeenSet = true;
121 m_jobDurationInHour = value;
122 }
125 return *this;
126 }
128 private:
129 long long m_numberOfDataFilesDeleted{0};
130
131 long long m_numberOfManifestFilesDeleted{0};
132
133 long long m_numberOfManifestListsDeleted{0};
134
135 double m_dpuHours{0.0};
136
137 int m_numberOfDpus{0};
138
139 double m_jobDurationInHour{0.0};
140 bool m_numberOfDataFilesDeletedHasBeenSet = false;
141 bool m_numberOfManifestFilesDeletedHasBeenSet = false;
142 bool m_numberOfManifestListsDeletedHasBeenSet = false;
143 bool m_dpuHoursHasBeenSet = false;
144 bool m_numberOfDpusHasBeenSet = false;
145 bool m_jobDurationInHourHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Glue
150} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergRetentionMetrics & WithNumberOfDpus(int value)
IcebergRetentionMetrics & WithNumberOfDataFilesDeleted(long long value)
IcebergRetentionMetrics & WithNumberOfManifestFilesDeleted(long long value)
IcebergRetentionMetrics & WithJobDurationInHour(double value)
AWS_GLUE_API IcebergRetentionMetrics()=default
IcebergRetentionMetrics & WithNumberOfManifestListsDeleted(long long value)
AWS_GLUE_API IcebergRetentionMetrics(Aws::Utils::Json::JsonView jsonValue)
IcebergRetentionMetrics & WithDpuHours(double value)
AWS_GLUE_API IcebergRetentionMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue