AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConditionExpression.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API ConditionExpression() = default;
39
40
42
45 inline const Aws::String& GetCondition() const { return m_condition; }
46 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
47 template<typename ConditionT = Aws::String>
48 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
49 template<typename ConditionT = Aws::String>
50 ConditionExpression& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
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) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
61 template<typename ValueT = Aws::String>
62 ConditionExpression& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTargetColumn() const { return m_targetColumn; }
70 inline bool TargetColumnHasBeenSet() const { return m_targetColumnHasBeenSet; }
71 template<typename TargetColumnT = Aws::String>
72 void SetTargetColumn(TargetColumnT&& value) { m_targetColumnHasBeenSet = true; m_targetColumn = std::forward<TargetColumnT>(value); }
73 template<typename TargetColumnT = Aws::String>
74 ConditionExpression& WithTargetColumn(TargetColumnT&& value) { SetTargetColumn(std::forward<TargetColumnT>(value)); return *this;}
76 private:
77
78 Aws::String m_condition;
79 bool m_conditionHasBeenSet = false;
80
81 Aws::String m_value;
82 bool m_valueHasBeenSet = false;
83
84 Aws::String m_targetColumn;
85 bool m_targetColumnHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // 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