AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
AutoDataQuality.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
31 public:
32 AWS_GLUE_API AutoDataQuality() = default;
36
38
42 inline bool GetIsEnabled() const { return m_isEnabled; }
43 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
44 inline void SetIsEnabled(bool value) {
45 m_isEnabledHasBeenSet = true;
46 m_isEnabled = value;
47 }
48 inline AutoDataQuality& WithIsEnabled(bool value) {
49 SetIsEnabled(value);
50 return *this;
51 }
53
55
59 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
60 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
61 template <typename EvaluationContextT = Aws::String>
62 void SetEvaluationContext(EvaluationContextT&& value) {
63 m_evaluationContextHasBeenSet = true;
64 m_evaluationContext = std::forward<EvaluationContextT>(value);
65 }
66 template <typename EvaluationContextT = Aws::String>
67 AutoDataQuality& WithEvaluationContext(EvaluationContextT&& value) {
68 SetEvaluationContext(std::forward<EvaluationContextT>(value));
69 return *this;
70 }
72 private:
73 bool m_isEnabled{false};
74
75 Aws::String m_evaluationContext;
76 bool m_isEnabledHasBeenSet = false;
77 bool m_evaluationContextHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
void SetEvaluationContext(EvaluationContextT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEvaluationContext() const
AutoDataQuality & WithIsEnabled(bool value)
AutoDataQuality & WithEvaluationContext(EvaluationContextT &&value)
AWS_GLUE_API AutoDataQuality()=default
AWS_GLUE_API AutoDataQuality(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AutoDataQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue