7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/PerformanceConfigLatency.h>
9#include <aws/bedrock-runtime/model/ServiceTierType.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/Array.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/stream/ResponseStream.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
21namespace BedrockRuntime {
54 template <
typename ContentTypeT = Aws::String>
56 m_contentTypeHasBeenSet =
true;
57 m_contentType = std::forward<ContentTypeT>(value);
59 template <
typename ContentTypeT = Aws::String>
72 m_performanceConfigLatencyHasBeenSet =
true;
73 m_performanceConfigLatency = value;
87 m_serviceTierHasBeenSet =
true;
88 m_serviceTier = value;
99 template <
typename RequestIdT = Aws::String>
101 m_requestIdHasBeenSet =
true;
102 m_requestId = std::forward<RequestIdT>(value);
104 template <
typename RequestIdT = Aws::String>
123 bool m_bodyHasBeenSet =
false;
124 bool m_contentTypeHasBeenSet =
false;
125 bool m_performanceConfigLatencyHasBeenSet =
false;
126 bool m_serviceTierHasBeenSet =
false;
127 bool m_requestIdHasBeenSet =
false;
Aws::IOStream & GetBody() const
const Aws::String & GetContentType() const
PerformanceConfigLatency GetPerformanceConfigLatency() const
InvokeModelResult & WithPerformanceConfigLatency(PerformanceConfigLatency value)
void SetContentType(ContentTypeT &&value)
AWS_BEDROCKRUNTIME_API InvokeModelResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void ReplaceBody(Aws::IOStream *body)
AWS_BEDROCKRUNTIME_API InvokeModelResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
ServiceTierType GetServiceTier() const
void SetServiceTier(ServiceTierType value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetPerformanceConfigLatency(PerformanceConfigLatency value)
AWS_BEDROCKRUNTIME_API InvokeModelResult & operator=(InvokeModelResult &&)=default
AWS_BEDROCKRUNTIME_API InvokeModelResult(InvokeModelResult &&)=default
InvokeModelResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKRUNTIME_API InvokeModelResult()=default
InvokeModelResult(const InvokeModelResult &)=delete
Aws::Http::HttpResponseCode GetHttpResponseCode() const
InvokeModelResult & operator=(const InvokeModelResult &)=delete
InvokeModelResult & WithContentType(ContentTypeT &&value)
InvokeModelResult & WithServiceTier(ServiceTierType value)
Aws::IOStream & GetUnderlyingStream() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String