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/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename PromptRouterNameT = Aws::String>
43 m_promptRouterNameHasBeenSet =
true;
44 m_promptRouterName = std::forward<PromptRouterNameT>(value);
46 template <
typename PromptRouterNameT = Aws::String>
58 template <
typename RoutingCriteriaT = RoutingCriteria>
60 m_routingCriteriaHasBeenSet =
true;
61 m_routingCriteria = std::forward<RoutingCriteriaT>(value);
63 template <
typename RoutingCriteriaT = RoutingCriteria>
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
92 template <
typename CreatedAtT = Aws::Utils::DateTime>
94 m_createdAtHasBeenSet =
true;
95 m_createdAt = std::forward<CreatedAtT>(value);
97 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 template <
typename UpdatedAtT = Aws::Utils::DateTime>
111 m_updatedAtHasBeenSet =
true;
112 m_updatedAt = std::forward<UpdatedAtT>(value);
114 template <
typename UpdatedAtT = Aws::Utils::DateTime>
126 template <
typename PromptRouterArnT = Aws::String>
128 m_promptRouterArnHasBeenSet =
true;
129 m_promptRouterArn = std::forward<PromptRouterArnT>(value);
131 template <
typename PromptRouterArnT = Aws::String>
143 template <
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
145 m_modelsHasBeenSet =
true;
146 m_models = std::forward<ModelsT>(value);
148 template <
typename ModelsT = Aws::Vector<PromptRouterTargetModel>>
153 template <
typename ModelsT = PromptRouterTargetModel>
155 m_modelsHasBeenSet =
true;
156 m_models.emplace_back(std::forward<ModelsT>(value));
166 template <
typename FallbackModelT = PromptRouterTargetModel>
168 m_fallbackModelHasBeenSet =
true;
169 m_fallbackModel = std::forward<FallbackModelT>(value);
171 template <
typename FallbackModelT = PromptRouterTargetModel>
184 m_statusHasBeenSet =
true;
199 m_typeHasBeenSet =
true;
211 template <
typename RequestIdT = Aws::String>
213 m_requestIdHasBeenSet =
true;
214 m_requestId = std::forward<RequestIdT>(value);
216 template <
typename RequestIdT = Aws::String>
239 PromptRouterTargetModel m_fallbackModel;
247 bool m_promptRouterNameHasBeenSet =
false;
248 bool m_routingCriteriaHasBeenSet =
false;
249 bool m_descriptionHasBeenSet =
false;
250 bool m_createdAtHasBeenSet =
false;
251 bool m_updatedAtHasBeenSet =
false;
252 bool m_promptRouterArnHasBeenSet =
false;
253 bool m_modelsHasBeenSet =
false;
254 bool m_fallbackModelHasBeenSet =
false;
255 bool m_statusHasBeenSet =
false;
256 bool m_typeHasBeenSet =
false;
257 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetPromptRouterArn(PromptRouterArnT &&value)
void SetModels(ModelsT &&value)
void SetFallbackModel(FallbackModelT &&value)
GetPromptRouterResult & WithType(PromptRouterType value)
const RoutingCriteria & GetRoutingCriteria() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue