7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
22namespace AmplifyUIBuilder
26 class ComponentProperty;
53 inline void SetProperty(
const char* value) { m_propertyHasBeenSet =
true; m_property.assign(value); }
67 inline void SetField(
const char* value) { m_fieldHasBeenSet =
true; m_field.assign(value); }
82 inline void SetOperator(
const char* value) { m_operatorHasBeenSet =
true; m_operator.assign(value); }
96 inline void SetOperand(
const char* value) { m_operandHasBeenSet =
true; m_operand.assign(value); }
134 inline void SetOperandType(
const char* value) { m_operandTypeHasBeenSet =
true; m_operandType.assign(value); }
142 bool m_propertyHasBeenSet =
false;
145 bool m_fieldHasBeenSet =
false;
148 bool m_operatorHasBeenSet =
false;
151 bool m_operandHasBeenSet =
false;
153 std::shared_ptr<ComponentProperty> m_then;
154 bool m_thenHasBeenSet =
false;
156 std::shared_ptr<ComponentProperty> m_else;
157 bool m_elseHasBeenSet =
false;
160 bool m_operandTypeHasBeenSet =
false;
void SetOperandType(const char *value)
ComponentConditionProperty & WithOperator(const char *value)
ComponentConditionProperty & WithOperator(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty & WithThen(const ComponentProperty &value)
ComponentConditionProperty & WithField(Aws::String &&value)
ComponentConditionProperty & WithOperand(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty & WithElse(const ComponentProperty &value)
void SetOperand(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API void SetThen(ComponentProperty &&value)
AWS_AMPLIFYUIBUILDER_API void SetThen(const ComponentProperty &value)
void SetOperator(const char *value)
ComponentConditionProperty & WithOperator(Aws::String &&value)
const Aws::String & GetProperty() const
void SetProperty(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API void SetElse(const ComponentProperty &value)
const Aws::String & GetOperandType() const
void SetOperator(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API bool ThenHasBeenSet() const
void SetOperandType(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API const ComponentProperty & GetThen() const
void SetProperty(Aws::String &&value)
void SetOperandType(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty & WithThen(ComponentProperty &&value)
void SetOperand(Aws::String &&value)
const Aws::String & GetOperator() const
AWS_AMPLIFYUIBUILDER_API const ComponentProperty & GetElse() const
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty & WithElse(ComponentProperty &&value)
bool PropertyHasBeenSet() const
const Aws::String & GetField() const
ComponentConditionProperty & WithOperandType(Aws::String &&value)
ComponentConditionProperty & WithOperandType(const Aws::String &value)
void SetProperty(const char *value)
AWS_AMPLIFYUIBUILDER_API void SetElse(ComponentProperty &&value)
bool FieldHasBeenSet() const
ComponentConditionProperty & WithProperty(const char *value)
ComponentConditionProperty & WithField(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API bool ElseHasBeenSet() const
ComponentConditionProperty & WithOperand(const char *value)
void SetField(Aws::String &&value)
void SetOperand(const char *value)
void SetField(const char *value)
bool OperandHasBeenSet() const
ComponentConditionProperty & WithProperty(Aws::String &&value)
ComponentConditionProperty & WithProperty(const Aws::String &value)
ComponentConditionProperty & WithField(const char *value)
bool OperatorHasBeenSet() const
const Aws::String & GetOperand() const
void SetField(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentConditionProperty & WithOperand(const Aws::String &value)
bool OperandTypeHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty()
void SetOperator(const Aws::String &value)
ComponentConditionProperty & WithOperandType(const char *value)
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue