AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProfileConfiguration.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/ColumnStatisticsConfiguration.h>
11#include <aws/databrew/model/EntityDetectorConfiguration.h>
12#include <aws/databrew/model/StatisticsConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew {
24namespace Model {
25
35 public:
36 AWS_GLUEDATABREW_API ProfileConfiguration() = default;
37 AWS_GLUEDATABREW_API ProfileConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
47 inline const StatisticsConfiguration& GetDatasetStatisticsConfiguration() const { return m_datasetStatisticsConfiguration; }
48 inline bool DatasetStatisticsConfigurationHasBeenSet() const { return m_datasetStatisticsConfigurationHasBeenSet; }
49 template <typename DatasetStatisticsConfigurationT = StatisticsConfiguration>
50 void SetDatasetStatisticsConfiguration(DatasetStatisticsConfigurationT&& value) {
51 m_datasetStatisticsConfigurationHasBeenSet = true;
52 m_datasetStatisticsConfiguration = std::forward<DatasetStatisticsConfigurationT>(value);
53 }
54 template <typename DatasetStatisticsConfigurationT = StatisticsConfiguration>
55 ProfileConfiguration& WithDatasetStatisticsConfiguration(DatasetStatisticsConfigurationT&& value) {
56 SetDatasetStatisticsConfiguration(std::forward<DatasetStatisticsConfigurationT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::Vector<ColumnSelector>& GetProfileColumns() const { return m_profileColumns; }
68 inline bool ProfileColumnsHasBeenSet() const { return m_profileColumnsHasBeenSet; }
69 template <typename ProfileColumnsT = Aws::Vector<ColumnSelector>>
70 void SetProfileColumns(ProfileColumnsT&& value) {
71 m_profileColumnsHasBeenSet = true;
72 m_profileColumns = std::forward<ProfileColumnsT>(value);
73 }
74 template <typename ProfileColumnsT = Aws::Vector<ColumnSelector>>
75 ProfileConfiguration& WithProfileColumns(ProfileColumnsT&& value) {
76 SetProfileColumns(std::forward<ProfileColumnsT>(value));
77 return *this;
78 }
79 template <typename ProfileColumnsT = ColumnSelector>
80 ProfileConfiguration& AddProfileColumns(ProfileColumnsT&& value) {
81 m_profileColumnsHasBeenSet = true;
82 m_profileColumns.emplace_back(std::forward<ProfileColumnsT>(value));
83 return *this;
84 }
86
88
96 return m_columnStatisticsConfigurations;
97 }
98 inline bool ColumnStatisticsConfigurationsHasBeenSet() const { return m_columnStatisticsConfigurationsHasBeenSet; }
99 template <typename ColumnStatisticsConfigurationsT = Aws::Vector<ColumnStatisticsConfiguration>>
100 void SetColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT&& value) {
101 m_columnStatisticsConfigurationsHasBeenSet = true;
102 m_columnStatisticsConfigurations = std::forward<ColumnStatisticsConfigurationsT>(value);
103 }
104 template <typename ColumnStatisticsConfigurationsT = Aws::Vector<ColumnStatisticsConfiguration>>
105 ProfileConfiguration& WithColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT&& value) {
106 SetColumnStatisticsConfigurations(std::forward<ColumnStatisticsConfigurationsT>(value));
107 return *this;
108 }
109 template <typename ColumnStatisticsConfigurationsT = ColumnStatisticsConfiguration>
110 ProfileConfiguration& AddColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT&& value) {
111 m_columnStatisticsConfigurationsHasBeenSet = true;
112 m_columnStatisticsConfigurations.emplace_back(std::forward<ColumnStatisticsConfigurationsT>(value));
113 return *this;
114 }
116
118
122 inline const EntityDetectorConfiguration& GetEntityDetectorConfiguration() const { return m_entityDetectorConfiguration; }
123 inline bool EntityDetectorConfigurationHasBeenSet() const { return m_entityDetectorConfigurationHasBeenSet; }
124 template <typename EntityDetectorConfigurationT = EntityDetectorConfiguration>
125 void SetEntityDetectorConfiguration(EntityDetectorConfigurationT&& value) {
126 m_entityDetectorConfigurationHasBeenSet = true;
127 m_entityDetectorConfiguration = std::forward<EntityDetectorConfigurationT>(value);
128 }
129 template <typename EntityDetectorConfigurationT = EntityDetectorConfiguration>
130 ProfileConfiguration& WithEntityDetectorConfiguration(EntityDetectorConfigurationT&& value) {
131 SetEntityDetectorConfiguration(std::forward<EntityDetectorConfigurationT>(value));
132 return *this;
133 }
135 private:
136 StatisticsConfiguration m_datasetStatisticsConfiguration;
137
138 Aws::Vector<ColumnSelector> m_profileColumns;
139
140 Aws::Vector<ColumnStatisticsConfiguration> m_columnStatisticsConfigurations;
141
142 EntityDetectorConfiguration m_entityDetectorConfiguration;
143 bool m_datasetStatisticsConfigurationHasBeenSet = false;
144 bool m_profileColumnsHasBeenSet = false;
145 bool m_columnStatisticsConfigurationsHasBeenSet = false;
146 bool m_entityDetectorConfigurationHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace GlueDataBrew
151} // namespace Aws
ProfileConfiguration & WithProfileColumns(ProfileColumnsT &&value)
ProfileConfiguration & AddProfileColumns(ProfileColumnsT &&value)
ProfileConfiguration & WithColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API ProfileConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API ProfileConfiguration()=default
const EntityDetectorConfiguration & GetEntityDetectorConfiguration() const
const Aws::Vector< ColumnStatisticsConfiguration > & GetColumnStatisticsConfigurations() const
const StatisticsConfiguration & GetDatasetStatisticsConfiguration() const
void SetColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT &&value)
AWS_GLUEDATABREW_API ProfileConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileConfiguration & AddColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT &&value)
ProfileConfiguration & WithDatasetStatisticsConfiguration(DatasetStatisticsConfigurationT &&value)
void SetDatasetStatisticsConfiguration(DatasetStatisticsConfigurationT &&value)
void SetEntityDetectorConfiguration(EntityDetectorConfigurationT &&value)
const Aws::Vector< ColumnSelector > & GetProfileColumns() const
ProfileConfiguration & WithEntityDetectorConfiguration(EntityDetectorConfigurationT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue