7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/FoundationModelLifecycle.h>
11#include <aws/bedrock/model/ModelModality.h>
12#include <aws/bedrock/model/ModelCustomization.h>
13#include <aws/bedrock/model/InferenceType.h>
51 template<
typename ModelArnT = Aws::String>
52 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
53 template<
typename ModelArnT = Aws::String>
63 template<
typename ModelIdT = Aws::String>
64 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
65 template<
typename ModelIdT = Aws::String>
75 template<
typename ModelNameT = Aws::String>
76 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet =
true; m_modelName = std::forward<ModelNameT>(value); }
77 template<
typename ModelNameT = Aws::String>
87 template<
typename Prov
iderNameT = Aws::String>
88 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
89 template<
typename Prov
iderNameT = Aws::String>
99 template<
typename InputModalitiesT = Aws::Vector<ModelModality>>
100 void SetInputModalities(InputModalitiesT&& value) { m_inputModalitiesHasBeenSet =
true; m_inputModalities = std::forward<InputModalitiesT>(value); }
101 template<
typename InputModalitiesT = Aws::Vector<ModelModality>>
112 template<
typename OutputModalitiesT = Aws::Vector<ModelModality>>
113 void SetOutputModalities(OutputModalitiesT&& value) { m_outputModalitiesHasBeenSet =
true; m_outputModalities = std::forward<OutputModalitiesT>(value); }
114 template<
typename OutputModalitiesT = Aws::Vector<ModelModality>>
135 template<
typename CustomizationsSupportedT = Aws::Vector<ModelCustomization>>
136 void SetCustomizationsSupported(CustomizationsSupportedT&& value) { m_customizationsSupportedHasBeenSet =
true; m_customizationsSupported = std::forward<CustomizationsSupportedT>(value); }
137 template<
typename CustomizationsSupportedT = Aws::Vector<ModelCustomization>>
148 template<
typename InferenceTypesSupportedT = Aws::Vector<InferenceType>>
149 void SetInferenceTypesSupported(InferenceTypesSupportedT&& value) { m_inferenceTypesSupportedHasBeenSet =
true; m_inferenceTypesSupported = std::forward<InferenceTypesSupportedT>(value); }
150 template<
typename InferenceTypesSupportedT = Aws::Vector<InferenceType>>
162 template<
typename ModelLifecycleT = FoundationModelLifecycle>
163 void SetModelLifecycle(ModelLifecycleT&& value) { m_modelLifecycleHasBeenSet =
true; m_modelLifecycle = std::forward<ModelLifecycleT>(value); }
164 template<
typename ModelLifecycleT = FoundationModelLifecycle>
170 bool m_modelArnHasBeenSet =
false;
173 bool m_modelIdHasBeenSet =
false;
176 bool m_modelNameHasBeenSet =
false;
179 bool m_providerNameHasBeenSet =
false;
182 bool m_inputModalitiesHasBeenSet =
false;
185 bool m_outputModalitiesHasBeenSet =
false;
187 bool m_responseStreamingSupported{
false};
188 bool m_responseStreamingSupportedHasBeenSet =
false;
191 bool m_customizationsSupportedHasBeenSet =
false;
194 bool m_inferenceTypesSupportedHasBeenSet =
false;
196 FoundationModelLifecycle m_modelLifecycle;
197 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