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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename PromptRouterNameT = Aws::String>
42 m_promptRouterNameHasBeenSet =
true;
43 m_promptRouterName = std::forward<PromptRouterNameT>(value);
45 template <
typename PromptRouterNameT = Aws::String>
57 template <
typename RoutingCriteriaT = RoutingCriteria>
59 m_routingCriteriaHasBeenSet =
true;
60 m_routingCriteria = std::forward<RoutingCriteriaT>(value);
62 template <
typename RoutingCriteriaT = RoutingCriteria>
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
91 template <
typename CreatedAtT = Aws::Utils::DateTime>
93 m_createdAtHasBeenSet =
true;
94 m_createdAt = std::forward<CreatedAtT>(value);
96 template <
typename CreatedAtT = Aws::Utils::DateTime>
108 template <
typename UpdatedAtT = Aws::Utils::DateTime>
110 m_updatedAtHasBeenSet =
true;
111 m_updatedAt = std::forward<UpdatedAtT>(value);
113 template <
typename UpdatedAtT = Aws::Utils::DateTime>
125 template <
typename PromptRouterArnT = Aws::String>
127 m_promptRouterArnHasBeenSet =
true;
128 m_promptRouterArn = std::forward<PromptRouterArnT>(value);
130 template <
typename PromptRouterArnT = Aws::String>
142 template <
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
144 m_modelsHasBeenSet =
true;
145 m_models = std::forward<ModelsT>(value);
147 template <
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
152 template <
typename ModelsT = PromptRouterTargetModel>
154 m_modelsHasBeenSet =
true;
155 m_models.emplace_back(std::forward<ModelsT>(value));
165 template <
typename FallbackModelT = PromptRouterTargetModel>
167 m_fallbackModelHasBeenSet =
true;
168 m_fallbackModel = std::forward<FallbackModelT>(value);
170 template <
typename FallbackModelT = PromptRouterTargetModel>
183 m_statusHasBeenSet =
true;
198 m_typeHasBeenSet =
true;
210 template <
typename RequestIdT = Aws::String>
212 m_requestIdHasBeenSet =
true;
213 m_requestId = std::forward<RequestIdT>(value);
215 template <
typename RequestIdT = Aws::String>
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;
253 bool m_requestIdHasBeenSet =
false;
GetPromptRouterResult & WithRequestId(RequestIdT &&value)
GetPromptRouterResult & WithRoutingCriteria(RoutingCriteriaT &&value)
GetPromptRouterResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetPromptRouterResult & WithPromptRouterName(PromptRouterNameT &&value)
AWS_BEDROCK_API GetPromptRouterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPromptRouterName(PromptRouterNameT &&value)
const Aws::String & GetRequestId() const
GetPromptRouterResult & WithStatus(PromptRouterStatus value)
AWS_BEDROCK_API GetPromptRouterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetPromptRouterArn() const
const Aws::String & GetPromptRouterName() const
const PromptRouterTargetModel & GetFallbackModel() const
GetPromptRouterResult & WithUpdatedAt(UpdatedAtT &&value)
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
void SetStatus(PromptRouterStatus value)
void SetCreatedAt(CreatedAtT &&value)
void SetType(PromptRouterType value)
GetPromptRouterResult & WithFallbackModel(FallbackModelT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetPromptRouterResult & WithPromptRouterArn(PromptRouterArnT &&value)
AWS_BEDROCK_API GetPromptRouterResult()=default
void SetRoutingCriteria(RoutingCriteriaT &&value)
GetPromptRouterResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< PromptRouterTargetModel > & GetModels() const
PromptRouterType GetType() const
PromptRouterStatus GetStatus() const
GetPromptRouterResult & AddModels(ModelsT &&value)
GetPromptRouterResult & WithModels(ModelsT &&value)
const Aws::String & GetDescription() const
void SetPromptRouterArn(PromptRouterArnT &&value)
void SetModels(ModelsT &&value)
void SetFallbackModel(FallbackModelT &&value)
GetPromptRouterResult & WithType(PromptRouterType value)
const RoutingCriteria & GetRoutingCriteria() 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