7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSAllocator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AmplifyUIBuilder {
22class ComponentProperty;
45 template <
typename PropertyT = Aws::String>
47 m_propertyHasBeenSet =
true;
48 m_property = std::forward<PropertyT>(value);
50 template <
typename PropertyT = Aws::String>
63 template <
typename FieldT = Aws::String>
65 m_fieldHasBeenSet =
true;
66 m_field = std::forward<FieldT>(value);
68 template <
typename FieldT = Aws::String>
70 SetField(std::forward<FieldT>(value));
82 template <
typename OperatorT = Aws::String>
84 m_operatorHasBeenSet =
true;
85 m_operator = std::forward<OperatorT>(value);
87 template <
typename OperatorT = Aws::String>
100 template <
typename OperandT = Aws::String>
102 m_operandHasBeenSet =
true;
103 m_operand = std::forward<OperandT>(value);
105 template <
typename OperandT = Aws::String>
118 template <
typename ThenT = ComponentProperty>
120 m_thenHasBeenSet =
true;
123 template <
typename ThenT = ComponentProperty>
125 SetThen(std::forward<ThenT>(value));
136 template <
typename ElseT = ComponentProperty>
138 m_elseHasBeenSet =
true;
141 template <
typename ElseT = ComponentProperty>
143 SetElse(std::forward<ElseT>(value));
154 template <
typename OperandTypeT = Aws::String>
156 m_operandTypeHasBeenSet =
true;
157 m_operandType = std::forward<OperandTypeT>(value);
159 template <
typename OperandTypeT = Aws::String>
174 std::shared_ptr<ComponentProperty> m_then;
176 std::shared_ptr<ComponentProperty> m_else;
179 bool m_propertyHasBeenSet =
false;
180 bool m_fieldHasBeenSet =
false;
181 bool m_operatorHasBeenSet =
false;
182 bool m_operandHasBeenSet =
false;
183 bool m_thenHasBeenSet =
false;
184 bool m_elseHasBeenSet =
false;
185 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue