7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace BedrockAgentRuntime {
37 m_documentContentLengthHasBeenSet =
true;
38 m_documentContentLength = value;
53 template <
typename MimeTypeT = Aws::String>
55 m_mimeTypeHasBeenSet =
true;
56 m_mimeType = std::forward<MimeTypeT>(value);
58 template <
typename MimeTypeT = Aws::String>
71 template <
typename Pre
signedUrlT = Aws::String>
73 m_presignedUrlHasBeenSet =
true;
74 m_presignedUrl = std::forward<PresignedUrlT>(value);
76 template <
typename Pre
signedUrlT = Aws::String>
86 template <
typename RequestIdT = Aws::String>
88 m_requestIdHasBeenSet =
true;
89 m_requestId = std::forward<RequestIdT>(value);
91 template <
typename RequestIdT = Aws::String>
100 long long m_documentContentLength{0};
108 bool m_documentContentLengthHasBeenSet =
false;
109 bool m_mimeTypeHasBeenSet =
false;
110 bool m_presignedUrlHasBeenSet =
false;
111 bool m_requestIdHasBeenSet =
false;
GetDocumentContentResult & WithRequestId(RequestIdT &&value)
void SetMimeType(MimeTypeT &&value)
AWS_BEDROCKAGENTRUNTIME_API GetDocumentContentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
long long GetDocumentContentLength() const
void SetDocumentContentLength(long long value)
void SetPresignedUrl(PresignedUrlT &&value)
const Aws::String & GetMimeType() const
const Aws::String & GetRequestId() const
AWS_BEDROCKAGENTRUNTIME_API GetDocumentContentResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_BEDROCKAGENTRUNTIME_API GetDocumentContentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentContentResult & WithDocumentContentLength(long long value)
const Aws::String & GetPresignedUrl() const
void SetRequestId(RequestIdT &&value)
GetDocumentContentResult & WithPresignedUrl(PresignedUrlT &&value)
GetDocumentContentResult & WithMimeType(MimeTypeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue