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/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();
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 inline void SetCondition(const Aws::String& value) { m_conditionHasBeenSet = true; m_condition = value; }
56 inline void SetCondition(Aws::String&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
57 inline void SetCondition(const char* value) { m_conditionHasBeenSet = true; m_condition.assign(value); }
58 inline ConditionExpression& WithCondition(const Aws::String& value) { SetCondition(value); return *this;}
59 inline ConditionExpression& WithCondition(Aws::String&& value) { SetCondition(std::move(value)); return *this;}
60 inline ConditionExpression& WithCondition(const char* value) { SetCondition(value); return *this;}
62
64
67 inline const Aws::String& GetValue() const{ return m_value; }
68 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
69 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
70 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
71 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
72 inline ConditionExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;}
73 inline ConditionExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
74 inline ConditionExpression& WithValue(const char* value) { SetValue(value); return *this;}
76
78
81 inline const Aws::String& GetTargetColumn() const{ return m_targetColumn; }
82 inline bool TargetColumnHasBeenSet() const { return m_targetColumnHasBeenSet; }
83 inline void SetTargetColumn(const Aws::String& value) { m_targetColumnHasBeenSet = true; m_targetColumn = value; }
84 inline void SetTargetColumn(Aws::String&& value) { m_targetColumnHasBeenSet = true; m_targetColumn = std::move(value); }
85 inline void SetTargetColumn(const char* value) { m_targetColumnHasBeenSet = true; m_targetColumn.assign(value); }
86 inline ConditionExpression& WithTargetColumn(const Aws::String& value) { SetTargetColumn(value); return *this;}
87 inline ConditionExpression& WithTargetColumn(Aws::String&& value) { SetTargetColumn(std::move(value)); return *this;}
88 inline ConditionExpression& WithTargetColumn(const char* value) { SetTargetColumn(value); return *this;}
90 private:
91
92 Aws::String m_condition;
93 bool m_conditionHasBeenSet = false;
94
95 Aws::String m_value;
96 bool m_valueHasBeenSet = false;
97
98 Aws::String m_targetColumn;
99 bool m_targetColumnHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace GlueDataBrew
104} // namespace Aws
ConditionExpression & WithTargetColumn(const Aws::String &value)
ConditionExpression & WithCondition(Aws::String &&value)
ConditionExpression & WithTargetColumn(Aws::String &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
ConditionExpression & WithCondition(const Aws::String &value)
AWS_GLUEDATABREW_API ConditionExpression(Aws::Utils::Json::JsonView jsonValue)
ConditionExpression & WithCondition(const char *value)
ConditionExpression & WithTargetColumn(const char *value)
ConditionExpression & WithValue(const Aws::String &value)
ConditionExpression & WithValue(Aws::String &&value)
ConditionExpression & WithValue(const char *value)
AWS_GLUEDATABREW_API ConditionExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue