7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/databrew/GlueDataBrew_EXPORTS.h>
11#include <aws/databrew/model/ColumnSelector.h>
12#include <aws/databrew/model/Threshold.h>
23namespace GlueDataBrew {
34 AWS_GLUEDATABREW_API
Rule() =
default;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
65 m_disabledHasBeenSet =
true;
92 template <
typename CheckExpressionT = Aws::String>
94 m_checkExpressionHasBeenSet =
true;
95 m_checkExpression = std::forward<CheckExpressionT>(value);
97 template <
typename CheckExpressionT = Aws::String>
114 template <
typename SubstitutionMapT = Aws::Map<Aws::String, Aws::String>>
116 m_substitutionMapHasBeenSet =
true;
117 m_substitutionMap = std::forward<SubstitutionMapT>(value);
119 template <
typename SubstitutionMapT = Aws::Map<Aws::String, Aws::String>>
124 template <
typename SubstitutionMapKeyT = Aws::String,
typename SubstitutionMapValueT = Aws::String>
126 m_substitutionMapHasBeenSet =
true;
127 m_substitutionMap.emplace(std::forward<SubstitutionMapKeyT>(key), std::forward<SubstitutionMapValueT>(value));
140 template <
typename ThresholdT = Threshold>
142 m_thresholdHasBeenSet =
true;
143 m_threshold = std::forward<ThresholdT>(value);
145 template <
typename ThresholdT = Threshold>
160 template <
typename ColumnSelectorsT = Aws::Vector<ColumnSelector>>
162 m_columnSelectorsHasBeenSet =
true;
163 m_columnSelectors = std::forward<ColumnSelectorsT>(value);
165 template <
typename ColumnSelectorsT = Aws::Vector<ColumnSelector>>
170 template <
typename ColumnSelectorsT = ColumnSelector>
172 m_columnSelectorsHasBeenSet =
true;
173 m_columnSelectors.emplace_back(std::forward<ColumnSelectorsT>(value));
180 bool m_disabled{
false};
186 Threshold m_threshold;
189 bool m_nameHasBeenSet =
false;
190 bool m_disabledHasBeenSet =
false;
191 bool m_checkExpressionHasBeenSet =
false;
192 bool m_substitutionMapHasBeenSet =
false;
193 bool m_thresholdHasBeenSet =
false;
194 bool m_columnSelectorsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetSubstitutionMap() const
bool DisabledHasBeenSet() const
const Aws::Vector< ColumnSelector > & GetColumnSelectors() const
void SetColumnSelectors(ColumnSelectorsT &&value)
AWS_GLUEDATABREW_API Rule()=default
const Threshold & GetThreshold() const
Rule & AddSubstitutionMap(SubstitutionMapKeyT &&key, SubstitutionMapValueT &&value)
void SetName(NameT &&value)
void SetDisabled(bool value)
void SetSubstitutionMap(SubstitutionMapT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCheckExpression(CheckExpressionT &&value)
Rule & WithColumnSelectors(ColumnSelectorsT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetCheckExpression() const
Rule & WithCheckExpression(CheckExpressionT &&value)
Rule & AddColumnSelectors(ColumnSelectorsT &&value)
Rule & WithSubstitutionMap(SubstitutionMapT &&value)
Rule & WithName(NameT &&value)
Rule & WithDisabled(bool value)
Rule & WithThreshold(ThresholdT &&value)
bool SubstitutionMapHasBeenSet() const
AWS_GLUEDATABREW_API Rule(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdHasBeenSet() const
bool CheckExpressionHasBeenSet() const
void SetThreshold(ThresholdT &&value)
bool ColumnSelectorsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue