AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ColumnStatisticsConfiguration.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/databrew/model/StatisticsConfiguration.h>
10#include <aws/databrew/model/ColumnSelector.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 GlueDataBrew
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_GLUEDATABREW_API ColumnStatisticsConfiguration() = default;
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<ColumnSelector>& GetSelectors() const { return m_selectors; }
51 inline bool SelectorsHasBeenSet() const { return m_selectorsHasBeenSet; }
52 template<typename SelectorsT = Aws::Vector<ColumnSelector>>
53 void SetSelectors(SelectorsT&& value) { m_selectorsHasBeenSet = true; m_selectors = std::forward<SelectorsT>(value); }
54 template<typename SelectorsT = Aws::Vector<ColumnSelector>>
55 ColumnStatisticsConfiguration& WithSelectors(SelectorsT&& value) { SetSelectors(std::forward<SelectorsT>(value)); return *this;}
56 template<typename SelectorsT = ColumnSelector>
57 ColumnStatisticsConfiguration& AddSelectors(SelectorsT&& value) { m_selectorsHasBeenSet = true; m_selectors.emplace_back(std::forward<SelectorsT>(value)); return *this; }
59
61
65 inline const StatisticsConfiguration& GetStatistics() const { return m_statistics; }
66 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
67 template<typename StatisticsT = StatisticsConfiguration>
68 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
69 template<typename StatisticsT = StatisticsConfiguration>
70 ColumnStatisticsConfiguration& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
72 private:
73
75 bool m_selectorsHasBeenSet = false;
76
77 StatisticsConfiguration m_statistics;
78 bool m_statisticsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GlueDataBrew
83} // 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