7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/databrew/model/Threshold.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/databrew/model/ColumnSelector.h>
39 AWS_GLUEDATABREW_API
Rule();
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetDisabled(
bool value) { m_disabledHasBeenSet =
true; m_disabled = value; }
90 inline void SetCheckExpression(
const char* value) { m_checkExpressionHasBeenSet =
true; m_checkExpression.assign(value); }
116 inline Rule&
AddSubstitutionMap(
const char* key,
const char* value) { m_substitutionMapHasBeenSet =
true; m_substitutionMap.emplace(key, value);
return *
this; }
151 bool m_nameHasBeenSet =
false;
154 bool m_disabledHasBeenSet =
false;
157 bool m_checkExpressionHasBeenSet =
false;
160 bool m_substitutionMapHasBeenSet =
false;
163 bool m_thresholdHasBeenSet =
false;
166 bool m_columnSelectorsHasBeenSet =
false;
Rule & AddColumnSelectors(const ColumnSelector &value)
Rule & WithName(const char *value)
void SetCheckExpression(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetSubstitutionMap() const
bool DisabledHasBeenSet() const
void SetColumnSelectors(Aws::Vector< ColumnSelector > &&value)
const Aws::Vector< ColumnSelector > & GetColumnSelectors() const
Rule & AddSubstitutionMap(Aws::String &&key, const char *value)
Rule & WithCheckExpression(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_GLUEDATABREW_API Rule()
void SetThreshold(Threshold &&value)
Rule & WithSubstitutionMap(const Aws::Map< Aws::String, Aws::String > &value)
const Threshold & GetThreshold() const
void SetName(const Aws::String &value)
void SetCheckExpression(const char *value)
Rule & AddSubstitutionMap(const Aws::String &key, const Aws::String &value)
Rule & WithColumnSelectors(const Aws::Vector< ColumnSelector > &value)
void SetSubstitutionMap(const Aws::Map< Aws::String, Aws::String > &value)
void SetDisabled(bool value)
Rule & AddSubstitutionMap(const char *key, Aws::String &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCheckExpression(const Aws::String &value)
Rule & WithThreshold(const Threshold &value)
Rule & WithCheckExpression(const char *value)
Rule & AddSubstitutionMap(Aws::String &&key, Aws::String &&value)
bool NameHasBeenSet() const
Rule & WithThreshold(Threshold &&value)
Rule & WithCheckExpression(const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetCheckExpression() const
Rule & AddSubstitutionMap(const char *key, const char *value)
Rule & WithColumnSelectors(Aws::Vector< ColumnSelector > &&value)
void SetName(const char *value)
Rule & WithName(const Aws::String &value)
Rule & AddSubstitutionMap(const Aws::String &key, Aws::String &&value)
void SetColumnSelectors(const Aws::Vector< ColumnSelector > &value)
Rule & WithDisabled(bool value)
Rule & WithName(Aws::String &&value)
void SetThreshold(const Threshold &value)
void SetSubstitutionMap(Aws::Map< Aws::String, Aws::String > &&value)
bool SubstitutionMapHasBeenSet() const
AWS_GLUEDATABREW_API Rule(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdHasBeenSet() const
Rule & AddColumnSelectors(ColumnSelector &&value)
bool CheckExpressionHasBeenSet() const
Rule & AddSubstitutionMap(Aws::String &&key, const Aws::String &value)
Rule & WithSubstitutionMap(Aws::Map< Aws::String, Aws::String > &&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