AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ConditionExpression.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
29 public:
30 AWS_GLUE_API ConditionExpression() = default;
34
36
39 inline const Aws::String& GetCondition() const { return m_condition; }
40 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
41 template <typename ConditionT = Aws::String>
42 void SetCondition(ConditionT&& value) {
43 m_conditionHasBeenSet = true;
44 m_condition = std::forward<ConditionT>(value);
45 }
46 template <typename ConditionT = Aws::String>
47 ConditionExpression& WithCondition(ConditionT&& value) {
48 SetCondition(std::forward<ConditionT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetValue() const { return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 template <typename ValueT = Aws::String>
60 void SetValue(ValueT&& value) {
61 m_valueHasBeenSet = true;
62 m_value = std::forward<ValueT>(value);
63 }
64 template <typename ValueT = Aws::String>
65 ConditionExpression& WithValue(ValueT&& value) {
66 SetValue(std::forward<ValueT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTargetColumn() const { return m_targetColumn; }
76 inline bool TargetColumnHasBeenSet() const { return m_targetColumnHasBeenSet; }
77 template <typename TargetColumnT = Aws::String>
78 void SetTargetColumn(TargetColumnT&& value) {
79 m_targetColumnHasBeenSet = true;
80 m_targetColumn = std::forward<TargetColumnT>(value);
81 }
82 template <typename TargetColumnT = Aws::String>
83 ConditionExpression& WithTargetColumn(TargetColumnT&& value) {
84 SetTargetColumn(std::forward<TargetColumnT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_condition;
90
91 Aws::String m_value;
92
93 Aws::String m_targetColumn;
94 bool m_conditionHasBeenSet = false;
95 bool m_valueHasBeenSet = false;
96 bool m_targetColumnHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
AWS_GLUE_API ConditionExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetColumn(TargetColumnT &&value)
const Aws::String & GetTargetColumn() const
ConditionExpression & WithValue(ValueT &&value)
const Aws::String & GetCondition() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API ConditionExpression()=default
ConditionExpression & WithTargetColumn(TargetColumnT &&value)
ConditionExpression & WithCondition(ConditionT &&value)
AWS_GLUE_API ConditionExpression(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue