/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A studio member is an association of a user from your studio identity source
* to elevated permissions that they are granted in the studio. When you add
* a user to your studio using the Nimble Studio console, they are given access to
* the studio's IAM Identity Center application and are given access to log in to
* the Nimble Studio portal. These users have the permissions provided by the
* studio's user IAM role and do not appear in the studio membership collection.
* Only studio admins appear in studio membership. When you add a user to
* studio membership with the ADMIN persona, upon logging in to the Nimble Studio
* portal, they are granted permissions specified by the Studio's Admin IAM
* role.See Also:
AWS
* API Reference
The ID of the identity store.
*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *The ID of the identity store.
*/ inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** *The ID of the identity store.
*/ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } /** *The ID of the identity store.
*/ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } /** *The ID of the identity store.
*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } /** *The ID of the identity store.
*/ inline StudioMembership& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *The ID of the identity store.
*/ inline StudioMembership& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *The ID of the identity store.
*/ inline StudioMembership& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} /** *The persona.
*/ inline const StudioPersona& GetPersona() const{ return m_persona; } /** *The persona.
*/ inline bool PersonaHasBeenSet() const { return m_personaHasBeenSet; } /** *The persona.
*/ inline void SetPersona(const StudioPersona& value) { m_personaHasBeenSet = true; m_persona = value; } /** *The persona.
*/ inline void SetPersona(StudioPersona&& value) { m_personaHasBeenSet = true; m_persona = std::move(value); } /** *The persona.
*/ inline StudioMembership& WithPersona(const StudioPersona& value) { SetPersona(value); return *this;} /** *The persona.
*/ inline StudioMembership& WithPersona(StudioPersona&& value) { SetPersona(std::move(value)); return *this;} /** *The principal ID.
*/ inline const Aws::String& GetPrincipalId() const{ return m_principalId; } /** *The principal ID.
*/ inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } /** *The principal ID.
*/ inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } /** *The principal ID.
*/ inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } /** *The principal ID.
*/ inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } /** *The principal ID.
*/ inline StudioMembership& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} /** *The principal ID.
*/ inline StudioMembership& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} /** *The principal ID.
*/ inline StudioMembership& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} /** *The Active Directory Security Identifier for this user, if available.
*/ inline const Aws::String& GetSid() const{ return m_sid; } /** *The Active Directory Security Identifier for this user, if available.
*/ inline bool SidHasBeenSet() const { return m_sidHasBeenSet; } /** *The Active Directory Security Identifier for this user, if available.
*/ inline void SetSid(const Aws::String& value) { m_sidHasBeenSet = true; m_sid = value; } /** *The Active Directory Security Identifier for this user, if available.
*/ inline void SetSid(Aws::String&& value) { m_sidHasBeenSet = true; m_sid = std::move(value); } /** *The Active Directory Security Identifier for this user, if available.
*/ inline void SetSid(const char* value) { m_sidHasBeenSet = true; m_sid.assign(value); } /** *The Active Directory Security Identifier for this user, if available.
*/ inline StudioMembership& WithSid(const Aws::String& value) { SetSid(value); return *this;} /** *The Active Directory Security Identifier for this user, if available.
*/ inline StudioMembership& WithSid(Aws::String&& value) { SetSid(std::move(value)); return *this;} /** *The Active Directory Security Identifier for this user, if available.
*/ inline StudioMembership& WithSid(const char* value) { SetSid(value); return *this;} private: Aws::String m_identityStoreId; bool m_identityStoreIdHasBeenSet = false; StudioPersona m_persona; bool m_personaHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; Aws::String m_sid; bool m_sidHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws