7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSAllocator.h>
22namespace AmplifyUIBuilder
26 class ComponentProperty;
51 template<
typename PropertyT = Aws::String>
52 void SetProperty(PropertyT&& value) { m_propertyHasBeenSet =
true; m_property = std::forward<PropertyT>(value); }
53 template<
typename PropertyT = Aws::String>
63 template<
typename FieldT = Aws::String>
64 void SetField(FieldT&& value) { m_fieldHasBeenSet =
true; m_field = std::forward<FieldT>(value); }
65 template<
typename FieldT = Aws::String>
76 template<
typename OperatorT = Aws::String>
77 void SetOperator(OperatorT&& value) { m_operatorHasBeenSet =
true; m_operator = std::forward<OperatorT>(value); }
78 template<
typename OperatorT = Aws::String>
88 template<
typename OperandT = Aws::String>
89 void SetOperand(OperandT&& value) { m_operandHasBeenSet =
true; m_operand = std::forward<OperandT>(value); }
90 template<
typename OperandT = Aws::String>
102 template<
typename ThenT = ComponentProperty>
104 m_thenHasBeenSet =
true;
105 m_then = Aws::MakeShared<ComponentProperty>(
"ComponentConditionProperty", std::forward<ThenT>(value));
107 template<
typename ThenT = ComponentProperty>
119 template<
typename ElseT = ComponentProperty>
121 m_elseHasBeenSet =
true;
122 m_else = Aws::MakeShared<ComponentProperty>(
"ComponentConditionProperty", std::forward<ElseT>(value));
124 template<
typename ElseT = ComponentProperty>
134 template<
typename OperandTypeT = Aws::String>
135 void SetOperandType(OperandTypeT&& value) { m_operandTypeHasBeenSet =
true; m_operandType = std::forward<OperandTypeT>(value); }
136 template<
typename OperandTypeT = Aws::String>
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;
ComponentConditionProperty & WithElse(ElseT &&value)
const ComponentProperty & GetThen() const
ComponentConditionProperty & WithField(FieldT &&value)
const Aws::String & GetProperty() const
void SetField(FieldT &&value)
const Aws::String & GetOperandType() const
ComponentConditionProperty & WithThen(ThenT &&value)
void SetOperand(OperandT &&value)
ComponentConditionProperty & WithProperty(PropertyT &&value)
const Aws::String & GetOperator() const
bool PropertyHasBeenSet() const
const Aws::String & GetField() const
ComponentConditionProperty & WithOperand(OperandT &&value)
const ComponentProperty & GetElse() const
bool FieldHasBeenSet() const
void SetThen(ThenT &&value)
ComponentConditionProperty & WithOperandType(OperandTypeT &&value)
void SetProperty(PropertyT &&value)
void SetElse(ElseT &&value)
void SetOperator(OperatorT &&value)
bool ThenHasBeenSet() const
bool OperandHasBeenSet() const
bool ElseHasBeenSet() const
bool OperatorHasBeenSet() const
const Aws::String & GetOperand() const
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperandType(OperandTypeT &&value)
bool OperandTypeHasBeenSet() const
ComponentConditionProperty & WithOperator(OperatorT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentConditionProperty()=default
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