AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ColumnStatisticsConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/databrew/GlueDataBrew_EXPORTS.h>
9#include <aws/databrew/model/ColumnSelector.h>
10#include <aws/databrew/model/StatisticsConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew {
22namespace Model {
23
32 public:
33 AWS_GLUEDATABREW_API ColumnStatisticsConfiguration() = default;
36 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<ColumnSelector>& GetSelectors() const { return m_selectors; }
45 inline bool SelectorsHasBeenSet() const { return m_selectorsHasBeenSet; }
46 template <typename SelectorsT = Aws::Vector<ColumnSelector>>
47 void SetSelectors(SelectorsT&& value) {
48 m_selectorsHasBeenSet = true;
49 m_selectors = std::forward<SelectorsT>(value);
50 }
51 template <typename SelectorsT = Aws::Vector<ColumnSelector>>
53 SetSelectors(std::forward<SelectorsT>(value));
54 return *this;
55 }
56 template <typename SelectorsT = ColumnSelector>
58 m_selectorsHasBeenSet = true;
59 m_selectors.emplace_back(std::forward<SelectorsT>(value));
60 return *this;
61 }
63
65
69 inline const StatisticsConfiguration& GetStatistics() const { return m_statistics; }
70 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
71 template <typename StatisticsT = StatisticsConfiguration>
72 void SetStatistics(StatisticsT&& value) {
73 m_statisticsHasBeenSet = true;
74 m_statistics = std::forward<StatisticsT>(value);
75 }
76 template <typename StatisticsT = StatisticsConfiguration>
78 SetStatistics(std::forward<StatisticsT>(value));
79 return *this;
80 }
82 private:
84
85 StatisticsConfiguration m_statistics;
86 bool m_selectorsHasBeenSet = false;
87 bool m_statisticsHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace GlueDataBrew
92} // namespace Aws
AWS_GLUEDATABREW_API ColumnStatisticsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API ColumnStatisticsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API ColumnStatisticsConfiguration()=default
ColumnStatisticsConfiguration & WithStatistics(StatisticsT &&value)
const Aws::Vector< ColumnSelector > & GetSelectors() const
ColumnStatisticsConfiguration & AddSelectors(SelectorsT &&value)
ColumnStatisticsConfiguration & WithSelectors(SelectorsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue