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);
226 template <
typename ModelLifecycleT = FoundationModelLifecycle>
228 m_modelLifecycleHasBeenSet =
true;
229 m_modelLifecycle = std::forward<ModelLifecycleT>(value);
231 template <
typename ModelLifecycleT = FoundationModelLifecycle>
239 bool m_modelArnHasBeenSet =
false;
242 bool m_modelIdHasBeenSet =
false;
245 bool m_modelNameHasBeenSet =
false;
248 bool m_providerNameHasBeenSet =
false;
251 bool m_inputModalitiesHasBeenSet =
false;
254 bool m_outputModalitiesHasBeenSet =
false;
256 bool m_responseStreamingSupported{
false};
257 bool m_responseStreamingSupportedHasBeenSet =
false;
260 bool m_customizationsSupportedHasBeenSet =
false;
263 bool m_inferenceTypesSupportedHasBeenSet =
false;
265 FoundationModelLifecycle m_modelLifecycle;
266 bool m_modelLifecycleHasBeenSet =
false;
FoundationModelSummary & WithOutputModalities(OutputModalitiesT &&value)
FoundationModelSummary & WithProviderName(ProviderNameT &&value)
AWS_BEDROCK_API FoundationModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FoundationModelSummary & WithInputModalities(InputModalitiesT &&value)
void SetResponseStreamingSupported(bool value)
void SetModelLifecycle(ModelLifecycleT &&value)
bool ModelIdHasBeenSet() const
void SetModelName(ModelNameT &&value)
AWS_BEDROCK_API FoundationModelSummary()=default
void SetInferenceTypesSupported(InferenceTypesSupportedT &&value)
const Aws::String & GetModelId() const
AWS_BEDROCK_API FoundationModelSummary(Aws::Utils::Json::JsonView jsonValue)
bool InputModalitiesHasBeenSet() const
void SetProviderName(ProviderNameT &&value)
FoundationModelSummary & WithModelName(ModelNameT &&value)
FoundationModelSummary & AddInputModalities(ModelModality value)
FoundationModelSummary & AddCustomizationsSupported(ModelCustomization value)
bool ModelLifecycleHasBeenSet() const
bool ProviderNameHasBeenSet() const
void SetInputModalities(InputModalitiesT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetProviderName() const
const Aws::String & GetModelArn() const
FoundationModelSummary & WithInferenceTypesSupported(InferenceTypesSupportedT &&value)
FoundationModelSummary & AddOutputModalities(ModelModality value)
FoundationModelSummary & WithResponseStreamingSupported(bool value)
const Aws::Vector< InferenceType > & GetInferenceTypesSupported() const
FoundationModelSummary & WithCustomizationsSupported(CustomizationsSupportedT &&value)
const FoundationModelLifecycle & GetModelLifecycle() const
FoundationModelSummary & WithModelArn(ModelArnT &&value)
FoundationModelSummary & AddInferenceTypesSupported(InferenceType value)
FoundationModelSummary & WithModelLifecycle(ModelLifecycleT &&value)
bool ResponseStreamingSupportedHasBeenSet() const
bool GetResponseStreamingSupported() const
const Aws::String & GetModelName() const
bool ModelArnHasBeenSet() const
FoundationModelSummary & WithModelId(ModelIdT &&value)
void SetCustomizationsSupported(CustomizationsSupportedT &&value)
void SetModelArn(ModelArnT &&value)
const Aws::Vector< ModelModality > & GetInputModalities() const
bool CustomizationsSupportedHasBeenSet() const
void SetModelId(ModelIdT &&value)
void SetOutputModalities(OutputModalitiesT &&value)
bool OutputModalitiesHasBeenSet() const
bool ModelNameHasBeenSet() const
const Aws::Vector< ModelModality > & GetOutputModalities() const
const Aws::Vector< ModelCustomization > & GetCustomizationsSupported() const
bool InferenceTypesSupportedHasBeenSet() 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