/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Amazon Chime SDK meeting attendee. Includes a unique
* We recommend securely transferring each AttendeeId
and JoinToken
. The JoinToken
* allows a client to authenticate and join as the specified attendee. The
* JoinToken
expires when the meeting ends or when
* DeleteAttendee is called. After that, the attendee is unable to join the
* meeting. JoinToken
* from your server application to the client so that no other client has access to
* the token except for the one authorized to represent the attendee.See
* Also:
AWS API
* Reference
The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; } /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; } /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; } /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); } /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); } /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline Attendee& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;} /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline Attendee& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;} /** *The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.
*/ inline Attendee& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;} /** *The Amazon Chime SDK attendee ID.
*/ inline const Aws::String& GetAttendeeId() const{ return m_attendeeId; } /** *The Amazon Chime SDK attendee ID.
*/ inline bool AttendeeIdHasBeenSet() const { return m_attendeeIdHasBeenSet; } /** *The Amazon Chime SDK attendee ID.
*/ inline void SetAttendeeId(const Aws::String& value) { m_attendeeIdHasBeenSet = true; m_attendeeId = value; } /** *The Amazon Chime SDK attendee ID.
*/ inline void SetAttendeeId(Aws::String&& value) { m_attendeeIdHasBeenSet = true; m_attendeeId = std::move(value); } /** *The Amazon Chime SDK attendee ID.
*/ inline void SetAttendeeId(const char* value) { m_attendeeIdHasBeenSet = true; m_attendeeId.assign(value); } /** *The Amazon Chime SDK attendee ID.
*/ inline Attendee& WithAttendeeId(const Aws::String& value) { SetAttendeeId(value); return *this;} /** *The Amazon Chime SDK attendee ID.
*/ inline Attendee& WithAttendeeId(Aws::String&& value) { SetAttendeeId(std::move(value)); return *this;} /** *The Amazon Chime SDK attendee ID.
*/ inline Attendee& WithAttendeeId(const char* value) { SetAttendeeId(value); return *this;} /** *The join token used by the Amazon Chime SDK attendee.
*/ inline const Aws::String& GetJoinToken() const{ return m_joinToken; } /** *The join token used by the Amazon Chime SDK attendee.
*/ inline bool JoinTokenHasBeenSet() const { return m_joinTokenHasBeenSet; } /** *The join token used by the Amazon Chime SDK attendee.
*/ inline void SetJoinToken(const Aws::String& value) { m_joinTokenHasBeenSet = true; m_joinToken = value; } /** *The join token used by the Amazon Chime SDK attendee.
*/ inline void SetJoinToken(Aws::String&& value) { m_joinTokenHasBeenSet = true; m_joinToken = std::move(value); } /** *The join token used by the Amazon Chime SDK attendee.
*/ inline void SetJoinToken(const char* value) { m_joinTokenHasBeenSet = true; m_joinToken.assign(value); } /** *The join token used by the Amazon Chime SDK attendee.
*/ inline Attendee& WithJoinToken(const Aws::String& value) { SetJoinToken(value); return *this;} /** *The join token used by the Amazon Chime SDK attendee.
*/ inline Attendee& WithJoinToken(Aws::String&& value) { SetJoinToken(std::move(value)); return *this;} /** *The join token used by the Amazon Chime SDK attendee.
*/ inline Attendee& WithJoinToken(const char* value) { SetJoinToken(value); return *this;} private: Aws::String m_externalUserId; bool m_externalUserIdHasBeenSet = false; Aws::String m_attendeeId; bool m_attendeeIdHasBeenSet = false; Aws::String m_joinToken; bool m_joinTokenHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws