AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnStatistics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/ColumnStatisticsData.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API ColumnStatistics();
41
42
44
47 inline const Aws::String& GetColumnName() const{ return m_columnName; }
48 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
49 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
50 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
51 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
52 inline ColumnStatistics& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
53 inline ColumnStatistics& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
54 inline ColumnStatistics& WithColumnName(const char* value) { SetColumnName(value); return *this;}
56
58
61 inline const Aws::String& GetColumnType() const{ return m_columnType; }
62 inline bool ColumnTypeHasBeenSet() const { return m_columnTypeHasBeenSet; }
63 inline void SetColumnType(const Aws::String& value) { m_columnTypeHasBeenSet = true; m_columnType = value; }
64 inline void SetColumnType(Aws::String&& value) { m_columnTypeHasBeenSet = true; m_columnType = std::move(value); }
65 inline void SetColumnType(const char* value) { m_columnTypeHasBeenSet = true; m_columnType.assign(value); }
66 inline ColumnStatistics& WithColumnType(const Aws::String& value) { SetColumnType(value); return *this;}
67 inline ColumnStatistics& WithColumnType(Aws::String&& value) { SetColumnType(std::move(value)); return *this;}
68 inline ColumnStatistics& WithColumnType(const char* value) { SetColumnType(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetAnalyzedTime() const{ return m_analyzedTime; }
76 inline bool AnalyzedTimeHasBeenSet() const { return m_analyzedTimeHasBeenSet; }
77 inline void SetAnalyzedTime(const Aws::Utils::DateTime& value) { m_analyzedTimeHasBeenSet = true; m_analyzedTime = value; }
78 inline void SetAnalyzedTime(Aws::Utils::DateTime&& value) { m_analyzedTimeHasBeenSet = true; m_analyzedTime = std::move(value); }
79 inline ColumnStatistics& WithAnalyzedTime(const Aws::Utils::DateTime& value) { SetAnalyzedTime(value); return *this;}
80 inline ColumnStatistics& WithAnalyzedTime(Aws::Utils::DateTime&& value) { SetAnalyzedTime(std::move(value)); return *this;}
82
84
88 inline const ColumnStatisticsData& GetStatisticsData() const{ return m_statisticsData; }
89 inline bool StatisticsDataHasBeenSet() const { return m_statisticsDataHasBeenSet; }
90 inline void SetStatisticsData(const ColumnStatisticsData& value) { m_statisticsDataHasBeenSet = true; m_statisticsData = value; }
91 inline void SetStatisticsData(ColumnStatisticsData&& value) { m_statisticsDataHasBeenSet = true; m_statisticsData = std::move(value); }
92 inline ColumnStatistics& WithStatisticsData(const ColumnStatisticsData& value) { SetStatisticsData(value); return *this;}
93 inline ColumnStatistics& WithStatisticsData(ColumnStatisticsData&& value) { SetStatisticsData(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_columnName;
98 bool m_columnNameHasBeenSet = false;
99
100 Aws::String m_columnType;
101 bool m_columnTypeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_analyzedTime;
104 bool m_analyzedTimeHasBeenSet = false;
105
106 ColumnStatisticsData m_statisticsData;
107 bool m_statisticsDataHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Glue
112} // namespace Aws
void SetAnalyzedTime(Aws::Utils::DateTime &&value)
void SetColumnType(const Aws::String &value)
ColumnStatistics & WithColumnType(const char *value)
const Aws::String & GetColumnType() const
ColumnStatistics & WithColumnType(const Aws::String &value)
ColumnStatistics & WithAnalyzedTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnStatistics & WithStatisticsData(const ColumnStatisticsData &value)
ColumnStatistics & WithColumnType(Aws::String &&value)
void SetColumnName(const char *value)
const Aws::String & GetColumnName() const
void SetColumnType(const char *value)
void SetStatisticsData(ColumnStatisticsData &&value)
AWS_GLUE_API ColumnStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetColumnName(const Aws::String &value)
ColumnStatistics & WithColumnName(Aws::String &&value)
void SetStatisticsData(const ColumnStatisticsData &value)
void SetColumnType(Aws::String &&value)
ColumnStatistics & WithAnalyzedTime(Aws::Utils::DateTime &&value)
const ColumnStatisticsData & GetStatisticsData() const
AWS_GLUE_API ColumnStatistics(Aws::Utils::Json::JsonView jsonValue)
ColumnStatistics & WithColumnName(const Aws::String &value)
const Aws::Utils::DateTime & GetAnalyzedTime() const
void SetColumnName(Aws::String &&value)
void SetAnalyzedTime(const Aws::Utils::DateTime &value)
ColumnStatistics & WithColumnName(const char *value)
ColumnStatistics & WithStatisticsData(ColumnStatisticsData &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue