/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A new studio user's membership.See Also:
AWS
* API Reference
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 NewStudioMember& WithPersona(const StudioPersona& value) { SetPersona(value); return *this;} /** *The persona.
*/ inline NewStudioMember& 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 NewStudioMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} /** *The principal ID.
*/ inline NewStudioMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} /** *The principal ID.
*/ inline NewStudioMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} private: StudioPersona m_persona; bool m_personaHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws