7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/PromptRouterStatus.h>
9#include <aws/bedrock/model/PromptRouterTargetModel.h>
10#include <aws/bedrock/model/PromptRouterType.h>
11#include <aws/bedrock/model/RoutingCriteria.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename PromptRouterNameT = Aws::String>
48 m_promptRouterNameHasBeenSet =
true;
49 m_promptRouterName = std::forward<PromptRouterNameT>(value);
51 template <
typename PromptRouterNameT = Aws::String>
64 template <
typename RoutingCriteriaT = RoutingCriteria>
66 m_routingCriteriaHasBeenSet =
true;
67 m_routingCriteria = std::forward<RoutingCriteriaT>(value);
69 template <
typename RoutingCriteriaT = RoutingCriteria>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
100 template <
typename CreatedAtT = Aws::Utils::DateTime>
102 m_createdAtHasBeenSet =
true;
103 m_createdAt = std::forward<CreatedAtT>(value);
105 template <
typename CreatedAtT = Aws::Utils::DateTime>
118 template <
typename UpdatedAtT = Aws::Utils::DateTime>
120 m_updatedAtHasBeenSet =
true;
121 m_updatedAt = std::forward<UpdatedAtT>(value);
123 template <
typename UpdatedAtT = Aws::Utils::DateTime>
136 template <
typename PromptRouterArnT = Aws::String>
138 m_promptRouterArnHasBeenSet =
true;
139 m_promptRouterArn = std::forward<PromptRouterArnT>(value);
141 template <
typename PromptRouterArnT = Aws::String>
154 template <
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
156 m_modelsHasBeenSet =
true;
157 m_models = std::forward<ModelsT>(value);
159 template <
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
164 template <
typename ModelsT = PromptRouterTargetModel>
166 m_modelsHasBeenSet =
true;
167 m_models.emplace_back(std::forward<ModelsT>(value));
178 template <
typename FallbackModelT = PromptRouterTargetModel>
180 m_fallbackModelHasBeenSet =
true;
181 m_fallbackModel = std::forward<FallbackModelT>(value);
183 template <
typename FallbackModelT = PromptRouterTargetModel>
197 m_statusHasBeenSet =
true;
213 m_typeHasBeenSet =
true;
223 bool m_promptRouterNameHasBeenSet =
false;
226 bool m_routingCriteriaHasBeenSet =
false;
229 bool m_descriptionHasBeenSet =
false;
232 bool m_createdAtHasBeenSet =
false;
235 bool m_updatedAtHasBeenSet =
false;
238 bool m_promptRouterArnHasBeenSet =
false;
241 bool m_modelsHasBeenSet =
false;
243 PromptRouterTargetModel m_fallbackModel;
244 bool m_fallbackModelHasBeenSet =
false;
247 bool m_statusHasBeenSet =
false;
250 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