AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
42 template<typename InitialContactIdT = Aws::String>
43 void SetInitialContactId(InitialContactIdT&& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = std::forward<InitialContactIdT>(value); }
44 template<typename InitialContactIdT = Aws::String>
45 GetTranscriptResult& WithInitialContactId(InitialContactIdT&& value) { SetInitialContactId(std::forward<InitialContactIdT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Item>& GetTranscript() const { return m_transcript; }
53 template<typename TranscriptT = Aws::Vector<Item>>
54 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript = std::forward<TranscriptT>(value); }
55 template<typename TranscriptT = Aws::Vector<Item>>
56 GetTranscriptResult& WithTranscript(TranscriptT&& value) { SetTranscript(std::forward<TranscriptT>(value)); return *this;}
57 template<typename TranscriptT = Item>
58 GetTranscriptResult& AddTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript.emplace_back(std::forward<TranscriptT>(value)); return *this; }
60
62
66 inline const Aws::String& GetNextToken() const { return m_nextToken; }
67 template<typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
69 template<typename NextTokenT = Aws::String>
70 GetTranscriptResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 GetTranscriptResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_initialContactId;
84 bool m_initialContactIdHasBeenSet = false;
85
86 Aws::Vector<Item> m_transcript;
87 bool m_transcriptHasBeenSet = false;
88
89 Aws::String m_nextToken;
90 bool m_nextTokenHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ConnectParticipant
98} // namespace Aws
const Aws::Vector< Item > & GetTranscript() const
AWS_CONNECTPARTICIPANT_API GetTranscriptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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