7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvidently
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
61 template<
typename TypeT = Aws::String>
62 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
63 template<
typename TypeT = Aws::String>
69 bool m_nameHasBeenSet =
false;
72 bool m_typeHasBeenSet =
false;
void SetName(NameT &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRule(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationRule & WithType(TypeT &&value)
bool TypeHasBeenSet() const
EvaluationRule & WithName(NameT &&value)
const Aws::String & GetType() const
void SetType(TypeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRule()=default
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue