AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ConditionExpression.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/databrew/GlueDataBrew_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GlueDataBrew {
20namespace Model {
21
34 public:
35 AWS_GLUEDATABREW_API ConditionExpression() = default;
36 AWS_GLUEDATABREW_API ConditionExpression(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
47 inline const Aws::String& GetCondition() const { return m_condition; }
48 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
49 template <typename ConditionT = Aws::String>
50 void SetCondition(ConditionT&& value) {
51 m_conditionHasBeenSet = true;
52 m_condition = std::forward<ConditionT>(value);
53 }
54 template <typename ConditionT = Aws::String>
55 ConditionExpression& WithCondition(ConditionT&& value) {
56 SetCondition(std::forward<ConditionT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetValue() const { return m_value; }
66 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
67 template <typename ValueT = Aws::String>
68 void SetValue(ValueT&& value) {
69 m_valueHasBeenSet = true;
70 m_value = std::forward<ValueT>(value);
71 }
72 template <typename ValueT = Aws::String>
73 ConditionExpression& WithValue(ValueT&& value) {
74 SetValue(std::forward<ValueT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetTargetColumn() const { return m_targetColumn; }
84 inline bool TargetColumnHasBeenSet() const { return m_targetColumnHasBeenSet; }
85 template <typename TargetColumnT = Aws::String>
86 void SetTargetColumn(TargetColumnT&& value) {
87 m_targetColumnHasBeenSet = true;
88 m_targetColumn = std::forward<TargetColumnT>(value);
89 }
90 template <typename TargetColumnT = Aws::String>
91 ConditionExpression& WithTargetColumn(TargetColumnT&& value) {
92 SetTargetColumn(std::forward<TargetColumnT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_condition;
98
99 Aws::String m_value;
100
101 Aws::String m_targetColumn;
102 bool m_conditionHasBeenSet = false;
103 bool m_valueHasBeenSet = false;
104 bool m_targetColumnHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace GlueDataBrew
109} // namespace Aws
ConditionExpression & WithTargetColumn(TargetColumnT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API ConditionExpression(Aws::Utils::Json::JsonView jsonValue)
ConditionExpression & WithCondition(ConditionT &&value)
AWS_GLUEDATABREW_API ConditionExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionExpression & WithValue(ValueT &&value)
AWS_GLUEDATABREW_API ConditionExpression()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue