AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecimalColumnStatisticsData.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/DecimalNumber.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 Glue
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const DecimalNumber& GetMinimumValue() const{ return m_minimumValue; }
46 inline bool MinimumValueHasBeenSet() const { return m_minimumValueHasBeenSet; }
47 inline void SetMinimumValue(const DecimalNumber& value) { m_minimumValueHasBeenSet = true; m_minimumValue = value; }
48 inline void SetMinimumValue(DecimalNumber&& value) { m_minimumValueHasBeenSet = true; m_minimumValue = std::move(value); }
49 inline DecimalColumnStatisticsData& WithMinimumValue(const DecimalNumber& value) { SetMinimumValue(value); return *this;}
50 inline DecimalColumnStatisticsData& WithMinimumValue(DecimalNumber&& value) { SetMinimumValue(std::move(value)); return *this;}
52
54
57 inline const DecimalNumber& GetMaximumValue() const{ return m_maximumValue; }
58 inline bool MaximumValueHasBeenSet() const { return m_maximumValueHasBeenSet; }
59 inline void SetMaximumValue(const DecimalNumber& value) { m_maximumValueHasBeenSet = true; m_maximumValue = value; }
60 inline void SetMaximumValue(DecimalNumber&& value) { m_maximumValueHasBeenSet = true; m_maximumValue = std::move(value); }
61 inline DecimalColumnStatisticsData& WithMaximumValue(const DecimalNumber& value) { SetMaximumValue(value); return *this;}
62 inline DecimalColumnStatisticsData& WithMaximumValue(DecimalNumber&& value) { SetMaximumValue(std::move(value)); return *this;}
64
66
69 inline long long GetNumberOfNulls() const{ return m_numberOfNulls; }
70 inline bool NumberOfNullsHasBeenSet() const { return m_numberOfNullsHasBeenSet; }
71 inline void SetNumberOfNulls(long long value) { m_numberOfNullsHasBeenSet = true; m_numberOfNulls = value; }
72 inline DecimalColumnStatisticsData& WithNumberOfNulls(long long value) { SetNumberOfNulls(value); return *this;}
74
76
79 inline long long GetNumberOfDistinctValues() const{ return m_numberOfDistinctValues; }
80 inline bool NumberOfDistinctValuesHasBeenSet() const { return m_numberOfDistinctValuesHasBeenSet; }
81 inline void SetNumberOfDistinctValues(long long value) { m_numberOfDistinctValuesHasBeenSet = true; m_numberOfDistinctValues = value; }
84 private:
85
86 DecimalNumber m_minimumValue;
87 bool m_minimumValueHasBeenSet = false;
88
89 DecimalNumber m_maximumValue;
90 bool m_maximumValueHasBeenSet = false;
91
92 long long m_numberOfNulls;
93 bool m_numberOfNullsHasBeenSet = false;
94
95 long long m_numberOfDistinctValues;
96 bool m_numberOfDistinctValuesHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
DecimalColumnStatisticsData & WithNumberOfNulls(long long value)
DecimalColumnStatisticsData & WithMaximumValue(const DecimalNumber &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DecimalColumnStatisticsData & WithMinimumValue(DecimalNumber &&value)
DecimalColumnStatisticsData & WithNumberOfDistinctValues(long long value)
DecimalColumnStatisticsData & WithMinimumValue(const DecimalNumber &value)
AWS_GLUE_API DecimalColumnStatisticsData & operator=(Aws::Utils::Json::JsonView jsonValue)
DecimalColumnStatisticsData & WithMaximumValue(DecimalNumber &&value)
AWS_GLUE_API DecimalColumnStatisticsData(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue