AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 Athena
24{
25namespace Model
26{
28 {
29 public:
30 AWS_ATHENA_API CreatePresignedNotebookUrlResult() = default;
33
34
36
40 inline const Aws::String& GetNotebookUrl() const { return m_notebookUrl; }
41 template<typename NotebookUrlT = Aws::String>
42 void SetNotebookUrl(NotebookUrlT&& value) { m_notebookUrlHasBeenSet = true; m_notebookUrl = std::forward<NotebookUrlT>(value); }
43 template<typename NotebookUrlT = Aws::String>
44 CreatePresignedNotebookUrlResult& WithNotebookUrl(NotebookUrlT&& value) { SetNotebookUrl(std::forward<NotebookUrlT>(value)); return *this;}
46
48
51 inline const Aws::String& GetAuthToken() const { return m_authToken; }
52 template<typename AuthTokenT = Aws::String>
53 void SetAuthToken(AuthTokenT&& value) { m_authTokenHasBeenSet = true; m_authToken = std::forward<AuthTokenT>(value); }
54 template<typename AuthTokenT = Aws::String>
55 CreatePresignedNotebookUrlResult& WithAuthToken(AuthTokenT&& value) { SetAuthToken(std::forward<AuthTokenT>(value)); return *this;}
57
59
62 inline long long GetAuthTokenExpirationTime() const { return m_authTokenExpirationTime; }
63 inline void SetAuthTokenExpirationTime(long long value) { m_authTokenExpirationTimeHasBeenSet = true; m_authTokenExpirationTime = value; }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 CreatePresignedNotebookUrlResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_notebookUrl;
78 bool m_notebookUrlHasBeenSet = false;
79
80 Aws::String m_authToken;
81 bool m_authTokenHasBeenSet = false;
82
83 long long m_authTokenExpirationTime{0};
84 bool m_authTokenExpirationTimeHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Athena
92} // 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