/** * 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 ChimeSDKMeetings { namespace Model { /** *

The Amazon Chime SDK attendee fields to create, used with the * BatchCreateAttendee action.

See Also:

AWS * API Reference

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

The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ inline CreateAttendeeRequestItem& 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ inline CreateAttendeeRequestItem& 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.

Pattern: * [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*

Values that * begin with aws: are reserved. You can't configure a value that uses * this prefix. Case insensitive.

*/ inline CreateAttendeeRequestItem& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;} /** *

A list of one or more capabilities.

*/ inline const AttendeeCapabilities& GetCapabilities() const{ return m_capabilities; } /** *

A list of one or more capabilities.

*/ inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } /** *

A list of one or more capabilities.

*/ inline void SetCapabilities(const AttendeeCapabilities& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; } /** *

A list of one or more capabilities.

*/ inline void SetCapabilities(AttendeeCapabilities&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); } /** *

A list of one or more capabilities.

*/ inline CreateAttendeeRequestItem& WithCapabilities(const AttendeeCapabilities& value) { SetCapabilities(value); return *this;} /** *

A list of one or more capabilities.

*/ inline CreateAttendeeRequestItem& WithCapabilities(AttendeeCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} private: Aws::String m_externalUserId; bool m_externalUserIdHasBeenSet = false; AttendeeCapabilities m_capabilities; bool m_capabilitiesHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMeetings } // namespace Aws