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

Summary information about the session.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; } /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; } /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline SessionSummary& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline SessionSummary& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Wisdom assistant.

*/ inline SessionSummary& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;} /** *

The identifier of the Wisdom assistant.

*/ inline const Aws::String& GetAssistantId() const{ return m_assistantId; } /** *

The identifier of the Wisdom assistant.

*/ inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; } /** *

The identifier of the Wisdom assistant.

*/ inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; } /** *

The identifier of the Wisdom assistant.

*/ inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); } /** *

The identifier of the Wisdom assistant.

*/ inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); } /** *

The identifier of the Wisdom assistant.

*/ inline SessionSummary& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;} /** *

The identifier of the Wisdom assistant.

*/ inline SessionSummary& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;} /** *

The identifier of the Wisdom assistant.

*/ inline SessionSummary& WithAssistantId(const char* value) { SetAssistantId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the session.

*/ inline const Aws::String& GetSessionArn() const{ return m_sessionArn; } /** *

The Amazon Resource Name (ARN) of the session.

*/ inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the session.

*/ inline void SetSessionArn(const Aws::String& value) { m_sessionArnHasBeenSet = true; m_sessionArn = value; } /** *

The Amazon Resource Name (ARN) of the session.

*/ inline void SetSessionArn(Aws::String&& value) { m_sessionArnHasBeenSet = true; m_sessionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the session.

*/ inline void SetSessionArn(const char* value) { m_sessionArnHasBeenSet = true; m_sessionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the session.

*/ inline SessionSummary& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the session.

*/ inline SessionSummary& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the session.

*/ inline SessionSummary& WithSessionArn(const char* value) { SetSessionArn(value); return *this;} /** *

The identifier of the session.

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

The identifier of the session.

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

The identifier of the session.

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

The identifier of the session.

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

The identifier of the session.

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

The identifier of the session.

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

The identifier of the session.

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

The identifier of the session.

*/ inline SessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} private: Aws::String m_assistantArn; bool m_assistantArnHasBeenSet = false; Aws::String m_assistantId; bool m_assistantIdHasBeenSet = false; Aws::String m_sessionArn; bool m_sessionArnHasBeenSet = false; Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws