AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyPredicate.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/Comparator.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API PropertyPredicate();
39
40
42
45 inline const Aws::String& GetKey() const{ return m_key; }
46 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
47 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
48 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
49 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
50 inline PropertyPredicate& WithKey(const Aws::String& value) { SetKey(value); return *this;}
51 inline PropertyPredicate& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
52 inline PropertyPredicate& WithKey(const char* value) { SetKey(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 PropertyPredicate& WithValue(const Aws::String& value) { SetValue(value); return *this;}
65 inline PropertyPredicate& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
66 inline PropertyPredicate& WithValue(const char* value) { SetValue(value); return *this;}
68
70
73 inline const Comparator& GetComparator() const{ return m_comparator; }
74 inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; }
75 inline void SetComparator(const Comparator& value) { m_comparatorHasBeenSet = true; m_comparator = value; }
76 inline void SetComparator(Comparator&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); }
77 inline PropertyPredicate& WithComparator(const Comparator& value) { SetComparator(value); return *this;}
78 inline PropertyPredicate& WithComparator(Comparator&& value) { SetComparator(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_key;
83 bool m_keyHasBeenSet = false;
84
85 Aws::String m_value;
86 bool m_valueHasBeenSet = false;
87
88 Comparator m_comparator;
89 bool m_comparatorHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glue
94} // namespace Aws
const Comparator & GetComparator() const
const Aws::String & GetKey() const
void SetKey(const Aws::String &value)
PropertyPredicate & WithKey(Aws::String &&value)
void SetComparator(Comparator &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PropertyPredicate & WithComparator(const Comparator &value)
AWS_GLUE_API PropertyPredicate(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
PropertyPredicate & WithComparator(Comparator &&value)
void SetComparator(const Comparator &value)
AWS_GLUE_API PropertyPredicate & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyPredicate & WithValue(Aws::String &&value)
PropertyPredicate & WithKey(const char *value)
PropertyPredicate & WithValue(const char *value)
PropertyPredicate & WithValue(const Aws::String &value)
PropertyPredicate & WithKey(const Aws::String &value)
void SetValue(Aws::String &&value)
const Aws::String & GetValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue