AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProfileConfiguration.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/StatisticsConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/databrew/model/EntityDetectorConfiguration.h>
11#include <aws/databrew/model/ColumnSelector.h>
12#include <aws/databrew/model/ColumnStatisticsConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace GlueDataBrew
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_GLUEDATABREW_API ProfileConfiguration() = default;
42 AWS_GLUEDATABREW_API ProfileConfiguration(Aws::Utils::Json::JsonView jsonValue);
44 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const StatisticsConfiguration& GetDatasetStatisticsConfiguration() const { return m_datasetStatisticsConfiguration; }
54 inline bool DatasetStatisticsConfigurationHasBeenSet() const { return m_datasetStatisticsConfigurationHasBeenSet; }
55 template<typename DatasetStatisticsConfigurationT = StatisticsConfiguration>
56 void SetDatasetStatisticsConfiguration(DatasetStatisticsConfigurationT&& value) { m_datasetStatisticsConfigurationHasBeenSet = true; m_datasetStatisticsConfiguration = std::forward<DatasetStatisticsConfigurationT>(value); }
57 template<typename DatasetStatisticsConfigurationT = StatisticsConfiguration>
58 ProfileConfiguration& WithDatasetStatisticsConfiguration(DatasetStatisticsConfigurationT&& value) { SetDatasetStatisticsConfiguration(std::forward<DatasetStatisticsConfigurationT>(value)); return *this;}
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) { m_profileColumnsHasBeenSet = true; m_profileColumns = std::forward<ProfileColumnsT>(value); }
71 template<typename ProfileColumnsT = Aws::Vector<ColumnSelector>>
72 ProfileConfiguration& WithProfileColumns(ProfileColumnsT&& value) { SetProfileColumns(std::forward<ProfileColumnsT>(value)); return *this;}
73 template<typename ProfileColumnsT = ColumnSelector>
74 ProfileConfiguration& AddProfileColumns(ProfileColumnsT&& value) { m_profileColumnsHasBeenSet = true; m_profileColumns.emplace_back(std::forward<ProfileColumnsT>(value)); return *this; }
76
78
85 inline const Aws::Vector<ColumnStatisticsConfiguration>& GetColumnStatisticsConfigurations() const { return m_columnStatisticsConfigurations; }
86 inline bool ColumnStatisticsConfigurationsHasBeenSet() const { return m_columnStatisticsConfigurationsHasBeenSet; }
87 template<typename ColumnStatisticsConfigurationsT = Aws::Vector<ColumnStatisticsConfiguration>>
88 void SetColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT&& value) { m_columnStatisticsConfigurationsHasBeenSet = true; m_columnStatisticsConfigurations = std::forward<ColumnStatisticsConfigurationsT>(value); }
89 template<typename ColumnStatisticsConfigurationsT = Aws::Vector<ColumnStatisticsConfiguration>>
90 ProfileConfiguration& WithColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT&& value) { SetColumnStatisticsConfigurations(std::forward<ColumnStatisticsConfigurationsT>(value)); return *this;}
91 template<typename ColumnStatisticsConfigurationsT = ColumnStatisticsConfiguration>
92 ProfileConfiguration& AddColumnStatisticsConfigurations(ColumnStatisticsConfigurationsT&& value) { m_columnStatisticsConfigurationsHasBeenSet = true; m_columnStatisticsConfigurations.emplace_back(std::forward<ColumnStatisticsConfigurationsT>(value)); return *this; }
94
96
100 inline const EntityDetectorConfiguration& GetEntityDetectorConfiguration() const { return m_entityDetectorConfiguration; }
101 inline bool EntityDetectorConfigurationHasBeenSet() const { return m_entityDetectorConfigurationHasBeenSet; }
102 template<typename EntityDetectorConfigurationT = EntityDetectorConfiguration>
103 void SetEntityDetectorConfiguration(EntityDetectorConfigurationT&& value) { m_entityDetectorConfigurationHasBeenSet = true; m_entityDetectorConfiguration = std::forward<EntityDetectorConfigurationT>(value); }
104 template<typename EntityDetectorConfigurationT = EntityDetectorConfiguration>
105 ProfileConfiguration& WithEntityDetectorConfiguration(EntityDetectorConfigurationT&& value) { SetEntityDetectorConfiguration(std::forward<EntityDetectorConfigurationT>(value)); return *this;}
107 private:
108
109 StatisticsConfiguration m_datasetStatisticsConfiguration;
110 bool m_datasetStatisticsConfigurationHasBeenSet = false;
111
112 Aws::Vector<ColumnSelector> m_profileColumns;
113 bool m_profileColumnsHasBeenSet = false;
114
115 Aws::Vector<ColumnStatisticsConfiguration> m_columnStatisticsConfigurations;
116 bool m_columnStatisticsConfigurationsHasBeenSet = false;
117
118 EntityDetectorConfiguration m_entityDetectorConfiguration;
119 bool m_entityDetectorConfigurationHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace GlueDataBrew
124} // 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