/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The list of errors returned when errors are encountered during the
* BatchCreateAttendee and CreateAttendee actions. This includes external user IDs,
* error codes, and error messages.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 CreateAttendeeError& 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 CreateAttendeeError& 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 CreateAttendeeError& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;} /** *The error code.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code.
*/ inline CreateAttendeeError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code.
*/ inline CreateAttendeeError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code.
*/ inline CreateAttendeeError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The error message.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message.
*/ inline CreateAttendeeError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message.
*/ inline CreateAttendeeError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message.
*/ inline CreateAttendeeError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_externalUserId; bool m_externalUserIdHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws