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

Information about the session.

See Also:

AWS * API Reference

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

The description of the session.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the session.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the session.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the session.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the session.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the session.

*/ inline SessionData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the session.

*/ inline SessionData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the session.

*/ inline SessionData& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The configuration information for the session integration.

*/ inline const SessionIntegrationConfiguration& GetIntegrationConfiguration() const{ return m_integrationConfiguration; } /** *

The configuration information for the session integration.

*/ inline bool IntegrationConfigurationHasBeenSet() const { return m_integrationConfigurationHasBeenSet; } /** *

The configuration information for the session integration.

*/ inline void SetIntegrationConfiguration(const SessionIntegrationConfiguration& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = value; } /** *

The configuration information for the session integration.

*/ inline void SetIntegrationConfiguration(SessionIntegrationConfiguration&& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = std::move(value); } /** *

The configuration information for the session integration.

*/ inline SessionData& WithIntegrationConfiguration(const SessionIntegrationConfiguration& value) { SetIntegrationConfiguration(value); return *this;} /** *

The configuration information for the session integration.

*/ inline SessionData& WithIntegrationConfiguration(SessionIntegrationConfiguration&& value) { SetIntegrationConfiguration(std::move(value)); return *this;} /** *

The name of the session.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the session.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the session.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the session.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the session.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the session.

*/ inline SessionData& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the session.

*/ inline SessionData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the session.

*/ inline SessionData& WithName(const char* value) { SetName(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 SessionData& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the session.

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

The Amazon Resource Name (ARN) of the session.

*/ inline SessionData& 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 SessionData& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *

The identifier of the session.

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

The identifier of the session.

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

The tags used to organize, track, or control access for this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline SessionData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; SessionIntegrationConfiguration m_integrationConfiguration; bool m_integrationConfigurationHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_sessionArn; bool m_sessionArnHasBeenSet = false; Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws