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>
53 inline void SetModelArn(
const char* value) { m_modelArnHasBeenSet =
true; m_modelArn.assign(value); }
67 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
81 inline void SetModelName(
const char* value) { m_modelNameHasBeenSet =
true; m_modelName.assign(value); }
95 inline void SetProviderName(
const char* value) { m_providerNameHasBeenSet =
true; m_providerName.assign(value); }
181 bool m_modelArnHasBeenSet =
false;
184 bool m_modelIdHasBeenSet =
false;
187 bool m_modelNameHasBeenSet =
false;
190 bool m_providerNameHasBeenSet =
false;
193 bool m_inputModalitiesHasBeenSet =
false;
196 bool m_outputModalitiesHasBeenSet =
false;
198 bool m_responseStreamingSupported;
199 bool m_responseStreamingSupportedHasBeenSet =
false;
202 bool m_customizationsSupportedHasBeenSet =
false;
205 bool m_inferenceTypesSupportedHasBeenSet =
false;
208 bool m_modelLifecycleHasBeenSet =
false;
FoundationModelDetails & WithOutputModalities(const Aws::Vector< ModelModality > &value)
void SetCustomizationsSupported(const Aws::Vector< ModelCustomization > &value)
const FoundationModelLifecycle & GetModelLifecycle() const
FoundationModelDetails & WithOutputModalities(Aws::Vector< ModelModality > &&value)
FoundationModelDetails & AddCustomizationsSupported(const ModelCustomization &value)
bool ModelIdHasBeenSet() const
void SetModelId(Aws::String &&value)
FoundationModelDetails & AddOutputModalities(const ModelModality &value)
bool ModelNameHasBeenSet() const
void SetResponseStreamingSupported(bool value)
bool CustomizationsSupportedHasBeenSet() const
bool ProviderNameHasBeenSet() const
void SetModelName(const Aws::String &value)
FoundationModelDetails & WithModelName(Aws::String &&value)
FoundationModelDetails & WithInputModalities(Aws::Vector< ModelModality > &&value)
void SetModelName(const char *value)
const Aws::String & GetProviderName() const
FoundationModelDetails & WithProviderName(const Aws::String &value)
FoundationModelDetails & WithModelLifecycle(const FoundationModelLifecycle &value)
bool ModelLifecycleHasBeenSet() const
FoundationModelDetails & WithModelLifecycle(FoundationModelLifecycle &&value)
bool ModelArnHasBeenSet() const
bool OutputModalitiesHasBeenSet() const
FoundationModelDetails & WithModelId(const char *value)
FoundationModelDetails & AddInferenceTypesSupported(InferenceType &&value)
void SetInputModalities(Aws::Vector< ModelModality > &&value)
FoundationModelDetails & WithProviderName(Aws::String &&value)
void SetModelName(Aws::String &&value)
const Aws::String & GetModelArn() const
void SetOutputModalities(Aws::Vector< ModelModality > &&value)
FoundationModelDetails & WithModelArn(Aws::String &&value)
void SetProviderName(const Aws::String &value)
FoundationModelDetails & WithCustomizationsSupported(const Aws::Vector< ModelCustomization > &value)
void SetInputModalities(const Aws::Vector< ModelModality > &value)
FoundationModelDetails & WithModelName(const Aws::String &value)
const Aws::Vector< ModelModality > & GetInputModalities() const
FoundationModelDetails & WithModelId(Aws::String &&value)
void SetProviderName(const char *value)
FoundationModelDetails & WithInputModalities(const Aws::Vector< ModelModality > &value)
bool InferenceTypesSupportedHasBeenSet() const
const Aws::Vector< ModelCustomization > & GetCustomizationsSupported() const
const Aws::String & GetModelName() const
FoundationModelDetails & WithModelId(const Aws::String &value)
void SetModelArn(const char *value)
bool GetResponseStreamingSupported() const
void SetModelId(const Aws::String &value)
AWS_BEDROCK_API FoundationModelDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputModalities(const Aws::Vector< ModelModality > &value)
void SetModelLifecycle(const FoundationModelLifecycle &value)
void SetInferenceTypesSupported(Aws::Vector< InferenceType > &&value)
FoundationModelDetails & AddInputModalities(ModelModality &&value)
void SetProviderName(Aws::String &&value)
void SetCustomizationsSupported(Aws::Vector< ModelCustomization > &&value)
void SetModelArn(Aws::String &&value)
FoundationModelDetails & WithResponseStreamingSupported(bool value)
void SetModelLifecycle(FoundationModelLifecycle &&value)
FoundationModelDetails & WithProviderName(const char *value)
AWS_BEDROCK_API FoundationModelDetails()
const Aws::Vector< InferenceType > & GetInferenceTypesSupported() const
void SetInferenceTypesSupported(const Aws::Vector< InferenceType > &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool InputModalitiesHasBeenSet() const
FoundationModelDetails & AddOutputModalities(ModelModality &&value)
FoundationModelDetails & AddInferenceTypesSupported(const InferenceType &value)
FoundationModelDetails & WithModelName(const char *value)
const Aws::Vector< ModelModality > & GetOutputModalities() const
FoundationModelDetails & WithInferenceTypesSupported(Aws::Vector< InferenceType > &&value)
FoundationModelDetails & AddCustomizationsSupported(ModelCustomization &&value)
FoundationModelDetails & WithInferenceTypesSupported(const Aws::Vector< InferenceType > &value)
AWS_BEDROCK_API FoundationModelDetails(Aws::Utils::Json::JsonView jsonValue)
FoundationModelDetails & WithCustomizationsSupported(Aws::Vector< ModelCustomization > &&value)
bool ResponseStreamingSupportedHasBeenSet() const
void SetModelArn(const Aws::String &value)
FoundationModelDetails & AddInputModalities(const ModelModality &value)
void SetModelId(const char *value)
FoundationModelDetails & WithModelArn(const char *value)
FoundationModelDetails & WithModelArn(const Aws::String &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