/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details to add for the participant.See Also:
AWS
* API Reference
The role of the participant being added.
*/ inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; } /** *The role of the participant being added.
*/ inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; } /** *The role of the participant being added.
*/ inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; } /** *The role of the participant being added.
*/ inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); } /** *The role of the participant being added.
*/ inline ParticipantDetailsToAdd& WithParticipantRole(const ParticipantRole& value) { SetParticipantRole(value); return *this;} /** *The role of the participant being added.
*/ inline ParticipantDetailsToAdd& WithParticipantRole(ParticipantRole&& value) { SetParticipantRole(std::move(value)); return *this;} /** *The display name of the participant.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The display name of the participant.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The display name of the participant.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The display name of the participant.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The display name of the participant.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The display name of the participant.
*/ inline ParticipantDetailsToAdd& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The display name of the participant.
*/ inline ParticipantDetailsToAdd& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The display name of the participant.
*/ inline ParticipantDetailsToAdd& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} private: ParticipantRole m_participantRole; bool m_participantRoleHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws