AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidationConfiguration.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/databrew/model/ValidationMode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_GLUEDATABREW_API ValidationConfiguration();
39 AWS_GLUEDATABREW_API ValidationConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetRulesetArn() const{ return m_rulesetArn; }
51 inline bool RulesetArnHasBeenSet() const { return m_rulesetArnHasBeenSet; }
52 inline void SetRulesetArn(const Aws::String& value) { m_rulesetArnHasBeenSet = true; m_rulesetArn = value; }
53 inline void SetRulesetArn(Aws::String&& value) { m_rulesetArnHasBeenSet = true; m_rulesetArn = std::move(value); }
54 inline void SetRulesetArn(const char* value) { m_rulesetArnHasBeenSet = true; m_rulesetArn.assign(value); }
55 inline ValidationConfiguration& WithRulesetArn(const Aws::String& value) { SetRulesetArn(value); return *this;}
56 inline ValidationConfiguration& WithRulesetArn(Aws::String&& value) { SetRulesetArn(std::move(value)); return *this;}
57 inline ValidationConfiguration& WithRulesetArn(const char* value) { SetRulesetArn(value); return *this;}
59
61
65 inline const ValidationMode& GetValidationMode() const{ return m_validationMode; }
66 inline bool ValidationModeHasBeenSet() const { return m_validationModeHasBeenSet; }
67 inline void SetValidationMode(const ValidationMode& value) { m_validationModeHasBeenSet = true; m_validationMode = value; }
68 inline void SetValidationMode(ValidationMode&& value) { m_validationModeHasBeenSet = true; m_validationMode = std::move(value); }
69 inline ValidationConfiguration& WithValidationMode(const ValidationMode& value) { SetValidationMode(value); return *this;}
70 inline ValidationConfiguration& WithValidationMode(ValidationMode&& value) { SetValidationMode(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_rulesetArn;
75 bool m_rulesetArnHasBeenSet = false;
76
77 ValidationMode m_validationMode;
78 bool m_validationModeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GlueDataBrew
83} // namespace Aws
ValidationConfiguration & WithRulesetArn(const char *value)
ValidationConfiguration & WithRulesetArn(Aws::String &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationConfiguration & WithValidationMode(ValidationMode &&value)
AWS_GLUEDATABREW_API ValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API ValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationConfiguration & WithRulesetArn(const Aws::String &value)
ValidationConfiguration & WithValidationMode(const ValidationMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue