/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Connect { namespace Model { class TransferContactResult { public: AWS_CONNECT_API TransferContactResult(); AWS_CONNECT_API TransferContactResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECT_API TransferContactResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline void SetContactId(const Aws::String& value) { m_contactId = value; } /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline void SetContactId(Aws::String&& value) { m_contactId = std::move(value); } /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline void SetContactId(const char* value) { m_contactId.assign(value); } /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline TransferContactResult& WithContactId(const Aws::String& value) { SetContactId(value); return *this;} /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline TransferContactResult& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;} /** *

The identifier of the contact in this instance of Amazon Connect.

*/ inline TransferContactResult& WithContactId(const char* value) { SetContactId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline const Aws::String& GetContactArn() const{ return m_contactArn; } /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline void SetContactArn(const Aws::String& value) { m_contactArn = value; } /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline void SetContactArn(const char* value) { m_contactArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline TransferContactResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline TransferContactResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the contact.

*/ inline TransferContactResult& WithContactArn(const char* value) { SetContactArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline TransferContactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline TransferContactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline TransferContactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_contactId; Aws::String m_contactArn; Aws::String m_requestId; }; } // namespace Model } // namespace Connect } // namespace Aws