AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreatePresignedNotebookUrlResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Athena {
23namespace Model {
25 public:
26 AWS_ATHENA_API CreatePresignedNotebookUrlResult() = default;
29
31
35 inline const Aws::String& GetNotebookUrl() const { return m_notebookUrl; }
36 template <typename NotebookUrlT = Aws::String>
37 void SetNotebookUrl(NotebookUrlT&& value) {
38 m_notebookUrlHasBeenSet = true;
39 m_notebookUrl = std::forward<NotebookUrlT>(value);
40 }
41 template <typename NotebookUrlT = Aws::String>
43 SetNotebookUrl(std::forward<NotebookUrlT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetAuthToken() const { return m_authToken; }
53 template <typename AuthTokenT = Aws::String>
54 void SetAuthToken(AuthTokenT&& value) {
55 m_authTokenHasBeenSet = true;
56 m_authToken = std::forward<AuthTokenT>(value);
57 }
58 template <typename AuthTokenT = Aws::String>
60 SetAuthToken(std::forward<AuthTokenT>(value));
61 return *this;
62 }
64
66
69 inline long long GetAuthTokenExpirationTime() const { return m_authTokenExpirationTime; }
70 inline void SetAuthTokenExpirationTime(long long value) {
71 m_authTokenExpirationTimeHasBeenSet = true;
72 m_authTokenExpirationTime = value;
73 }
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_notebookUrl;
98
99 Aws::String m_authToken;
100
101 long long m_authTokenExpirationTime{0};
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_notebookUrlHasBeenSet = false;
106 bool m_authTokenHasBeenSet = false;
107 bool m_authTokenExpirationTimeHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Athena
113} // namespace Aws
CreatePresignedNotebookUrlResult & WithRequestId(RequestIdT &&value)
AWS_ATHENA_API CreatePresignedNotebookUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePresignedNotebookUrlResult & WithAuthTokenExpirationTime(long long value)
AWS_ATHENA_API CreatePresignedNotebookUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePresignedNotebookUrlResult & WithNotebookUrl(NotebookUrlT &&value)
CreatePresignedNotebookUrlResult & WithAuthToken(AuthTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue