AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetTranscriptRequest.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipantRequest.h>
8#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
9#include <aws/connectparticipant/model/ScanDirection.h>
10#include <aws/connectparticipant/model/SortKey.h>
11#include <aws/connectparticipant/model/StartPosition.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ConnectParticipant {
18namespace Model {
19
23 public:
24 AWS_CONNECTPARTICIPANT_API GetTranscriptRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetTranscript"; }
31
32 AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override;
33
34 AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
41 inline const Aws::String& GetContactId() const { return m_contactId; }
42 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
43 template <typename ContactIdT = Aws::String>
44 void SetContactId(ContactIdT&& value) {
45 m_contactIdHasBeenSet = true;
46 m_contactId = std::forward<ContactIdT>(value);
47 }
48 template <typename ContactIdT = Aws::String>
49 GetTranscriptRequest& WithContactId(ContactIdT&& value) {
50 SetContactId(std::forward<ContactIdT>(value));
51 return *this;
52 }
54
56
59 inline int GetMaxResults() const { return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) {
62 m_maxResultsHasBeenSet = true;
63 m_maxResults = value;
64 }
66 SetMaxResults(value);
67 return *this;
68 }
70
72
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
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 GetTranscriptRequest& WithNextToken(NextTokenT&& value) {
85 SetNextToken(std::forward<NextTokenT>(value));
86 return *this;
87 }
89
91
95 inline ScanDirection GetScanDirection() const { return m_scanDirection; }
96 inline bool ScanDirectionHasBeenSet() const { return m_scanDirectionHasBeenSet; }
97 inline void SetScanDirection(ScanDirection value) {
98 m_scanDirectionHasBeenSet = true;
99 m_scanDirection = value;
100 }
102 SetScanDirection(value);
103 return *this;
104 }
106
108
111 inline SortKey GetSortOrder() const { return m_sortOrder; }
112 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
113 inline void SetSortOrder(SortKey value) {
114 m_sortOrderHasBeenSet = true;
115 m_sortOrder = value;
116 }
118 SetSortOrder(value);
119 return *this;
120 }
122
124
127 inline const StartPosition& GetStartPosition() const { return m_startPosition; }
128 inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; }
129 template <typename StartPositionT = StartPosition>
130 void SetStartPosition(StartPositionT&& value) {
131 m_startPositionHasBeenSet = true;
132 m_startPosition = std::forward<StartPositionT>(value);
133 }
134 template <typename StartPositionT = StartPosition>
135 GetTranscriptRequest& WithStartPosition(StartPositionT&& value) {
136 SetStartPosition(std::forward<StartPositionT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetConnectionToken() const { return m_connectionToken; }
146 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
147 template <typename ConnectionTokenT = Aws::String>
148 void SetConnectionToken(ConnectionTokenT&& value) {
149 m_connectionTokenHasBeenSet = true;
150 m_connectionToken = std::forward<ConnectionTokenT>(value);
151 }
152 template <typename ConnectionTokenT = Aws::String>
153 GetTranscriptRequest& WithConnectionToken(ConnectionTokenT&& value) {
154 SetConnectionToken(std::forward<ConnectionTokenT>(value));
155 return *this;
156 }
158 private:
159 Aws::String m_contactId;
160
161 int m_maxResults{0};
162
163 Aws::String m_nextToken;
164
165 ScanDirection m_scanDirection{ScanDirection::NOT_SET};
166
167 SortKey m_sortOrder{SortKey::NOT_SET};
168
169 StartPosition m_startPosition;
170
171 Aws::String m_connectionToken;
172 bool m_contactIdHasBeenSet = false;
173 bool m_maxResultsHasBeenSet = false;
174 bool m_nextTokenHasBeenSet = false;
175 bool m_scanDirectionHasBeenSet = false;
176 bool m_sortOrderHasBeenSet = false;
177 bool m_startPositionHasBeenSet = false;
178 bool m_connectionTokenHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace ConnectParticipant
183} // namespace Aws
GetTranscriptRequest & WithNextToken(NextTokenT &&value)
GetTranscriptRequest & WithScanDirection(ScanDirection value)
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONNECTPARTICIPANT_API GetTranscriptRequest()=default
GetTranscriptRequest & WithContactId(ContactIdT &&value)
GetTranscriptRequest & WithStartPosition(StartPositionT &&value)
GetTranscriptRequest & WithSortOrder(SortKey value)
virtual const char * GetServiceRequestName() const override
GetTranscriptRequest & WithConnectionToken(ConnectionTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String