7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/RoutingCriteria.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock/model/PromptRouterTargetModel.h>
13#include <aws/bedrock/model/PromptRouterStatus.h>
14#include <aws/bedrock/model/PromptRouterType.h>
52 template<
typename PromptRouterNameT = Aws::String>
53 void SetPromptRouterName(PromptRouterNameT&& value) { m_promptRouterNameHasBeenSet =
true; m_promptRouterName = std::forward<PromptRouterNameT>(value); }
54 template<
typename PromptRouterNameT = Aws::String>
64 template<
typename RoutingCriteriaT = RoutingCriteria>
65 void SetRoutingCriteria(RoutingCriteriaT&& value) { m_routingCriteriaHasBeenSet =
true; m_routingCriteria = std::forward<RoutingCriteriaT>(value); }
66 template<
typename RoutingCriteriaT = RoutingCriteria>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<
typename CreatedAtT = Aws::Utils::DateTime>
100 template<
typename UpdatedAtT = Aws::Utils::DateTime>
101 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
102 template<
typename UpdatedAtT = Aws::Utils::DateTime>
112 template<
typename PromptRouterArnT = Aws::String>
113 void SetPromptRouterArn(PromptRouterArnT&& value) { m_promptRouterArnHasBeenSet =
true; m_promptRouterArn = std::forward<PromptRouterArnT>(value); }
114 template<
typename PromptRouterArnT = Aws::String>
124 template<
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
125 void SetModels(ModelsT&& value) { m_modelsHasBeenSet =
true; m_models = std::forward<ModelsT>(value); }
126 template<
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
128 template<
typename ModelsT = PromptRouterTargetModel>
138 template<
typename FallbackModelT = PromptRouterTargetModel>
139 void SetFallbackModel(FallbackModelT&& value) { m_fallbackModelHasBeenSet =
true; m_fallbackModel = std::forward<FallbackModelT>(value); }
140 template<
typename FallbackModelT = PromptRouterTargetModel>
166 bool m_promptRouterNameHasBeenSet =
false;
169 bool m_routingCriteriaHasBeenSet =
false;
172 bool m_descriptionHasBeenSet =
false;
175 bool m_createdAtHasBeenSet =
false;
178 bool m_updatedAtHasBeenSet =
false;
181 bool m_promptRouterArnHasBeenSet =
false;
184 bool m_modelsHasBeenSet =
false;
186 PromptRouterTargetModel m_fallbackModel;
187 bool m_fallbackModelHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
193 bool m_typeHasBeenSet =
false;
PromptRouterStatus GetStatus() const
PromptRouterSummary & WithRoutingCriteria(RoutingCriteriaT &&value)
AWS_BEDROCK_API PromptRouterSummary(Aws::Utils::Json::JsonView jsonValue)
bool RoutingCriteriaHasBeenSet() const
void SetModels(ModelsT &&value)
bool UpdatedAtHasBeenSet() const
const RoutingCriteria & GetRoutingCriteria() const
void SetCreatedAt(CreatedAtT &&value)
PromptRouterSummary & AddModels(ModelsT &&value)
const PromptRouterTargetModel & GetFallbackModel() const
void SetPromptRouterName(PromptRouterNameT &&value)
bool ModelsHasBeenSet() const
PromptRouterSummary & WithDescription(DescriptionT &&value)
void SetStatus(PromptRouterStatus value)
void SetPromptRouterArn(PromptRouterArnT &&value)
PromptRouterSummary & WithType(PromptRouterType value)
PromptRouterType GetType() const
bool FallbackModelHasBeenSet() const
bool StatusHasBeenSet() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool DescriptionHasBeenSet() const
PromptRouterSummary & WithPromptRouterArn(PromptRouterArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetPromptRouterName() const
void SetRoutingCriteria(RoutingCriteriaT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
PromptRouterSummary & WithCreatedAt(CreatedAtT &&value)
bool TypeHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool PromptRouterArnHasBeenSet() const
PromptRouterSummary & WithFallbackModel(FallbackModelT &&value)
void SetFallbackModel(FallbackModelT &&value)
PromptRouterSummary & WithPromptRouterName(PromptRouterNameT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetPromptRouterArn() const
PromptRouterSummary & WithStatus(PromptRouterStatus value)
PromptRouterSummary & WithModels(ModelsT &&value)
const Aws::Vector< PromptRouterTargetModel > & GetModels() const
void SetUpdatedAt(UpdatedAtT &&value)
PromptRouterSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCK_API PromptRouterSummary()=default
bool PromptRouterNameHasBeenSet() const
void SetType(PromptRouterType value)
AWS_BEDROCK_API PromptRouterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue