/** * 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 StartOutboundVoiceContactResult { public: AWS_CONNECT_API StartOutboundVoiceContactResult(); AWS_CONNECT_API StartOutboundVoiceContactResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECT_API StartOutboundVoiceContactResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of this contact within the Amazon Connect instance.

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

The identifier of this contact within the Amazon Connect instance.

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

The identifier of this contact within the Amazon Connect instance.

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

The identifier of this contact within the Amazon Connect instance.

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

The identifier of this contact within the Amazon Connect instance.

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

The identifier of this contact within the Amazon Connect instance.

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

The identifier of this contact within the Amazon Connect instance.

*/ inline StartOutboundVoiceContactResult& WithContactId(const char* value) { SetContactId(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 StartOutboundVoiceContactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartOutboundVoiceContactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartOutboundVoiceContactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_contactId; Aws::String m_requestId; }; } // namespace Model } // namespace Connect } // namespace Aws