7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/RatingScaleItem.h>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
72 template<
typename InstructionsT = Aws::String>
73 void SetInstructions(InstructionsT&& value) { m_instructionsHasBeenSet =
true; m_instructions = std::forward<InstructionsT>(value); }
74 template<
typename InstructionsT = Aws::String>
90 template<
typename RatingScaleT = Aws::Vector<RatingScaleItem>>
91 void SetRatingScale(RatingScaleT&& value) { m_ratingScaleHasBeenSet =
true; m_ratingScale = std::forward<RatingScaleT>(value); }
92 template<
typename RatingScaleT = Aws::Vector<RatingScaleItem>>
94 template<
typename RatingScaleT = RatingScaleItem>
100 bool m_nameHasBeenSet =
false;
103 bool m_instructionsHasBeenSet =
false;
106 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