7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/PromptInferenceConfiguration.h>
9#include <aws/bedrock-agent/model/PromptTemplateConfiguration.h>
10#include <aws/bedrock-agent/model/PromptTemplateType.h>
11#include <aws/core/utils/Document.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace BedrockAgent {
46 m_templateTypeHasBeenSet =
true;
47 m_templateType = value;
62 template <
typename TemplateConfigurationT = PromptTemplateConfiguration>
64 m_templateConfigurationHasBeenSet =
true;
65 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
67 template <
typename TemplateConfigurationT = PromptTemplateConfiguration>
82 template <
typename ModelIdT = Aws::String>
84 m_modelIdHasBeenSet =
true;
85 m_modelId = std::forward<ModelIdT>(value);
87 template <
typename ModelIdT = Aws::String>
100 template <
typename InferenceConfigurationT = PromptInferenceConfiguration>
102 m_inferenceConfigurationHasBeenSet =
true;
103 m_inferenceConfiguration = std::forward<InferenceConfigurationT>(value);
105 template <
typename InferenceConfigurationT = PromptInferenceConfiguration>
119 template <
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
121 m_additionalModelRequestFieldsHasBeenSet =
true;
122 m_additionalModelRequestFields = std::forward<AdditionalModelRequestFieldsT>(value);
124 template <
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
133 PromptTemplateConfiguration m_templateConfiguration;
137 PromptInferenceConfiguration m_inferenceConfiguration;
140 bool m_templateTypeHasBeenSet =
false;
141 bool m_templateConfigurationHasBeenSet =
false;
142 bool m_modelIdHasBeenSet =
false;
143 bool m_inferenceConfigurationHasBeenSet =
false;
144 bool m_additionalModelRequestFieldsHasBeenSet =
false;
bool TemplateTypeHasBeenSet() const
Aws::Utils::DocumentView GetAdditionalModelRequestFields() const
void SetTemplateConfiguration(TemplateConfigurationT &&value)
bool TemplateConfigurationHasBeenSet() const
void SetAdditionalModelRequestFields(AdditionalModelRequestFieldsT &&value)
const PromptInferenceConfiguration & GetInferenceConfiguration() const
AWS_BEDROCKAGENT_API PromptFlowNodeInlineConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool AdditionalModelRequestFieldsHasBeenSet() const
PromptFlowNodeInlineConfiguration & WithTemplateType(PromptTemplateType value)
PromptFlowNodeInlineConfiguration & WithAdditionalModelRequestFields(AdditionalModelRequestFieldsT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTemplateType(PromptTemplateType value)
void SetInferenceConfiguration(InferenceConfigurationT &&value)
AWS_BEDROCKAGENT_API PromptFlowNodeInlineConfiguration()=default
AWS_BEDROCKAGENT_API PromptFlowNodeInlineConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptTemplateType GetTemplateType() const
PromptFlowNodeInlineConfiguration & WithModelId(ModelIdT &&value)
PromptFlowNodeInlineConfiguration & WithTemplateConfiguration(TemplateConfigurationT &&value)
void SetModelId(ModelIdT &&value)
PromptFlowNodeInlineConfiguration & WithInferenceConfiguration(InferenceConfigurationT &&value)
const Aws::String & GetModelId() const
const PromptTemplateConfiguration & GetTemplateConfiguration() const
bool ModelIdHasBeenSet() const
bool InferenceConfigurationHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue