7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/VariantConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentCore {
31 AWS_BEDROCKAGENTCORE_API
Variant() =
default;
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
63 m_weightHasBeenSet =
true;
79 template <
typename VariantConfigurationT = VariantConfiguration>
81 m_variantConfigurationHasBeenSet =
true;
82 m_variantConfiguration = std::forward<VariantConfigurationT>(value);
84 template <
typename VariantConfigurationT = VariantConfiguration>
95 VariantConfiguration m_variantConfiguration;
96 bool m_nameHasBeenSet =
false;
97 bool m_weightHasBeenSet =
false;
98 bool m_variantConfigurationHasBeenSet =
false;
bool WeightHasBeenSet() const
Variant & WithVariantConfiguration(VariantConfigurationT &&value)
bool VariantConfigurationHasBeenSet() const
Variant & WithWeight(int value)
void SetName(NameT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWeight(int value)
void SetVariantConfiguration(VariantConfigurationT &&value)
bool NameHasBeenSet() const
AWS_BEDROCKAGENTCORE_API Variant(Aws::Utils::Json::JsonView jsonValue)
const VariantConfiguration & GetVariantConfiguration() const
const Aws::String & GetName() const
AWS_BEDROCKAGENTCORE_API Variant & operator=(Aws::Utils::Json::JsonView jsonValue)
Variant & WithName(NameT &&value)
AWS_BEDROCKAGENTCORE_API Variant()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue