7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/RatingScaleItem.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
72 template <
typename InstructionsT = Aws::String>
74 m_instructionsHasBeenSet =
true;
75 m_instructions = std::forward<InstructionsT>(value);
77 template <
typename InstructionsT = Aws::String>
96 template <
typename RatingScaleT = Aws::Vector<RatingScaleItem>>
98 m_ratingScaleHasBeenSet =
true;
99 m_ratingScale = std::forward<RatingScaleT>(value);
101 template <
typename RatingScaleT = Aws::Vector<RatingScaleItem>>
106 template <
typename RatingScaleT = RatingScaleItem>
108 m_ratingScaleHasBeenSet =
true;
109 m_ratingScale.emplace_back(std::forward<RatingScaleT>(value));
115 bool m_nameHasBeenSet =
false;
118 bool m_instructionsHasBeenSet =
false;
121 bool m_ratingScaleHasBeenSet =
false;
AWS_BEDROCK_API CustomMetricDefinition()=default
CustomMetricDefinition & WithRatingScale(RatingScaleT &&value)
CustomMetricDefinition & WithInstructions(InstructionsT &&value)
const Aws::String & GetInstructions() const
bool NameHasBeenSet() const
CustomMetricDefinition & WithName(NameT &&value)
void SetName(NameT &&value)
CustomMetricDefinition & AddRatingScale(RatingScaleT &&value)
void SetRatingScale(RatingScaleT &&value)
const Aws::Vector< RatingScaleItem > & GetRatingScale() const
void SetInstructions(InstructionsT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API CustomMetricDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API CustomMetricDefinition(Aws::Utils::Json::JsonView jsonValue)
bool RatingScaleHasBeenSet() const
const Aws::String & GetName() const
bool InstructionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue