7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/FoundationModelLifecycle.h>
9#include <aws/bedrock/model/InferenceType.h>
10#include <aws/bedrock/model/ModelCustomization.h>
11#include <aws/bedrock/model/ModelModality.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename ModelArnT = Aws::String>
47 m_modelArnHasBeenSet =
true;
48 m_modelArn = std::forward<ModelArnT>(value);
50 template <
typename ModelArnT = Aws::String>
63 template <
typename ModelIdT = Aws::String>
65 m_modelIdHasBeenSet =
true;
66 m_modelId = std::forward<ModelIdT>(value);
68 template <
typename ModelIdT = Aws::String>
81 template <
typename ModelNameT = Aws::String>
83 m_modelNameHasBeenSet =
true;
84 m_modelName = std::forward<ModelNameT>(value);
86 template <
typename ModelNameT = Aws::String>
99 template <
typename Prov
iderNameT = Aws::String>
101 m_providerNameHasBeenSet =
true;
102 m_providerName = std::forward<ProviderNameT>(value);
104 template <
typename Prov
iderNameT = Aws::String>
117 template <
typename InputModalitiesT = Aws::Vector<ModelModality>>
119 m_inputModalitiesHasBeenSet =
true;
120 m_inputModalities = std::forward<InputModalitiesT>(value);
122 template <
typename InputModalitiesT = Aws::Vector<ModelModality>>
128 m_inputModalitiesHasBeenSet =
true;
129 m_inputModalities.push_back(value);
140 template <
typename OutputModalitiesT = Aws::Vector<ModelModality>>
142 m_outputModalitiesHasBeenSet =
true;
143 m_outputModalities = std::forward<OutputModalitiesT>(value);
145 template <
typename OutputModalitiesT = Aws::Vector<ModelModality>>
151 m_outputModalitiesHasBeenSet =
true;
152 m_outputModalities.push_back(value);
164 m_responseStreamingSupportedHasBeenSet =
true;
165 m_responseStreamingSupported = value;
179 template <
typename CustomizationsSupportedT = Aws::Vector<ModelCustomization>>
181 m_customizationsSupportedHasBeenSet =
true;
182 m_customizationsSupported = std::forward<CustomizationsSupportedT>(value);
184 template <
typename CustomizationsSupportedT = Aws::Vector<ModelCustomization>>
190 m_customizationsSupportedHasBeenSet =
true;
191 m_customizationsSupported.push_back(value);
202 template <
typename InferenceTypesSupportedT = Aws::Vector<InferenceType>>
204 m_inferenceTypesSupportedHasBeenSet =
true;
205 m_inferenceTypesSupported = std::forward<InferenceTypesSupportedT>(value);
207 template <
typename InferenceTypesSupportedT = Aws::Vector<InferenceType>>
213 m_inferenceTypesSupportedHasBeenSet =
true;
214 m_inferenceTypesSupported.push_back(value);
225 template <
typename ModelLifecycleT = FoundationModelLifecycle>
227 m_modelLifecycleHasBeenSet =
true;
228 m_modelLifecycle = std::forward<ModelLifecycleT>(value);
230 template <
typename ModelLifecycleT = FoundationModelLifecycle>
238 bool m_modelArnHasBeenSet =
false;
241 bool m_modelIdHasBeenSet =
false;
244 bool m_modelNameHasBeenSet =
false;
247 bool m_providerNameHasBeenSet =
false;
250 bool m_inputModalitiesHasBeenSet =
false;
253 bool m_outputModalitiesHasBeenSet =
false;
255 bool m_responseStreamingSupported{
false};
256 bool m_responseStreamingSupportedHasBeenSet =
false;
259 bool m_customizationsSupportedHasBeenSet =
false;
262 bool m_inferenceTypesSupportedHasBeenSet =
false;
264 FoundationModelLifecycle m_modelLifecycle;
265 bool m_modelLifecycleHasBeenSet =
false;
void SetInferenceTypesSupported(InferenceTypesSupportedT &&value)
void SetModelId(ModelIdT &&value)
const FoundationModelLifecycle & GetModelLifecycle() const
bool ModelIdHasBeenSet() const
bool ModelNameHasBeenSet() const
void SetResponseStreamingSupported(bool value)
FoundationModelDetails & WithModelLifecycle(ModelLifecycleT &&value)
bool CustomizationsSupportedHasBeenSet() const
bool ProviderNameHasBeenSet() const
const Aws::String & GetProviderName() const
bool ModelLifecycleHasBeenSet() const
void SetCustomizationsSupported(CustomizationsSupportedT &&value)
bool ModelArnHasBeenSet() const
void SetProviderName(ProviderNameT &&value)
bool OutputModalitiesHasBeenSet() const
void SetInputModalities(InputModalitiesT &&value)
AWS_BEDROCK_API FoundationModelDetails()=default
FoundationModelDetails & WithModelId(ModelIdT &&value)
FoundationModelDetails & WithInputModalities(InputModalitiesT &&value)
const Aws::String & GetModelArn() const
void SetModelName(ModelNameT &&value)
void SetOutputModalities(OutputModalitiesT &&value)
const Aws::Vector< ModelModality > & GetInputModalities() const
bool InferenceTypesSupportedHasBeenSet() const
const Aws::Vector< ModelCustomization > & GetCustomizationsSupported() const
const Aws::String & GetModelName() const
bool GetResponseStreamingSupported() const
void SetModelLifecycle(ModelLifecycleT &&value)
AWS_BEDROCK_API FoundationModelDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
FoundationModelDetails & WithInferenceTypesSupported(InferenceTypesSupportedT &&value)
FoundationModelDetails & WithModelName(ModelNameT &&value)
FoundationModelDetails & WithCustomizationsSupported(CustomizationsSupportedT &&value)
FoundationModelDetails & AddInputModalities(ModelModality value)
FoundationModelDetails & WithResponseStreamingSupported(bool value)
const Aws::Vector< InferenceType > & GetInferenceTypesSupported() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
FoundationModelDetails & AddOutputModalities(ModelModality value)
bool InputModalitiesHasBeenSet() const
const Aws::Vector< ModelModality > & GetOutputModalities() const
AWS_BEDROCK_API FoundationModelDetails(Aws::Utils::Json::JsonView jsonValue)
FoundationModelDetails & AddInferenceTypesSupported(InferenceType value)
bool ResponseStreamingSupportedHasBeenSet() const
FoundationModelDetails & WithOutputModalities(OutputModalitiesT &&value)
FoundationModelDetails & WithProviderName(ProviderNameT &&value)
void SetModelArn(ModelArnT &&value)
FoundationModelDetails & WithModelArn(ModelArnT &&value)
FoundationModelDetails & AddCustomizationsSupported(ModelCustomization value)
const Aws::String & GetModelId() 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