/** * 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 member that is added to a launch profile.

See Also:

AWS * API Reference

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

The persona.

*/ inline const LaunchProfilePersona& GetPersona() const{ return m_persona; } /** *

The persona.

*/ inline bool PersonaHasBeenSet() const { return m_personaHasBeenSet; } /** *

The persona.

*/ inline void SetPersona(const LaunchProfilePersona& value) { m_personaHasBeenSet = true; m_persona = value; } /** *

The persona.

*/ inline void SetPersona(LaunchProfilePersona&& value) { m_personaHasBeenSet = true; m_persona = std::move(value); } /** *

The persona.

*/ inline NewLaunchProfileMember& WithPersona(const LaunchProfilePersona& value) { SetPersona(value); return *this;} /** *

The persona.

*/ inline NewLaunchProfileMember& WithPersona(LaunchProfilePersona&& 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 NewLaunchProfileMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} /** *

The principal ID.

*/ inline NewLaunchProfileMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} /** *

The principal ID.

*/ inline NewLaunchProfileMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} private: LaunchProfilePersona m_persona; bool m_personaHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws