/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details for an Amazon EMR Studio session mapping. The details do not include
* the time the session mapping was last modified.See Also:
AWS
* API Reference
The ID of the Amazon EMR Studio.
*/ inline const Aws::String& GetStudioId() const{ return m_studioId; } /** *The ID of the Amazon EMR Studio.
*/ inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; } /** *The ID of the Amazon EMR Studio.
*/ inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; } /** *The ID of the Amazon EMR Studio.
*/ inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); } /** *The ID of the Amazon EMR Studio.
*/ inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); } /** *The ID of the Amazon EMR Studio.
*/ inline SessionMappingSummary& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *The ID of the Amazon EMR Studio.
*/ inline SessionMappingSummary& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} /** *The ID of the Amazon EMR Studio.
*/ inline SessionMappingSummary& WithStudioId(const char* value) { SetStudioId(value); return *this;} /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline const Aws::String& GetIdentityId() const{ return m_identityId; } /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; } /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; } /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); } /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); } /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline SessionMappingSummary& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;} /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline SessionMappingSummary& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;} /** *The globally unique identifier (GUID) of the user or group from the IAM * Identity Center Identity Store.
*/ inline SessionMappingSummary& WithIdentityId(const char* value) { SetIdentityId(value); return *this;} /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline const Aws::String& GetIdentityName() const{ return m_identityName; } /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; } /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; } /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); } /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); } /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline SessionMappingSummary& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;} /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline SessionMappingSummary& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;} /** *The name of the user or group. For more information, see UserName * and DisplayName * in the IAM Identity Center Identity Store API Reference.
*/ inline SessionMappingSummary& WithIdentityName(const char* value) { SetIdentityName(value); return *this;} /** *Specifies whether the identity mapped to the Amazon EMR Studio is a user or a * group.
*/ inline const IdentityType& GetIdentityType() const{ return m_identityType; } /** *Specifies whether the identity mapped to the Amazon EMR Studio is a user or a * group.
*/ inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; } /** *Specifies whether the identity mapped to the Amazon EMR Studio is a user or a * group.
*/ inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; } /** *Specifies whether the identity mapped to the Amazon EMR Studio is a user or a * group.
*/ inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); } /** *Specifies whether the identity mapped to the Amazon EMR Studio is a user or a * group.
*/ inline SessionMappingSummary& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;} /** *Specifies whether the identity mapped to the Amazon EMR Studio is a user or a * group.
*/ inline SessionMappingSummary& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; } /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; } /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); } /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline SessionMappingSummary& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline SessionMappingSummary& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the session policy associated with the user * or group.
*/ inline SessionMappingSummary& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;} /** *The time the session mapping was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time the session mapping was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time the session mapping was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time the session mapping was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time the session mapping was created.
*/ inline SessionMappingSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time the session mapping was created.
*/ inline SessionMappingSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_studioId; bool m_studioIdHasBeenSet = false; Aws::String m_identityId; bool m_identityIdHasBeenSet = false; Aws::String m_identityName; bool m_identityNameHasBeenSet = false; IdentityType m_identityType; bool m_identityTypeHasBeenSet = false; Aws::String m_sessionPolicyArn; bool m_sessionPolicyArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws