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

The customer's details.

See Also:

AWS * API Reference

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

Display name of the participant.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

Display name of the participant.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

Display name of the participant.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

Display name of the participant.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

Display name of the participant.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

Display name of the participant.

*/ inline ParticipantDetails& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

Display name of the participant.

*/ inline ParticipantDetails& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

Display name of the participant.

*/ inline ParticipantDetails& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} private: Aws::String m_displayName; bool m_displayNameHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws