AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetTranscriptResult.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/model/Item.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ConnectParticipant {
25namespace Model {
27 public:
28 AWS_CONNECTPARTICIPANT_API GetTranscriptResult() = default;
31
33
36 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
37 template <typename InitialContactIdT = Aws::String>
38 void SetInitialContactId(InitialContactIdT&& value) {
39 m_initialContactIdHasBeenSet = true;
40 m_initialContactId = std::forward<InitialContactIdT>(value);
41 }
42 template <typename InitialContactIdT = Aws::String>
43 GetTranscriptResult& WithInitialContactId(InitialContactIdT&& value) {
44 SetInitialContactId(std::forward<InitialContactIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Vector<Item>& GetTranscript() const { return m_transcript; }
54 template <typename TranscriptT = Aws::Vector<Item>>
55 void SetTranscript(TranscriptT&& value) {
56 m_transcriptHasBeenSet = true;
57 m_transcript = std::forward<TranscriptT>(value);
58 }
59 template <typename TranscriptT = Aws::Vector<Item>>
60 GetTranscriptResult& WithTranscript(TranscriptT&& value) {
61 SetTranscript(std::forward<TranscriptT>(value));
62 return *this;
63 }
64 template <typename TranscriptT = Item>
65 GetTranscriptResult& AddTranscript(TranscriptT&& value) {
66 m_transcriptHasBeenSet = true;
67 m_transcript.emplace_back(std::forward<TranscriptT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 template <typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) {
80 m_nextTokenHasBeenSet = true;
81 m_nextToken = std::forward<NextTokenT>(value);
82 }
83 template <typename NextTokenT = Aws::String>
84 GetTranscriptResult& WithNextToken(NextTokenT&& value) {
85 SetNextToken(std::forward<NextTokenT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
99 GetTranscriptResult& WithRequestId(RequestIdT&& value) {
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::String m_initialContactId;
108
109 Aws::Vector<Item> m_transcript;
110
111 Aws::String m_nextToken;
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_initialContactIdHasBeenSet = false;
116 bool m_transcriptHasBeenSet = false;
117 bool m_nextTokenHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace ConnectParticipant
123} // namespace Aws
const Aws::Vector< Item > & GetTranscript() const
AWS_CONNECTPARTICIPANT_API GetTranscriptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CONNECTPARTICIPANT_API GetTranscriptResult()=default
GetTranscriptResult & WithTranscript(TranscriptT &&value)
GetTranscriptResult & WithInitialContactId(InitialContactIdT &&value)
GetTranscriptResult & AddTranscript(TranscriptT &&value)
AWS_CONNECTPARTICIPANT_API GetTranscriptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTranscriptResult & WithNextToken(NextTokenT &&value)
GetTranscriptResult & WithRequestId(RequestIdT &&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