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>>
161 template<
typename ModelLifecycleT = FoundationModelLifecycle>
162 void SetModelLifecycle(ModelLifecycleT&& value) { m_modelLifecycleHasBeenSet =
true; m_modelLifecycle = std::forward<ModelLifecycleT>(value); }
163 template<
typename ModelLifecycleT = FoundationModelLifecycle>
169 bool m_modelArnHasBeenSet =
false;
172 bool m_modelIdHasBeenSet =
false;
175 bool m_modelNameHasBeenSet =
false;
178 bool m_providerNameHasBeenSet =
false;
181 bool m_inputModalitiesHasBeenSet =
false;
184 bool m_outputModalitiesHasBeenSet =
false;
186 bool m_responseStreamingSupported{
false};
187 bool m_responseStreamingSupportedHasBeenSet =
false;
190 bool m_customizationsSupportedHasBeenSet =
false;
193 bool m_inferenceTypesSupportedHasBeenSet =
false;
195 FoundationModelLifecycle m_modelLifecycle;
196 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