7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/ConditionOperatorType.h>
22namespace ResilienceHub
48 template<
typename FieldT = Aws::String>
49 void SetField(FieldT&& value) { m_fieldHasBeenSet =
true; m_field = std::forward<FieldT>(value); }
50 template<
typename FieldT = Aws::String>
71 template<
typename ValueT = Aws::String>
72 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
73 template<
typename ValueT = Aws::String>
79 bool m_fieldHasBeenSet =
false;
82 bool m_operatorHasBeenSet =
false;
85 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