7#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
8#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
9#include <aws/bedrock-runtime/model/PerformanceConfigLatency.h>
10#include <aws/bedrock-runtime/model/ServiceTierType.h>
11#include <aws/bedrock-runtime/model/Trace.h>
12#include <aws/core/utils/Array.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace BedrockRuntime {
42 template <
typename AcceptT = Aws::String>
44 m_acceptHasBeenSet =
true;
45 m_accept = std::forward<AcceptT>(value);
47 template <
typename AcceptT = Aws::String>
84 template <
typename ModelIdT = Aws::String>
86 m_modelIdHasBeenSet =
true;
87 m_modelId = std::forward<ModelIdT>(value);
89 template <
typename ModelIdT = Aws::String>
104 m_traceHasBeenSet =
true;
126 template <
typename GuardrailIdentifierT = Aws::String>
128 m_guardrailIdentifierHasBeenSet =
true;
129 m_guardrailIdentifier = std::forward<GuardrailIdentifierT>(value);
131 template <
typename GuardrailIdentifierT = Aws::String>
145 template <
typename GuardrailVersionT = Aws::String>
147 m_guardrailVersionHasBeenSet =
true;
148 m_guardrailVersion = std::forward<GuardrailVersionT>(value);
150 template <
typename GuardrailVersionT = Aws::String>
164 m_performanceConfigLatencyHasBeenSet =
true;
165 m_performanceConfigLatency = value;
180 m_serviceTierHasBeenSet =
true;
181 m_serviceTier = value;
202 bool m_acceptHasBeenSet =
false;
203 bool m_modelIdHasBeenSet =
false;
204 bool m_traceHasBeenSet =
false;
205 bool m_guardrailIdentifierHasBeenSet =
false;
206 bool m_guardrailVersionHasBeenSet =
false;
207 bool m_performanceConfigLatencyHasBeenSet =
false;
208 bool m_serviceTierHasBeenSet =
false;
InvokeModelRequest & WithGuardrailIdentifier(GuardrailIdentifierT &&value)
void SetModelId(ModelIdT &&value)
virtual const char * GetServiceRequestName() const override
bool TraceHasBeenSet() const
ServiceTierType GetServiceTier() const
InvokeModelRequest & WithServiceTier(ServiceTierType value)
void SetGuardrailVersion(GuardrailVersionT &&value)
void SetServiceTier(ServiceTierType value)
InvokeModelRequest & WithModelId(ModelIdT &&value)
InvokeModelRequest & WithTrace(Trace value)
PerformanceConfigLatency GetPerformanceConfigLatency() const
void SetGuardrailIdentifier(GuardrailIdentifierT &&value)
bool ModelIdHasBeenSet() const
AWS_BEDROCKRUNTIME_API InvokeModelRequest()=default
bool AcceptHasBeenSet() const
bool GuardrailIdentifierHasBeenSet() const
InvokeModelRequest & WithAccept(AcceptT &&value)
const Aws::String & GetAccept() const
void SetTrace(Trace value)
bool GuardrailVersionHasBeenSet() const
bool PerformanceConfigLatencyHasBeenSet() const
void SetPerformanceConfigLatency(PerformanceConfigLatency value)
InvokeModelRequest & WithPerformanceConfigLatency(PerformanceConfigLatency value)
InvokeModelRequest & WithGuardrailVersion(GuardrailVersionT &&value)
AWS_BEDROCKRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAccept(AcceptT &&value)
bool ServiceTierHasBeenSet() const
const Aws::String & GetGuardrailVersion() const
const Aws::String & GetGuardrailIdentifier() const
const Aws::String & GetModelId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String