7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/bedrock-runtime/model/InvokeModelWithResponseStreamHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/Array.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/bedrock-runtime/model/Trace.h>
18namespace BedrockRuntime
68 inline void SetAccept(
const char* value) { m_acceptHasBeenSet =
true; m_accept.assign(value); }
102 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
115 inline void SetTrace(
const Trace& value) { m_traceHasBeenSet =
true; m_trace = value; }
116 inline void SetTrace(
Trace&& value) { m_traceHasBeenSet =
true; m_trace = std::move(value); }
136 inline void SetGuardrailIdentifier(
const char* value) { m_guardrailIdentifierHasBeenSet =
true; m_guardrailIdentifier.assign(value); }
151 inline void SetGuardrailVersion(
const char* value) { m_guardrailVersionHasBeenSet =
true; m_guardrailVersion.assign(value); }
160 bool m_acceptHasBeenSet =
false;
163 bool m_modelIdHasBeenSet =
false;
166 bool m_traceHasBeenSet =
false;
169 bool m_guardrailIdentifierHasBeenSet =
false;
172 bool m_guardrailVersionHasBeenSet =
false;
const Trace & GetTrace() const
void SetModelId(const char *value)
void SetGuardrailIdentifier(const Aws::String &value)
const Aws::String & GetAccept() const
void SetAccept(const char *value)
InvokeModelWithResponseStreamRequest & WithModelId(Aws::String &&value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
void SetTrace(Trace &&value)
InvokeModelWithResponseStreamRequest & WithGuardrailIdentifier(Aws::String &&value)
const Aws::String & GetGuardrailVersion() const
void SetEventStreamHandler(const InvokeModelWithResponseStreamHandler &value)
void SetGuardrailIdentifier(const char *value)
const Aws::String & GetModelId() const
InvokeModelWithResponseStreamRequest & WithGuardrailIdentifier(const Aws::String &value)
InvokeModelWithResponseStreamRequest & WithEventStreamHandler(const InvokeModelWithResponseStreamHandler &value)
void SetGuardrailVersion(Aws::String &&value)
InvokeModelWithResponseStreamRequest & WithTrace(Trace &&value)
InvokeModelWithResponseStreamRequest & WithAccept(const Aws::String &value)
InvokeModelWithResponseStreamRequest & WithModelId(const char *value)
bool GuardrailVersionHasBeenSet() const
InvokeModelWithResponseStreamRequest & WithModelId(const Aws::String &value)
InvokeModelWithResponseStreamRequest & WithGuardrailVersion(const Aws::String &value)
InvokeModelWithResponseStreamRequest & WithGuardrailIdentifier(const char *value)
void SetModelId(const Aws::String &value)
bool AcceptHasBeenSet() const
void SetGuardrailVersion(const Aws::String &value)
bool ModelIdHasBeenSet() const
AWS_BEDROCKRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
InvokeModelWithResponseStreamRequest & WithGuardrailVersion(Aws::String &&value)
const InvokeModelWithResponseStreamHandler & GetEventStreamHandler() const
void SetModelId(Aws::String &&value)
bool TraceHasBeenSet() const
InvokeModelWithResponseStreamRequest & WithAccept(const char *value)
void SetAccept(const Aws::String &value)
InvokeModelWithResponseStreamRequest & WithTrace(const Trace &value)
InvokeModelWithResponseStreamRequest & WithAccept(Aws::String &&value)
void SetTrace(const Trace &value)
virtual const char * GetServiceRequestName() const override
void SetGuardrailIdentifier(Aws::String &&value)
const Aws::String & GetGuardrailIdentifier() const
void SetAccept(Aws::String &&value)
void SetGuardrailVersion(const char *value)
bool GuardrailIdentifierHasBeenSet() const
InvokeModelWithResponseStreamRequest & WithGuardrailVersion(const char *value)
AWS_BEDROCKRUNTIME_API InvokeModelWithResponseStreamRequest()
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String