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

A new studio user's membership.

See Also:

AWS * API Reference

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

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