/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Athena { namespace Model { class CreatePresignedNotebookUrlResult { public: AWS_ATHENA_API CreatePresignedNotebookUrlResult(); AWS_ATHENA_API CreatePresignedNotebookUrlResult(const Aws::AmazonWebServiceResult& result); AWS_ATHENA_API CreatePresignedNotebookUrlResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline const Aws::String& GetNotebookUrl() const{ return m_notebookUrl; } /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline void SetNotebookUrl(const Aws::String& value) { m_notebookUrl = value; } /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline void SetNotebookUrl(Aws::String&& value) { m_notebookUrl = std::move(value); } /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline void SetNotebookUrl(const char* value) { m_notebookUrl.assign(value); } /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline CreatePresignedNotebookUrlResult& WithNotebookUrl(const Aws::String& value) { SetNotebookUrl(value); return *this;} /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline CreatePresignedNotebookUrlResult& WithNotebookUrl(Aws::String&& value) { SetNotebookUrl(std::move(value)); return *this;} /** *

The URL of the notebook. The URL includes the authentication token and * notebook file name and points directly to the opened notebook.

*/ inline CreatePresignedNotebookUrlResult& WithNotebookUrl(const char* value) { SetNotebookUrl(value); return *this;} /** *

The authentication token for the notebook.

*/ inline const Aws::String& GetAuthToken() const{ return m_authToken; } /** *

The authentication token for the notebook.

*/ inline void SetAuthToken(const Aws::String& value) { m_authToken = value; } /** *

The authentication token for the notebook.

*/ inline void SetAuthToken(Aws::String&& value) { m_authToken = std::move(value); } /** *

The authentication token for the notebook.

*/ inline void SetAuthToken(const char* value) { m_authToken.assign(value); } /** *

The authentication token for the notebook.

*/ inline CreatePresignedNotebookUrlResult& WithAuthToken(const Aws::String& value) { SetAuthToken(value); return *this;} /** *

The authentication token for the notebook.

*/ inline CreatePresignedNotebookUrlResult& WithAuthToken(Aws::String&& value) { SetAuthToken(std::move(value)); return *this;} /** *

The authentication token for the notebook.

*/ inline CreatePresignedNotebookUrlResult& WithAuthToken(const char* value) { SetAuthToken(value); return *this;} /** *

The UTC epoch time when the authentication token expires.

*/ inline long long GetAuthTokenExpirationTime() const{ return m_authTokenExpirationTime; } /** *

The UTC epoch time when the authentication token expires.

*/ inline void SetAuthTokenExpirationTime(long long value) { m_authTokenExpirationTime = value; } /** *

The UTC epoch time when the authentication token expires.

*/ inline CreatePresignedNotebookUrlResult& WithAuthTokenExpirationTime(long long value) { SetAuthTokenExpirationTime(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreatePresignedNotebookUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreatePresignedNotebookUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreatePresignedNotebookUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_notebookUrl; Aws::String m_authToken; long long m_authTokenExpirationTime; Aws::String m_requestId; }; } // namespace Model } // namespace Athena } // namespace Aws