7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace AmplifyUIBuilder
79 inline void SetField(
const char* value) { m_fieldHasBeenSet =
true; m_field.assign(value); }
93 inline void SetOperator(
const char* value) { m_operatorHasBeenSet =
true; m_operator.assign(value); }
107 inline void SetOperand(
const char* value) { m_operandHasBeenSet =
true; m_operand.assign(value); }
121 inline void SetOperandType(
const char* value) { m_operandTypeHasBeenSet =
true; m_operandType.assign(value); }
129 bool m_orHasBeenSet =
false;
132 bool m_andHasBeenSet =
false;
135 bool m_fieldHasBeenSet =
false;
138 bool m_operatorHasBeenSet =
false;
141 bool m_operandHasBeenSet =
false;
144 bool m_operandTypeHasBeenSet =
false;
void SetOperator(const char *value)
void SetField(const char *value)
void SetAnd(const Aws::Vector< Predicate > &value)
void SetOr(const Aws::Vector< Predicate > &value)
Predicate & WithOr(Aws::Vector< Predicate > &&value)
Predicate & AddOr(Predicate &&value)
Predicate & WithField(const Aws::String &value)
Predicate & AddAnd(const Predicate &value)
const Aws::String & GetOperand() const
AWS_AMPLIFYUIBUILDER_API Predicate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOperator() const
bool FieldHasBeenSet() const
Predicate & WithOperand(const char *value)
Predicate & WithField(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Predicate & WithOperandType(const Aws::String &value)
void SetOperand(const char *value)
Predicate & WithOperand(const Aws::String &value)
Predicate & WithOperator(const char *value)
void SetOperand(const Aws::String &value)
Predicate & WithOperandType(Aws::String &&value)
bool OperandHasBeenSet() const
Predicate & WithOperator(Aws::String &&value)
void SetOperandType(Aws::String &&value)
Predicate & WithOperand(Aws::String &&value)
Predicate & WithField(const char *value)
void SetAnd(Aws::Vector< Predicate > &&value)
const Aws::String & GetOperandType() const
Predicate & WithAnd(Aws::Vector< Predicate > &&value)
void SetOperand(Aws::String &&value)
bool OperatorHasBeenSet() const
Predicate & AddOr(const Predicate &value)
bool OrHasBeenSet() const
bool AndHasBeenSet() const
const Aws::Vector< Predicate > & GetOr() const
AWS_AMPLIFYUIBUILDER_API Predicate(Aws::Utils::Json::JsonView jsonValue)
Predicate & WithOperator(const Aws::String &value)
bool OperandTypeHasBeenSet() const
void SetField(Aws::String &&value)
void SetOperator(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Predicate()
Predicate & WithAnd(const Aws::Vector< Predicate > &value)
const Aws::Vector< Predicate > & GetAnd() const
void SetOperandType(const Aws::String &value)
void SetField(const Aws::String &value)
void SetOperator(Aws::String &&value)
Predicate & AddAnd(Predicate &&value)
void SetOperandType(const char *value)
const Aws::String & GetField() const
void SetOr(Aws::Vector< Predicate > &&value)
Predicate & WithOperandType(const char *value)
Predicate & WithOr(const Aws::Vector< Predicate > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue