AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StringColumnStatisticsData.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 GetMaximumLength() const{ return m_maximumLength; }
44 inline bool MaximumLengthHasBeenSet() const { return m_maximumLengthHasBeenSet; }
45 inline void SetMaximumLength(long long value) { m_maximumLengthHasBeenSet = true; m_maximumLength = value; }
46 inline StringColumnStatisticsData& WithMaximumLength(long long value) { SetMaximumLength(value); return *this;}
48
50
53 inline double GetAverageLength() const{ return m_averageLength; }
54 inline bool AverageLengthHasBeenSet() const { return m_averageLengthHasBeenSet; }
55 inline void SetAverageLength(double value) { m_averageLengthHasBeenSet = true; m_averageLength = value; }
56 inline StringColumnStatisticsData& WithAverageLength(double value) { SetAverageLength(value); return *this;}
58
60
63 inline long long GetNumberOfNulls() const{ return m_numberOfNulls; }
64 inline bool NumberOfNullsHasBeenSet() const { return m_numberOfNullsHasBeenSet; }
65 inline void SetNumberOfNulls(long long value) { m_numberOfNullsHasBeenSet = true; m_numberOfNulls = value; }
66 inline StringColumnStatisticsData& WithNumberOfNulls(long long value) { SetNumberOfNulls(value); return *this;}
68
70
73 inline long long GetNumberOfDistinctValues() const{ return m_numberOfDistinctValues; }
74 inline bool NumberOfDistinctValuesHasBeenSet() const { return m_numberOfDistinctValuesHasBeenSet; }
75 inline void SetNumberOfDistinctValues(long long value) { m_numberOfDistinctValuesHasBeenSet = true; m_numberOfDistinctValues = value; }
78 private:
79
80 long long m_maximumLength;
81 bool m_maximumLengthHasBeenSet = false;
82
83 double m_averageLength;
84 bool m_averageLengthHasBeenSet = false;
85
86 long long m_numberOfNulls;
87 bool m_numberOfNullsHasBeenSet = false;
88
89 long long m_numberOfDistinctValues;
90 bool m_numberOfDistinctValuesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
StringColumnStatisticsData & WithNumberOfDistinctValues(long long value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
StringColumnStatisticsData & WithAverageLength(double value)
AWS_GLUE_API StringColumnStatisticsData & operator=(Aws::Utils::Json::JsonView jsonValue)
StringColumnStatisticsData & WithNumberOfNulls(long long value)
AWS_GLUE_API StringColumnStatisticsData(Aws::Utils::Json::JsonView jsonValue)
StringColumnStatisticsData & WithMaximumLength(long long value)
Aws::Utils::Json::JsonValue JsonValue