/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/chime/Chime_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/chime/model/Tag.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** * <p>The Amazon Chime SDK attendee fields to create, used with the * BatchCreateAttendee action.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendeeRequestItem">AWS * API Reference</a></p> */ class CreateAttendeeRequestItem { public: AWS_CHIME_API CreateAttendeeRequestItem(); AWS_CHIME_API CreateAttendeeRequestItem(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API CreateAttendeeRequestItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; } /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; } /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; } /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); } /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); } /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline CreateAttendeeRequestItem& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;} /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline CreateAttendeeRequestItem& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;} /** * <p>The Amazon Chime SDK external user ID. An idempotency token. Links the * attendee to an identity managed by a builder application.</p> */ inline CreateAttendeeRequestItem& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;} /** * <p>The tag key-value pairs.</p> */ inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; } /** * <p>The tag key-value pairs.</p> */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** * <p>The tag key-value pairs.</p> */ inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } /** * <p>The tag key-value pairs.</p> */ inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** * <p>The tag key-value pairs.</p> */ inline CreateAttendeeRequestItem& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;} /** * <p>The tag key-value pairs.</p> */ inline CreateAttendeeRequestItem& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;} /** * <p>The tag key-value pairs.</p> */ inline CreateAttendeeRequestItem& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** * <p>The tag key-value pairs.</p> */ 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 = false; Aws::Vector<Tag> m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws