/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Athena { namespace Model { /** *

Contains the notebook session ID and notebook session creation * time.

See Also:

AWS * API Reference

*/ class NotebookSessionSummary { public: AWS_ATHENA_API NotebookSessionSummary(); AWS_ATHENA_API NotebookSessionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_ATHENA_API NotebookSessionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The notebook session ID.

*/ inline const Aws::String& GetSessionId() const{ return m_sessionId; } /** *

The notebook session ID.

*/ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } /** *

The notebook session ID.

*/ inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } /** *

The notebook session ID.

*/ inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } /** *

The notebook session ID.

*/ inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } /** *

The notebook session ID.

*/ inline NotebookSessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *

The notebook session ID.

*/ inline NotebookSessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} /** *

The notebook session ID.

*/ inline NotebookSessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} /** *

The time when the notebook session was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time when the notebook session was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time when the notebook session was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time when the notebook session was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time when the notebook session was created.

*/ inline NotebookSessionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time when the notebook session was created.

*/ inline NotebookSessionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws