AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetCondition() const{ return m_condition; }
46 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
47 inline void SetCondition(const Aws::String& value) { m_conditionHasBeenSet = true; m_condition = value; }
48 inline void SetCondition(Aws::String&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
49 inline void SetCondition(const char* value) { m_conditionHasBeenSet = true; m_condition.assign(value); }
50 inline ConditionExpression& WithCondition(const Aws::String& value) { SetCondition(value); return *this;}
51 inline ConditionExpression& WithCondition(Aws::String&& value) { SetCondition(std::move(value)); return *this;}
52 inline ConditionExpression& WithCondition(const char* value) { SetCondition(value); return *this;}
54
56
59 inline const Aws::String& GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
62 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
63 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
64 inline ConditionExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;}
65 inline ConditionExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
66 inline ConditionExpression& WithValue(const char* value) { SetValue(value); return *this;}
68
70
73 inline const Aws::String& GetTargetColumn() const{ return m_targetColumn; }
74 inline bool TargetColumnHasBeenSet() const { return m_targetColumnHasBeenSet; }
75 inline void SetTargetColumn(const Aws::String& value) { m_targetColumnHasBeenSet = true; m_targetColumn = value; }
76 inline void SetTargetColumn(Aws::String&& value) { m_targetColumnHasBeenSet = true; m_targetColumn = std::move(value); }
77 inline void SetTargetColumn(const char* value) { m_targetColumnHasBeenSet = true; m_targetColumn.assign(value); }
78 inline ConditionExpression& WithTargetColumn(const Aws::String& value) { SetTargetColumn(value); return *this;}
79 inline ConditionExpression& WithTargetColumn(Aws::String&& value) { SetTargetColumn(std::move(value)); return *this;}
80 inline ConditionExpression& WithTargetColumn(const char* value) { SetTargetColumn(value); return *this;}
82 private:
83
84 Aws::String m_condition;
85 bool m_conditionHasBeenSet = false;
86
87 Aws::String m_value;
88 bool m_valueHasBeenSet = false;
89
90 Aws::String m_targetColumn;
91 bool m_targetColumnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
AWS_GLUE_API ConditionExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionExpression & WithCondition(const Aws::String &value)
void SetTargetColumn(Aws::String &&value)
const Aws::String & GetTargetColumn() const
ConditionExpression & WithCondition(Aws::String &&value)
ConditionExpression & WithCondition(const char *value)
void SetValue(const Aws::String &value)
ConditionExpression & WithTargetColumn(Aws::String &&value)
ConditionExpression & WithTargetColumn(const char *value)
void SetCondition(const Aws::String &value)
ConditionExpression & WithValue(const Aws::String &value)
const Aws::String & GetCondition() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConditionExpression & WithValue(const char *value)
ConditionExpression & WithTargetColumn(const Aws::String &value)
void SetTargetColumn(const Aws::String &value)
ConditionExpression & WithValue(Aws::String &&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