AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
39
40
42
45 inline const Aws::String& GetKey() const { return m_key; }
46 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
47 template<typename KeyT = Aws::String>
48 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
49 template<typename KeyT = Aws::String>
50 PropertyPredicate& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(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 PropertyPredicate& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
64
66
69 inline Comparator GetComparator() const { return m_comparator; }
70 inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; }
71 inline void SetComparator(Comparator value) { m_comparatorHasBeenSet = true; m_comparator = value; }
72 inline PropertyPredicate& WithComparator(Comparator value) { SetComparator(value); return *this;}
74 private:
75
76 Aws::String m_key;
77 bool m_keyHasBeenSet = false;
78
79 Aws::String m_value;
80 bool m_valueHasBeenSet = false;
81
82 Comparator m_comparator{Comparator::NOT_SET};
83 bool m_comparatorHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Glue
88} // namespace Aws
const Aws::String & GetKey() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API PropertyPredicate(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API PropertyPredicate()=default
PropertyPredicate & WithValue(ValueT &&value)
AWS_GLUE_API PropertyPredicate & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyPredicate & WithComparator(Comparator value)
PropertyPredicate & WithKey(KeyT &&value)
const Aws::String & GetValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue