AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IcebergCompactionMetrics.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:
37
38
40
43 inline long long GetNumberOfBytesCompacted() const{ return m_numberOfBytesCompacted; }
44 inline bool NumberOfBytesCompactedHasBeenSet() const { return m_numberOfBytesCompactedHasBeenSet; }
45 inline void SetNumberOfBytesCompacted(long long value) { m_numberOfBytesCompactedHasBeenSet = true; m_numberOfBytesCompacted = value; }
46 inline IcebergCompactionMetrics& WithNumberOfBytesCompacted(long long value) { SetNumberOfBytesCompacted(value); return *this;}
48
50
53 inline long long GetNumberOfFilesCompacted() const{ return m_numberOfFilesCompacted; }
54 inline bool NumberOfFilesCompactedHasBeenSet() const { return m_numberOfFilesCompactedHasBeenSet; }
55 inline void SetNumberOfFilesCompacted(long long value) { m_numberOfFilesCompactedHasBeenSet = true; m_numberOfFilesCompacted = value; }
56 inline IcebergCompactionMetrics& WithNumberOfFilesCompacted(long long value) { SetNumberOfFilesCompacted(value); return *this;}
58
60
63 inline int GetNumberOfDpus() const{ return m_numberOfDpus; }
64 inline bool NumberOfDpusHasBeenSet() const { return m_numberOfDpusHasBeenSet; }
65 inline void SetNumberOfDpus(int value) { m_numberOfDpusHasBeenSet = true; m_numberOfDpus = value; }
66 inline IcebergCompactionMetrics& WithNumberOfDpus(int value) { SetNumberOfDpus(value); return *this;}
68
70
73 inline double GetJobDurationInHour() const{ return m_jobDurationInHour; }
74 inline bool JobDurationInHourHasBeenSet() const { return m_jobDurationInHourHasBeenSet; }
75 inline void SetJobDurationInHour(double value) { m_jobDurationInHourHasBeenSet = true; m_jobDurationInHour = value; }
76 inline IcebergCompactionMetrics& WithJobDurationInHour(double value) { SetJobDurationInHour(value); return *this;}
78 private:
79
80 long long m_numberOfBytesCompacted;
81 bool m_numberOfBytesCompactedHasBeenSet = false;
82
83 long long m_numberOfFilesCompacted;
84 bool m_numberOfFilesCompactedHasBeenSet = false;
85
86 int m_numberOfDpus;
87 bool m_numberOfDpusHasBeenSet = false;
88
89 double m_jobDurationInHour;
90 bool m_jobDurationInHourHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
IcebergCompactionMetrics & WithNumberOfBytesCompacted(long long value)
AWS_GLUE_API IcebergCompactionMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergCompactionMetrics & WithNumberOfDpus(int value)
AWS_GLUE_API IcebergCompactionMetrics(Aws::Utils::Json::JsonView jsonValue)
IcebergCompactionMetrics & WithNumberOfFilesCompacted(long long value)
IcebergCompactionMetrics & WithJobDurationInHour(double value)
Aws::Utils::Json::JsonValue JsonValue