7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
83 inline void SetRatingMethod(
const char* value) { m_ratingMethodHasBeenSet =
true; m_ratingMethod.assign(value); }
91 bool m_nameHasBeenSet =
false;
94 bool m_descriptionHasBeenSet =
false;
97 bool m_ratingMethodHasBeenSet =
false;
void SetDescription(Aws::String &&value)
void SetRatingMethod(const char *value)
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
AWS_BEDROCK_API HumanEvaluationCustomMetric(Aws::Utils::Json::JsonView jsonValue)
bool RatingMethodHasBeenSet() const
HumanEvaluationCustomMetric & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
HumanEvaluationCustomMetric & WithDescription(const Aws::String &value)
void SetRatingMethod(Aws::String &&value)
HumanEvaluationCustomMetric & WithName(const Aws::String &value)
void SetRatingMethod(const Aws::String &value)
void SetName(const Aws::String &value)
HumanEvaluationCustomMetric & WithDescription(const char *value)
const Aws::String & GetName() const
void SetDescription(const char *value)
AWS_BEDROCK_API HumanEvaluationCustomMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanEvaluationCustomMetric & WithRatingMethod(const char *value)
HumanEvaluationCustomMetric & WithRatingMethod(const Aws::String &value)
HumanEvaluationCustomMetric & WithName(const char *value)
const Aws::String & GetDescription() const
void SetName(const char *value)
HumanEvaluationCustomMetric & WithDescription(Aws::String &&value)
AWS_BEDROCK_API HumanEvaluationCustomMetric()
bool NameHasBeenSet() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
HumanEvaluationCustomMetric & WithRatingMethod(Aws::String &&value)
const Aws::String & GetRatingMethod() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue