7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-runtime/model/InferenceConfiguration.h>
12#include <aws/bedrock-runtime/model/ToolConfiguration.h>
13#include <aws/bedrock-runtime/model/GuardrailConfiguration.h>
14#include <aws/core/utils/Document.h>
15#include <aws/bedrock-runtime/model/Message.h>
16#include <aws/bedrock-runtime/model/SystemContentBlock.h>
21namespace BedrockRuntime
71 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
190 bool m_modelIdHasBeenSet =
false;
193 bool m_messagesHasBeenSet =
false;
196 bool m_systemHasBeenSet =
false;
199 bool m_inferenceConfigHasBeenSet =
false;
202 bool m_toolConfigHasBeenSet =
false;
205 bool m_guardrailConfigHasBeenSet =
false;
208 bool m_additionalModelRequestFieldsHasBeenSet =
false;
211 bool m_additionalModelResponseFieldPathsHasBeenSet =
false;
ConverseRequest & WithInferenceConfig(InferenceConfiguration &&value)
void SetAdditionalModelRequestFields(const Aws::Utils::Document &value)
void SetToolConfig(ToolConfiguration &&value)
void SetMessages(const Aws::Vector< Message > &value)
ConverseRequest & WithToolConfig(const ToolConfiguration &value)
ConverseRequest & WithSystem(Aws::Vector< SystemContentBlock > &&value)
ConverseRequest & WithAdditionalModelResponseFieldPaths(const Aws::Vector< Aws::String > &value)
void SetAdditionalModelResponseFieldPaths(const Aws::Vector< Aws::String > &value)
bool AdditionalModelResponseFieldPathsHasBeenSet() const
ConverseRequest & WithMessages(const Aws::Vector< Message > &value)
Aws::Utils::DocumentView GetAdditionalModelRequestFields() const
virtual const char * GetServiceRequestName() const override
ConverseRequest & WithSystem(const Aws::Vector< SystemContentBlock > &value)
const InferenceConfiguration & GetInferenceConfig() const
void SetGuardrailConfig(const GuardrailConfiguration &value)
void SetModelId(const char *value)
ConverseRequest & AddMessages(Message &&value)
ConverseRequest & AddSystem(const SystemContentBlock &value)
ConverseRequest & WithInferenceConfig(const InferenceConfiguration &value)
const GuardrailConfiguration & GetGuardrailConfig() const
void SetGuardrailConfig(GuardrailConfiguration &&value)
void SetAdditionalModelRequestFields(Aws::Utils::Document &&value)
ConverseRequest & WithToolConfig(ToolConfiguration &&value)
void SetModelId(Aws::String &&value)
ConverseRequest & WithModelId(const Aws::String &value)
void SetInferenceConfig(InferenceConfiguration &&value)
ConverseRequest & WithAdditionalModelRequestFields(const Aws::Utils::Document &value)
const Aws::Vector< SystemContentBlock > & GetSystem() const
void SetSystem(Aws::Vector< SystemContentBlock > &&value)
ConverseRequest & AddSystem(SystemContentBlock &&value)
ConverseRequest & WithGuardrailConfig(const GuardrailConfiguration &value)
ConverseRequest & AddAdditionalModelResponseFieldPaths(Aws::String &&value)
bool ToolConfigHasBeenSet() const
ConverseRequest & WithAdditionalModelRequestFields(Aws::Utils::Document &&value)
void SetModelId(const Aws::String &value)
void SetToolConfig(const ToolConfiguration &value)
ConverseRequest & WithMessages(Aws::Vector< Message > &&value)
bool MessagesHasBeenSet() const
ConverseRequest & WithModelId(const char *value)
bool GuardrailConfigHasBeenSet() const
ConverseRequest & WithAdditionalModelResponseFieldPaths(Aws::Vector< Aws::String > &&value)
void SetMessages(Aws::Vector< Message > &&value)
ConverseRequest & AddMessages(const Message &value)
const ToolConfiguration & GetToolConfig() const
bool SystemHasBeenSet() const
void SetAdditionalModelResponseFieldPaths(Aws::Vector< Aws::String > &&value)
bool AdditionalModelRequestFieldsHasBeenSet() const
AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override
bool InferenceConfigHasBeenSet() const
ConverseRequest & AddAdditionalModelResponseFieldPaths(const Aws::String &value)
const Aws::Vector< Message > & GetMessages() const
void SetSystem(const Aws::Vector< SystemContentBlock > &value)
bool ModelIdHasBeenSet() const
void SetInferenceConfig(const InferenceConfiguration &value)
ConverseRequest & WithGuardrailConfig(GuardrailConfiguration &&value)
AWS_BEDROCKRUNTIME_API ConverseRequest()
const Aws::String & GetModelId() const
ConverseRequest & AddAdditionalModelResponseFieldPaths(const char *value)
ConverseRequest & WithModelId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAdditionalModelResponseFieldPaths() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector