|
| 1 | +/** |
| 2 | + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 3 | + * SPDX-License-Identifier: Apache-2.0. |
| 4 | + */ |
| 5 | + |
| 6 | +#pragma once |
| 7 | +#include <aws/bedrock/Bedrock_EXPORTS.h> |
| 8 | +#include <aws/core/utils/memory/stl/AWSVector.h> |
| 9 | +#include <aws/core/utils/memory/stl/AWSString.h> |
| 10 | +#include <utility> |
| 11 | + |
| 12 | +namespace Aws |
| 13 | +{ |
| 14 | +namespace Utils |
| 15 | +{ |
| 16 | +namespace Json |
| 17 | +{ |
| 18 | + class JsonValue; |
| 19 | + class JsonView; |
| 20 | +} // namespace Json |
| 21 | +} // namespace Utils |
| 22 | +namespace Bedrock |
| 23 | +{ |
| 24 | +namespace Model |
| 25 | +{ |
| 26 | + |
| 27 | + /** |
| 28 | + * <p>A summary of the models used in an Amazon Bedrock model evaluation job. These |
| 29 | + * resources can be models in Amazon Bedrock or models outside of Amazon Bedrock |
| 30 | + * that you use to generate your own inference response data.</p><p><h3>See |
| 31 | + * Also:</h3> <a |
| 32 | + * href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationModelConfigSummary">AWS |
| 33 | + * API Reference</a></p> |
| 34 | + */ |
| 35 | + class EvaluationModelConfigSummary |
| 36 | + { |
| 37 | + public: |
| 38 | + AWS_BEDROCK_API EvaluationModelConfigSummary() = default; |
| 39 | + AWS_BEDROCK_API EvaluationModelConfigSummary(Aws::Utils::Json::JsonView jsonValue); |
| 40 | + AWS_BEDROCK_API EvaluationModelConfigSummary& operator=(Aws::Utils::Json::JsonView jsonValue); |
| 41 | + AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const; |
| 42 | + |
| 43 | + |
| 44 | + ///@{ |
| 45 | + /** |
| 46 | + * <p>The Amazon Resource Names (ARNs) of the models used for the evaluation |
| 47 | + * job.</p> |
| 48 | + */ |
| 49 | + inline const Aws::Vector<Aws::String>& GetBedrockModelIdentifiers() const { return m_bedrockModelIdentifiers; } |
| 50 | + inline bool BedrockModelIdentifiersHasBeenSet() const { return m_bedrockModelIdentifiersHasBeenSet; } |
| 51 | + template<typename BedrockModelIdentifiersT = Aws::Vector<Aws::String>> |
| 52 | + void SetBedrockModelIdentifiers(BedrockModelIdentifiersT&& value) { m_bedrockModelIdentifiersHasBeenSet = true; m_bedrockModelIdentifiers = std::forward<BedrockModelIdentifiersT>(value); } |
| 53 | + template<typename BedrockModelIdentifiersT = Aws::Vector<Aws::String>> |
| 54 | + EvaluationModelConfigSummary& WithBedrockModelIdentifiers(BedrockModelIdentifiersT&& value) { SetBedrockModelIdentifiers(std::forward<BedrockModelIdentifiersT>(value)); return *this;} |
| 55 | + template<typename BedrockModelIdentifiersT = Aws::String> |
| 56 | + EvaluationModelConfigSummary& AddBedrockModelIdentifiers(BedrockModelIdentifiersT&& value) { m_bedrockModelIdentifiersHasBeenSet = true; m_bedrockModelIdentifiers.emplace_back(std::forward<BedrockModelIdentifiersT>(value)); return *this; } |
| 57 | + ///@} |
| 58 | + |
| 59 | + ///@{ |
| 60 | + /** |
| 61 | + * <p>A label that identifies the models used for a model evaluation job where you |
| 62 | + * provide your own inference response data.</p> |
| 63 | + */ |
| 64 | + inline const Aws::Vector<Aws::String>& GetPrecomputedInferenceSourceIdentifiers() const { return m_precomputedInferenceSourceIdentifiers; } |
| 65 | + inline bool PrecomputedInferenceSourceIdentifiersHasBeenSet() const { return m_precomputedInferenceSourceIdentifiersHasBeenSet; } |
| 66 | + template<typename PrecomputedInferenceSourceIdentifiersT = Aws::Vector<Aws::String>> |
| 67 | + void SetPrecomputedInferenceSourceIdentifiers(PrecomputedInferenceSourceIdentifiersT&& value) { m_precomputedInferenceSourceIdentifiersHasBeenSet = true; m_precomputedInferenceSourceIdentifiers = std::forward<PrecomputedInferenceSourceIdentifiersT>(value); } |
| 68 | + template<typename PrecomputedInferenceSourceIdentifiersT = Aws::Vector<Aws::String>> |
| 69 | + EvaluationModelConfigSummary& WithPrecomputedInferenceSourceIdentifiers(PrecomputedInferenceSourceIdentifiersT&& value) { SetPrecomputedInferenceSourceIdentifiers(std::forward<PrecomputedInferenceSourceIdentifiersT>(value)); return *this;} |
| 70 | + template<typename PrecomputedInferenceSourceIdentifiersT = Aws::String> |
| 71 | + EvaluationModelConfigSummary& AddPrecomputedInferenceSourceIdentifiers(PrecomputedInferenceSourceIdentifiersT&& value) { m_precomputedInferenceSourceIdentifiersHasBeenSet = true; m_precomputedInferenceSourceIdentifiers.emplace_back(std::forward<PrecomputedInferenceSourceIdentifiersT>(value)); return *this; } |
| 72 | + ///@} |
| 73 | + private: |
| 74 | + |
| 75 | + Aws::Vector<Aws::String> m_bedrockModelIdentifiers; |
| 76 | + bool m_bedrockModelIdentifiersHasBeenSet = false; |
| 77 | + |
| 78 | + Aws::Vector<Aws::String> m_precomputedInferenceSourceIdentifiers; |
| 79 | + bool m_precomputedInferenceSourceIdentifiersHasBeenSet = false; |
| 80 | + }; |
| 81 | + |
| 82 | +} // namespace Model |
| 83 | +} // namespace Bedrock |
| 84 | +} // namespace Aws |
0 commit comments