AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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