AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTranscriptResult.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connectparticipant/model/Item.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ConnectParticipant
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECTPARTICIPANT_API GetTranscriptResult();
35
36
38
41 inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; }
42 inline void SetInitialContactId(const Aws::String& value) { m_initialContactId = value; }
43 inline void SetInitialContactId(Aws::String&& value) { m_initialContactId = std::move(value); }
44 inline void SetInitialContactId(const char* value) { m_initialContactId.assign(value); }
45 inline GetTranscriptResult& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;}
46 inline GetTranscriptResult& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;}
47 inline GetTranscriptResult& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;}
49
51
54 inline const Aws::Vector<Item>& GetTranscript() const{ return m_transcript; }
55 inline void SetTranscript(const Aws::Vector<Item>& value) { m_transcript = value; }
56 inline void SetTranscript(Aws::Vector<Item>&& value) { m_transcript = std::move(value); }
57 inline GetTranscriptResult& WithTranscript(const Aws::Vector<Item>& value) { SetTranscript(value); return *this;}
58 inline GetTranscriptResult& WithTranscript(Aws::Vector<Item>&& value) { SetTranscript(std::move(value)); return *this;}
59 inline GetTranscriptResult& AddTranscript(const Item& value) { m_transcript.push_back(value); return *this; }
60 inline GetTranscriptResult& AddTranscript(Item&& value) { m_transcript.push_back(std::move(value)); return *this; }
62
64
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
70 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
71 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
72 inline GetTranscriptResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 inline GetTranscriptResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
74 inline GetTranscriptResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline GetTranscriptResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline GetTranscriptResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline GetTranscriptResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_initialContactId;
90
91 Aws::Vector<Item> m_transcript;
92
93 Aws::String m_nextToken;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace ConnectParticipant
100} // namespace Aws
const Aws::Vector< Item > & GetTranscript() const
GetTranscriptResult & WithInitialContactId(Aws::String &&value)
GetTranscriptResult & WithNextToken(const char *value)
GetTranscriptResult & WithRequestId(const char *value)
GetTranscriptResult & WithInitialContactId(const Aws::String &value)
GetTranscriptResult & WithRequestId(Aws::String &&value)
AWS_CONNECTPARTICIPANT_API GetTranscriptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTranscriptResult & AddTranscript(const Item &value)
void SetTranscript(const Aws::Vector< Item > &value)
GetTranscriptResult & WithNextToken(const Aws::String &value)
GetTranscriptResult & WithRequestId(const Aws::String &value)
GetTranscriptResult & WithTranscript(const Aws::Vector< Item > &value)
GetTranscriptResult & WithTranscript(Aws::Vector< Item > &&value)
AWS_CONNECTPARTICIPANT_API GetTranscriptResult()
GetTranscriptResult & WithNextToken(Aws::String &&value)
GetTranscriptResult & AddTranscript(Item &&value)
AWS_CONNECTPARTICIPANT_API GetTranscriptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTranscriptResult & WithInitialContactId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue