AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConditionExpression.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_GLUEDATABREW_API ConditionExpression() = default;
41 AWS_GLUEDATABREW_API ConditionExpression(Aws::Utils::Json::JsonView jsonValue);
43 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetCondition() const { return m_condition; }
54 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
55 template<typename ConditionT = Aws::String>
56 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
57 template<typename ConditionT = Aws::String>
58 ConditionExpression& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
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) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
69 template<typename ValueT = Aws::String>
70 ConditionExpression& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
72
74
77 inline const Aws::String& GetTargetColumn() const { return m_targetColumn; }
78 inline bool TargetColumnHasBeenSet() const { return m_targetColumnHasBeenSet; }
79 template<typename TargetColumnT = Aws::String>
80 void SetTargetColumn(TargetColumnT&& value) { m_targetColumnHasBeenSet = true; m_targetColumn = std::forward<TargetColumnT>(value); }
81 template<typename TargetColumnT = Aws::String>
82 ConditionExpression& WithTargetColumn(TargetColumnT&& value) { SetTargetColumn(std::forward<TargetColumnT>(value)); return *this;}
84 private:
85
86 Aws::String m_condition;
87 bool m_conditionHasBeenSet = false;
88
89 Aws::String m_value;
90 bool m_valueHasBeenSet = false;
91
92 Aws::String m_targetColumn;
93 bool m_targetColumnHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GlueDataBrew
98} // 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