AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetDocumentContentResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
28 {
29 public:
30 AWS_QBUSINESS_API GetDocumentContentResult() = default;
33
34
36
42 inline const Aws::String& GetPresignedUrl() const { return m_presignedUrl; }
43 template<typename PresignedUrlT = Aws::String>
44 void SetPresignedUrl(PresignedUrlT&& value) { m_presignedUrlHasBeenSet = true; m_presignedUrl = std::forward<PresignedUrlT>(value); }
45 template<typename PresignedUrlT = Aws::String>
46 GetDocumentContentResult& WithPresignedUrl(PresignedUrlT&& value) { SetPresignedUrl(std::forward<PresignedUrlT>(value)); return *this;}
48
50
57 inline const Aws::String& GetMimeType() const { return m_mimeType; }
58 template<typename MimeTypeT = Aws::String>
59 void SetMimeType(MimeTypeT&& value) { m_mimeTypeHasBeenSet = true; m_mimeType = std::forward<MimeTypeT>(value); }
60 template<typename MimeTypeT = Aws::String>
61 GetDocumentContentResult& WithMimeType(MimeTypeT&& value) { SetMimeType(std::forward<MimeTypeT>(value)); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 GetDocumentContentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::String m_presignedUrl;
75 bool m_presignedUrlHasBeenSet = false;
76
77 Aws::String m_mimeType;
78 bool m_mimeTypeHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace QBusiness
86} // namespace Aws
GetDocumentContentResult & WithMimeType(MimeTypeT &&value)
AWS_QBUSINESS_API GetDocumentContentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentContentResult & WithRequestId(RequestIdT &&value)
GetDocumentContentResult & WithPresignedUrl(PresignedUrlT &&value)
AWS_QBUSINESS_API GetDocumentContentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QBUSINESS_API GetDocumentContentResult()=default
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