AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreatePresignedNotebookUrlResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Athena {
22namespace Model {
24 public:
25 AWS_ATHENA_API CreatePresignedNotebookUrlResult() = default;
28
30
34 inline const Aws::String& GetNotebookUrl() const { return m_notebookUrl; }
35 template <typename NotebookUrlT = Aws::String>
36 void SetNotebookUrl(NotebookUrlT&& value) {
37 m_notebookUrlHasBeenSet = true;
38 m_notebookUrl = std::forward<NotebookUrlT>(value);
39 }
40 template <typename NotebookUrlT = Aws::String>
42 SetNotebookUrl(std::forward<NotebookUrlT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAuthToken() const { return m_authToken; }
52 template <typename AuthTokenT = Aws::String>
53 void SetAuthToken(AuthTokenT&& value) {
54 m_authTokenHasBeenSet = true;
55 m_authToken = std::forward<AuthTokenT>(value);
56 }
57 template <typename AuthTokenT = Aws::String>
59 SetAuthToken(std::forward<AuthTokenT>(value));
60 return *this;
61 }
63
65
68 inline long long GetAuthTokenExpirationTime() const { return m_authTokenExpirationTime; }
69 inline void SetAuthTokenExpirationTime(long long value) {
70 m_authTokenExpirationTimeHasBeenSet = true;
71 m_authTokenExpirationTime = value;
72 }
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_notebookUrl;
95
96 Aws::String m_authToken;
97
98 long long m_authTokenExpirationTime{0};
99
100 Aws::String m_requestId;
101 bool m_notebookUrlHasBeenSet = false;
102 bool m_authTokenHasBeenSet = false;
103 bool m_authTokenExpirationTimeHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Athena
109} // 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