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

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

See Also:

AWS * API Reference

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

The Amazon Chime SDK external user ID. 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. 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. 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. 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. 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. Links the attendee to an identity * managed by a builder application.

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

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

*/ inline CreateAttendeeRequestItem& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;} /** *

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

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

The tag key-value pairs.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tag key-value pairs.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tag key-value pairs.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tag key-value pairs.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tag key-value pairs.

*/ inline CreateAttendeeRequestItem& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tag key-value pairs.

*/ inline CreateAttendeeRequestItem& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tag key-value pairs.

*/ inline CreateAttendeeRequestItem& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tag key-value pairs.

*/ inline CreateAttendeeRequestItem& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_externalUserId; bool m_externalUserIdHasBeenSet; Aws::Vector m_tags; bool m_tagsHasBeenSet; }; } // namespace Model } // namespace Chime } // namespace Aws