/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConnectParticipant { namespace Model { class AWS_CONNECTPARTICIPANT_API GetTranscriptResult { public: GetTranscriptResult(); GetTranscriptResult(const Aws::AmazonWebServiceResult& result); GetTranscriptResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The initial contact ID for the contact.

*/ inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; } /** *

The initial contact ID for the contact.

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

The initial contact ID for the contact.

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

The initial contact ID for the contact.

*/ inline void SetInitialContactId(const char* value) { m_initialContactId.assign(value); } /** *

The initial contact ID for the contact.

*/ inline GetTranscriptResult& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;} /** *

The initial contact ID for the contact.

*/ inline GetTranscriptResult& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;} /** *

The initial contact ID for the contact.

*/ inline GetTranscriptResult& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;} /** *

The list of messages in the session.

*/ inline const Aws::Vector& GetTranscript() const{ return m_transcript; } /** *

The list of messages in the session.

*/ inline void SetTranscript(const Aws::Vector& value) { m_transcript = value; } /** *

The list of messages in the session.

*/ inline void SetTranscript(Aws::Vector&& value) { m_transcript = std::move(value); } /** *

The list of messages in the session.

*/ inline GetTranscriptResult& WithTranscript(const Aws::Vector& value) { SetTranscript(value); return *this;} /** *

The list of messages in the session.

*/ inline GetTranscriptResult& WithTranscript(Aws::Vector&& value) { SetTranscript(std::move(value)); return *this;} /** *

The list of messages in the session.

*/ inline GetTranscriptResult& AddTranscript(const Item& value) { m_transcript.push_back(value); return *this; } /** *

The list of messages in the session.

*/ inline GetTranscriptResult& AddTranscript(Item&& value) { m_transcript.push_back(std::move(value)); return *this; } /** *

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

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

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

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

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

*/ inline GetTranscriptResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

*/ inline GetTranscriptResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token. Use the value returned previously in the next * subsequent request to retrieve the next set of results.

*/ inline GetTranscriptResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_initialContactId; Aws::Vector m_transcript; Aws::String m_nextToken; }; } // namespace Model } // namespace ConnectParticipant } // namespace Aws