7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/ConditionOperatorType.h>
20namespace ResilienceHub {
42 template <
typename FieldT = Aws::String>
44 m_fieldHasBeenSet =
true;
45 m_field = std::forward<FieldT>(value);
47 template <
typename FieldT = Aws::String>
49 SetField(std::forward<FieldT>(value));
62 m_operatorHasBeenSet =
true;
77 template <
typename ValueT = Aws::String>
79 m_valueHasBeenSet =
true;
80 m_value = std::forward<ValueT>(value);
82 template <
typename ValueT = Aws::String>
84 SetValue(std::forward<ValueT>(value));
94 bool m_fieldHasBeenSet =
false;
95 bool m_operatorHasBeenSet =
false;
96 bool m_valueHasBeenSet =
false;
Condition & WithField(FieldT &&value)
ConditionOperatorType GetOperator() const
const Aws::String & GetValue() const
AWS_RESILIENCEHUB_API Condition & operator=(Aws::Utils::Json::JsonView jsonValue)
Condition & WithOperator(ConditionOperatorType value)
Condition & WithValue(ValueT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValueHasBeenSet() const
void SetValue(ValueT &&value)
void SetOperator(ConditionOperatorType value)
AWS_RESILIENCEHUB_API Condition()=default
const Aws::String & GetField() const
AWS_RESILIENCEHUB_API Condition(Aws::Utils::Json::JsonView jsonValue)
bool FieldHasBeenSet() const
bool OperatorHasBeenSet() const
void SetField(FieldT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue