7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AmplifyUIBuilder {
43 template <
typename OrT = Aws::Vector<Predicate>>
45 m_orHasBeenSet =
true;
46 m_or = std::forward<OrT>(value);
48 template <
typename OrT = Aws::Vector<Predicate>>
50 SetOr(std::forward<OrT>(value));
53 template <
typename OrT = Predicate>
55 m_orHasBeenSet =
true;
56 m_or.emplace_back(std::forward<OrT>(value));
67 template <
typename AndT = Aws::Vector<Predicate>>
69 m_andHasBeenSet =
true;
70 m_and = std::forward<AndT>(value);
72 template <
typename AndT = Aws::Vector<Predicate>>
74 SetAnd(std::forward<AndT>(value));
77 template <
typename AndT = Predicate>
79 m_andHasBeenSet =
true;
80 m_and.emplace_back(std::forward<AndT>(value));
91 template <
typename FieldT = Aws::String>
93 m_fieldHasBeenSet =
true;
94 m_field = std::forward<FieldT>(value);
96 template <
typename FieldT = Aws::String>
98 SetField(std::forward<FieldT>(value));
109 template <
typename OperatorT = Aws::String>
111 m_operatorHasBeenSet =
true;
112 m_operator = std::forward<OperatorT>(value);
114 template <
typename OperatorT = Aws::String>
127 template <
typename OperandT = Aws::String>
129 m_operandHasBeenSet =
true;
130 m_operand = std::forward<OperandT>(value);
132 template <
typename OperandT = Aws::String>
145 template <
typename OperandTypeT = Aws::String>
147 m_operandTypeHasBeenSet =
true;
148 m_operandType = std::forward<OperandTypeT>(value);
150 template <
typename OperandTypeT = Aws::String>
168 bool m_orHasBeenSet =
false;
169 bool m_andHasBeenSet =
false;
170 bool m_fieldHasBeenSet =
false;
171 bool m_operatorHasBeenSet =
false;
172 bool m_operandHasBeenSet =
false;
173 bool m_operandTypeHasBeenSet =
false;
Predicate & WithOperator(OperatorT &&value)
void SetOperator(OperatorT &&value)
const Aws::String & GetOperand() const
AWS_AMPLIFYUIBUILDER_API Predicate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperand(OperandT &&value)
const Aws::String & GetOperator() const
AWS_AMPLIFYUIBUILDER_API Predicate()=default
bool FieldHasBeenSet() const
Predicate & AddOr(OrT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool OperandHasBeenSet() const
Predicate & WithAnd(AndT &&value)
Predicate & WithOr(OrT &&value)
const Aws::String & GetOperandType() const
bool OperatorHasBeenSet() const
void SetAnd(AndT &&value)
Predicate & AddAnd(AndT &&value)
Predicate & WithOperandType(OperandTypeT &&value)
bool OrHasBeenSet() const
bool AndHasBeenSet() const
Predicate & WithOperand(OperandT &&value)
const Aws::Vector< Predicate > & GetOr() const
Predicate & WithField(FieldT &&value)
AWS_AMPLIFYUIBUILDER_API Predicate(Aws::Utils::Json::JsonView jsonValue)
bool OperandTypeHasBeenSet() const
void SetOperandType(OperandTypeT &&value)
void SetField(FieldT &&value)
const Aws::Vector< Predicate > & GetAnd() const
const Aws::String & GetField() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue