7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/bedrock-runtime/model/ConverseStreamHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-runtime/model/InferenceConfiguration.h>
14#include <aws/bedrock-runtime/model/ToolConfiguration.h>
15#include <aws/bedrock-runtime/model/GuardrailStreamConfiguration.h>
16#include <aws/core/utils/Document.h>
17#include <aws/bedrock-runtime/model/Message.h>
18#include <aws/bedrock-runtime/model/SystemContentBlock.h>
23namespace BedrockRuntime
93 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
210 bool m_modelIdHasBeenSet =
false;
213 bool m_messagesHasBeenSet =
false;
216 bool m_systemHasBeenSet =
false;
219 bool m_inferenceConfigHasBeenSet =
false;
222 bool m_toolConfigHasBeenSet =
false;
225 bool m_guardrailConfigHasBeenSet =
false;
228 bool m_additionalModelRequestFieldsHasBeenSet =
false;
231 bool m_additionalModelResponseFieldPathsHasBeenSet =
false;
ConverseStreamRequest & WithEventStreamHandler(const ConverseStreamHandler &value)
void SetModelId(const Aws::String &value)
void SetToolConfig(ToolConfiguration &&value)
ConverseStreamRequest & WithAdditionalModelResponseFieldPaths(Aws::Vector< Aws::String > &&value)
const Aws::Vector< SystemContentBlock > & GetSystem() const
void SetMessages(const Aws::Vector< Message > &value)
const ToolConfiguration & GetToolConfig() const
void SetSystem(Aws::Vector< SystemContentBlock > &&value)
void SetEventStreamHandler(const ConverseStreamHandler &value)
bool AdditionalModelRequestFieldsHasBeenSet() const
void SetInferenceConfig(InferenceConfiguration &&value)
ConverseStreamRequest & WithAdditionalModelRequestFields(Aws::Utils::Document &&value)
ConverseStreamRequest & AddSystem(const SystemContentBlock &value)
const Aws::Vector< Aws::String > & GetAdditionalModelResponseFieldPaths() const
void SetAdditionalModelResponseFieldPaths(Aws::Vector< Aws::String > &&value)
ConverseStreamRequest & WithMessages(Aws::Vector< Message > &&value)
ConverseStreamRequest & WithGuardrailConfig(const GuardrailStreamConfiguration &value)
void SetSystem(const Aws::Vector< SystemContentBlock > &value)
ConverseStreamRequest & WithMessages(const Aws::Vector< Message > &value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
ConverseStreamRequest & WithAdditionalModelResponseFieldPaths(const Aws::Vector< Aws::String > &value)
ConverseStreamRequest & WithSystem(const Aws::Vector< SystemContentBlock > &value)
ConverseStreamRequest & WithToolConfig(ToolConfiguration &&value)
void SetModelId(Aws::String &&value)
ConverseStreamRequest & AddAdditionalModelResponseFieldPaths(const char *value)
ConverseStreamRequest & WithAdditionalModelRequestFields(const Aws::Utils::Document &value)
AWS_BEDROCKRUNTIME_API ConverseStreamRequest()
bool MessagesHasBeenSet() const
ConverseStreamRequest & WithToolConfig(const ToolConfiguration &value)
ConverseStreamRequest & WithModelId(const Aws::String &value)
ConverseStreamRequest & WithInferenceConfig(InferenceConfiguration &&value)
const ConverseStreamHandler & GetEventStreamHandler() const
ConverseStreamRequest & WithGuardrailConfig(GuardrailStreamConfiguration &&value)
void SetInferenceConfig(const InferenceConfiguration &value)
void SetGuardrailConfig(const GuardrailStreamConfiguration &value)
const GuardrailStreamConfiguration & GetGuardrailConfig() const
void SetAdditionalModelRequestFields(const Aws::Utils::Document &value)
const Aws::Vector< Message > & GetMessages() const
bool SystemHasBeenSet() const
ConverseStreamRequest & WithModelId(Aws::String &&value)
void SetMessages(Aws::Vector< Message > &&value)
virtual const char * GetServiceRequestName() const override
ConverseStreamRequest & AddAdditionalModelResponseFieldPaths(const Aws::String &value)
bool ModelIdHasBeenSet() const
void SetAdditionalModelResponseFieldPaths(const Aws::Vector< Aws::String > &value)
const InferenceConfiguration & GetInferenceConfig() const
ConverseStreamRequest & AddMessages(const Message &value)
ConverseStreamRequest & AddAdditionalModelResponseFieldPaths(Aws::String &&value)
void SetModelId(const char *value)
void SetToolConfig(const ToolConfiguration &value)
ConverseStreamRequest & AddMessages(Message &&value)
bool ToolConfigHasBeenSet() const
bool GuardrailConfigHasBeenSet() const
ConverseStreamRequest & WithSystem(Aws::Vector< SystemContentBlock > &&value)
ConverseStreamRequest & WithInferenceConfig(const InferenceConfiguration &value)
AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override
ConverseStreamRequest & WithModelId(const char *value)
void SetAdditionalModelRequestFields(Aws::Utils::Document &&value)
bool AdditionalModelResponseFieldPathsHasBeenSet() const
ConverseStreamRequest & AddSystem(SystemContentBlock &&value)
void SetGuardrailConfig(GuardrailStreamConfiguration &&value)
const Aws::String & GetModelId() const
Aws::Utils::DocumentView GetAdditionalModelRequestFields() const
bool InferenceConfigHasBeenSet() const
void ResetEventStreamHandler(EventStreamHandler *handler)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector