7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/DeviceAttribute.h>
9#include <aws/devicefarm/model/RuleOperator.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
36 AWS_DEVICEFARM_API
Rule() =
default;
107 template<
typename ValueT = Aws::String>
108 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
109 template<
typename ValueT = Aws::String>
115 bool m_attributeHasBeenSet =
false;
118 bool m_operatorHasBeenSet =
false;
121 bool m_valueHasBeenSet =
false;
RuleOperator GetOperator() const
AWS_DEVICEFARM_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API Rule(Aws::Utils::Json::JsonView jsonValue)
Rule & WithOperator(RuleOperator value)
const Aws::String & GetValue() const
Rule & WithValue(ValueT &&value)
AWS_DEVICEFARM_API Rule()=default
void SetValue(ValueT &&value)
bool AttributeHasBeenSet() const
void SetOperator(RuleOperator value)
Rule & WithAttribute(DeviceAttribute value)
void SetAttribute(DeviceAttribute value)
DeviceAttribute GetAttribute() const
bool OperatorHasBeenSet() const
bool ValueHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue