AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSelectors(const Aws::Vector<ColumnSelector>& value) { m_selectorsHasBeenSet = true; m_selectors = value; }
53 inline void SetSelectors(Aws::Vector<ColumnSelector>&& value) { m_selectorsHasBeenSet = true; m_selectors = std::move(value); }
55 inline ColumnStatisticsConfiguration& WithSelectors(Aws::Vector<ColumnSelector>&& value) { SetSelectors(std::move(value)); return *this;}
56 inline ColumnStatisticsConfiguration& AddSelectors(const ColumnSelector& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(value); return *this; }
57 inline ColumnStatisticsConfiguration& AddSelectors(ColumnSelector&& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(std::move(value)); return *this; }
59
61
65 inline const StatisticsConfiguration& GetStatistics() const{ return m_statistics; }
66 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
67 inline void SetStatistics(const StatisticsConfiguration& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
68 inline void SetStatistics(StatisticsConfiguration&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
70 inline ColumnStatisticsConfiguration& WithStatistics(StatisticsConfiguration&& value) { SetStatistics(std::move(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
void SetSelectors(const Aws::Vector< ColumnSelector > &value)
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
ColumnStatisticsConfiguration & WithSelectors(Aws::Vector< ColumnSelector > &&value)
ColumnStatisticsConfiguration & AddSelectors(ColumnSelector &&value)
ColumnStatisticsConfiguration & WithStatistics(StatisticsConfiguration &&value)
ColumnStatisticsConfiguration & AddSelectors(const ColumnSelector &value)
ColumnStatisticsConfiguration & WithSelectors(const Aws::Vector< ColumnSelector > &value)
const Aws::Vector< ColumnSelector > & GetSelectors() const
ColumnStatisticsConfiguration & WithStatistics(const StatisticsConfiguration &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue