AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IcebergRetentionMetrics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GLUE_API IcebergRetentionMetrics() = default;
37
38
40
43 inline long long GetNumberOfDataFilesDeleted() const { return m_numberOfDataFilesDeleted; }
44 inline bool NumberOfDataFilesDeletedHasBeenSet() const { return m_numberOfDataFilesDeletedHasBeenSet; }
45 inline void SetNumberOfDataFilesDeleted(long long value) { m_numberOfDataFilesDeletedHasBeenSet = true; m_numberOfDataFilesDeleted = value; }
48
50
53 inline long long GetNumberOfManifestFilesDeleted() const { return m_numberOfManifestFilesDeleted; }
54 inline bool NumberOfManifestFilesDeletedHasBeenSet() const { return m_numberOfManifestFilesDeletedHasBeenSet; }
55 inline void SetNumberOfManifestFilesDeleted(long long value) { m_numberOfManifestFilesDeletedHasBeenSet = true; m_numberOfManifestFilesDeleted = value; }
58
60
63 inline long long GetNumberOfManifestListsDeleted() const { return m_numberOfManifestListsDeleted; }
64 inline bool NumberOfManifestListsDeletedHasBeenSet() const { return m_numberOfManifestListsDeletedHasBeenSet; }
65 inline void SetNumberOfManifestListsDeleted(long long value) { m_numberOfManifestListsDeletedHasBeenSet = true; m_numberOfManifestListsDeleted = value; }
68
70
73 inline double GetDpuHours() const { return m_dpuHours; }
74 inline bool DpuHoursHasBeenSet() const { return m_dpuHoursHasBeenSet; }
75 inline void SetDpuHours(double value) { m_dpuHoursHasBeenSet = true; m_dpuHours = value; }
76 inline IcebergRetentionMetrics& WithDpuHours(double value) { SetDpuHours(value); return *this;}
78
80
84 inline int GetNumberOfDpus() const { return m_numberOfDpus; }
85 inline bool NumberOfDpusHasBeenSet() const { return m_numberOfDpusHasBeenSet; }
86 inline void SetNumberOfDpus(int value) { m_numberOfDpusHasBeenSet = true; m_numberOfDpus = value; }
87 inline IcebergRetentionMetrics& WithNumberOfDpus(int value) { SetNumberOfDpus(value); return *this;}
89
91
94 inline double GetJobDurationInHour() const { return m_jobDurationInHour; }
95 inline bool JobDurationInHourHasBeenSet() const { return m_jobDurationInHourHasBeenSet; }
96 inline void SetJobDurationInHour(double value) { m_jobDurationInHourHasBeenSet = true; m_jobDurationInHour = value; }
97 inline IcebergRetentionMetrics& WithJobDurationInHour(double value) { SetJobDurationInHour(value); return *this;}
99 private:
100
101 long long m_numberOfDataFilesDeleted{0};
102 bool m_numberOfDataFilesDeletedHasBeenSet = false;
103
104 long long m_numberOfManifestFilesDeleted{0};
105 bool m_numberOfManifestFilesDeletedHasBeenSet = false;
106
107 long long m_numberOfManifestListsDeleted{0};
108 bool m_numberOfManifestListsDeletedHasBeenSet = false;
109
110 double m_dpuHours{0.0};
111 bool m_dpuHoursHasBeenSet = false;
112
113 int m_numberOfDpus{0};
114 bool m_numberOfDpusHasBeenSet = false;
115
116 double m_jobDurationInHour{0.0};
117 bool m_jobDurationInHourHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Glue
122} // 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