7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-runtime/model/Trace.h>
16namespace BedrockRuntime
46 inline void SetAccept(
const char* value) { m_acceptHasBeenSet =
true; m_accept.assign(value); }
80 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
93 inline void SetTrace(
const Trace& value) { m_traceHasBeenSet =
true; m_trace = value; }
94 inline void SetTrace(
Trace&& value) { m_traceHasBeenSet =
true; m_trace = std::move(value); }
114 inline void SetGuardrailIdentifier(
const char* value) { m_guardrailIdentifierHasBeenSet =
true; m_guardrailIdentifier.assign(value); }
129 inline void SetGuardrailVersion(
const char* value) { m_guardrailVersionHasBeenSet =
true; m_guardrailVersion.assign(value); }
138 bool m_acceptHasBeenSet =
false;
141 bool m_modelIdHasBeenSet =
false;
144 bool m_traceHasBeenSet =
false;
147 bool m_guardrailIdentifierHasBeenSet =
false;
150 bool m_guardrailVersionHasBeenSet =
false;
void SetModelId(const Aws::String &value)
AWS_BEDROCKRUNTIME_API InvokeModelRequest()
InvokeModelRequest & WithGuardrailVersion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool TraceHasBeenSet() const
void SetGuardrailIdentifier(const Aws::String &value)
InvokeModelRequest & WithGuardrailIdentifier(const Aws::String &value)
void SetGuardrailIdentifier(Aws::String &&value)
void SetAccept(const char *value)
void SetAccept(Aws::String &&value)
InvokeModelRequest & WithGuardrailIdentifier(Aws::String &&value)
InvokeModelRequest & WithGuardrailVersion(const char *value)
bool ModelIdHasBeenSet() const
InvokeModelRequest & WithAccept(const Aws::String &value)
bool AcceptHasBeenSet() const
InvokeModelRequest & WithAccept(const char *value)
InvokeModelRequest & WithGuardrailVersion(Aws::String &&value)
bool GuardrailIdentifierHasBeenSet() const
InvokeModelRequest & WithModelId(Aws::String &&value)
InvokeModelRequest & WithGuardrailIdentifier(const char *value)
void SetTrace(Trace &&value)
void SetGuardrailVersion(Aws::String &&value)
const Aws::String & GetAccept() const
void SetGuardrailIdentifier(const char *value)
void SetModelId(Aws::String &&value)
bool GuardrailVersionHasBeenSet() const
void SetAccept(const Aws::String &value)
const Trace & GetTrace() const
InvokeModelRequest & WithAccept(Aws::String &&value)
void SetModelId(const char *value)
InvokeModelRequest & WithTrace(const Trace &value)
void SetGuardrailVersion(const Aws::String &value)
void SetTrace(const Trace &value)
AWS_BEDROCKRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetGuardrailVersion() const
const Aws::String & GetGuardrailIdentifier() const
const Aws::String & GetModelId() const
InvokeModelRequest & WithModelId(const char *value)
InvokeModelRequest & WithModelId(const Aws::String &value)
void SetGuardrailVersion(const char *value)
InvokeModelRequest & WithTrace(Trace &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String