7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <aws/bedrock-agent/model/PromptInferenceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock-agent/model/PromptTemplateConfiguration.h>
13#include <aws/bedrock-agent/model/PromptTemplateType.h>
14#include <aws/bedrock-agent/model/PromptMetadataEntry.h>
101 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
115 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
147 bool m_additionalModelRequestFieldsHasBeenSet =
false;
150 bool m_inferenceConfigurationHasBeenSet =
false;
153 bool m_metadataHasBeenSet =
false;
156 bool m_modelIdHasBeenSet =
false;
159 bool m_nameHasBeenSet =
false;
162 bool m_templateConfigurationHasBeenSet =
false;
165 bool m_templateTypeHasBeenSet =
false;
PromptVariant & WithMetadata(const Aws::Vector< PromptMetadataEntry > &value)
void SetName(const char *value)
AWS_BEDROCKAGENT_API PromptVariant & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InferenceConfigurationHasBeenSet() const
PromptVariant & WithName(const char *value)
const PromptInferenceConfiguration & GetInferenceConfiguration() const
void SetAdditionalModelRequestFields(Aws::Utils::Document &&value)
void SetModelId(const char *value)
PromptVariant & WithInferenceConfiguration(PromptInferenceConfiguration &&value)
PromptVariant & WithModelId(const Aws::String &value)
const Aws::String & GetName() const
const PromptTemplateConfiguration & GetTemplateConfiguration() const
void SetTemplateConfiguration(const PromptTemplateConfiguration &value)
PromptVariant & WithModelId(const char *value)
bool ModelIdHasBeenSet() const
const Aws::Vector< PromptMetadataEntry > & GetMetadata() const
void SetName(const Aws::String &value)
bool AdditionalModelRequestFieldsHasBeenSet() const
PromptVariant & WithModelId(Aws::String &&value)
void SetMetadata(const Aws::Vector< PromptMetadataEntry > &value)
PromptVariant & WithTemplateConfiguration(const PromptTemplateConfiguration &value)
bool TemplateConfigurationHasBeenSet() const
PromptVariant & WithName(const Aws::String &value)
const PromptTemplateType & GetTemplateType() const
void SetInferenceConfiguration(const PromptInferenceConfiguration &value)
Aws::Utils::DocumentView GetAdditionalModelRequestFields() const
PromptVariant & WithAdditionalModelRequestFields(Aws::Utils::Document &&value)
PromptVariant & WithName(Aws::String &&value)
const Aws::String & GetModelId() const
void SetTemplateType(const PromptTemplateType &value)
PromptVariant & WithTemplateType(const PromptTemplateType &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PromptVariant & WithInferenceConfiguration(const PromptInferenceConfiguration &value)
void SetTemplateType(PromptTemplateType &&value)
void SetTemplateConfiguration(PromptTemplateConfiguration &&value)
void SetModelId(Aws::String &&value)
PromptVariant & AddMetadata(const PromptMetadataEntry &value)
PromptVariant & WithTemplateType(PromptTemplateType &&value)
void SetModelId(const Aws::String &value)
bool TemplateTypeHasBeenSet() const
void SetName(Aws::String &&value)
void SetInferenceConfiguration(PromptInferenceConfiguration &&value)
PromptVariant & WithMetadata(Aws::Vector< PromptMetadataEntry > &&value)
void SetMetadata(Aws::Vector< PromptMetadataEntry > &&value)
bool MetadataHasBeenSet() const
AWS_BEDROCKAGENT_API PromptVariant(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
PromptVariant & AddMetadata(PromptMetadataEntry &&value)
PromptVariant & WithAdditionalModelRequestFields(const Aws::Utils::Document &value)
PromptVariant & WithTemplateConfiguration(PromptTemplateConfiguration &&value)
AWS_BEDROCKAGENT_API PromptVariant()
void SetAdditionalModelRequestFields(const Aws::Utils::Document &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue