AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTranscriptRequest.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/ConnectParticipantRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectparticipant/model/ScanDirection.h>
11#include <aws/connectparticipant/model/SortKey.h>
12#include <aws/connectparticipant/model/StartPosition.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ConnectParticipant
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONNECTPARTICIPANT_API GetTranscriptRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetTranscript"; }
34
35 AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override;
36
37 AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
45 inline const Aws::String& GetContactId() const{ return m_contactId; }
46 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
47 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
48 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
49 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
50 inline GetTranscriptRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
51 inline GetTranscriptRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
52 inline GetTranscriptRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
54
56
59 inline int GetMaxResults() const{ return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline GetTranscriptRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 inline GetTranscriptRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline GetTranscriptRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline GetTranscriptRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
85 inline const ScanDirection& GetScanDirection() const{ return m_scanDirection; }
86 inline bool ScanDirectionHasBeenSet() const { return m_scanDirectionHasBeenSet; }
87 inline void SetScanDirection(const ScanDirection& value) { m_scanDirectionHasBeenSet = true; m_scanDirection = value; }
88 inline void SetScanDirection(ScanDirection&& value) { m_scanDirectionHasBeenSet = true; m_scanDirection = std::move(value); }
89 inline GetTranscriptRequest& WithScanDirection(const ScanDirection& value) { SetScanDirection(value); return *this;}
90 inline GetTranscriptRequest& WithScanDirection(ScanDirection&& value) { SetScanDirection(std::move(value)); return *this;}
92
94
97 inline const SortKey& GetSortOrder() const{ return m_sortOrder; }
98 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
99 inline void SetSortOrder(const SortKey& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
100 inline void SetSortOrder(SortKey&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
101 inline GetTranscriptRequest& WithSortOrder(const SortKey& value) { SetSortOrder(value); return *this;}
102 inline GetTranscriptRequest& WithSortOrder(SortKey&& value) { SetSortOrder(std::move(value)); return *this;}
104
106
109 inline const StartPosition& GetStartPosition() const{ return m_startPosition; }
110 inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; }
111 inline void SetStartPosition(const StartPosition& value) { m_startPositionHasBeenSet = true; m_startPosition = value; }
112 inline void SetStartPosition(StartPosition&& value) { m_startPositionHasBeenSet = true; m_startPosition = std::move(value); }
113 inline GetTranscriptRequest& WithStartPosition(const StartPosition& value) { SetStartPosition(value); return *this;}
114 inline GetTranscriptRequest& WithStartPosition(StartPosition&& value) { SetStartPosition(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetConnectionToken() const{ return m_connectionToken; }
122 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
123 inline void SetConnectionToken(const Aws::String& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = value; }
124 inline void SetConnectionToken(Aws::String&& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = std::move(value); }
125 inline void SetConnectionToken(const char* value) { m_connectionTokenHasBeenSet = true; m_connectionToken.assign(value); }
126 inline GetTranscriptRequest& WithConnectionToken(const Aws::String& value) { SetConnectionToken(value); return *this;}
127 inline GetTranscriptRequest& WithConnectionToken(Aws::String&& value) { SetConnectionToken(std::move(value)); return *this;}
128 inline GetTranscriptRequest& WithConnectionToken(const char* value) { SetConnectionToken(value); return *this;}
130 private:
131
132 Aws::String m_contactId;
133 bool m_contactIdHasBeenSet = false;
134
135 int m_maxResults;
136 bool m_maxResultsHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 ScanDirection m_scanDirection;
142 bool m_scanDirectionHasBeenSet = false;
143
144 SortKey m_sortOrder;
145 bool m_sortOrderHasBeenSet = false;
146
147 StartPosition m_startPosition;
148 bool m_startPositionHasBeenSet = false;
149
150 Aws::String m_connectionToken;
151 bool m_connectionTokenHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace ConnectParticipant
156} // namespace Aws
GetTranscriptRequest & WithNextToken(const char *value)
GetTranscriptRequest & WithStartPosition(const StartPosition &value)
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
GetTranscriptRequest & WithScanDirection(ScanDirection &&value)
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTranscriptRequest & WithContactId(const char *value)
GetTranscriptRequest & WithSortOrder(SortKey &&value)
GetTranscriptRequest & WithConnectionToken(const Aws::String &value)
GetTranscriptRequest & WithContactId(Aws::String &&value)
GetTranscriptRequest & WithConnectionToken(const char *value)
GetTranscriptRequest & WithScanDirection(const ScanDirection &value)
GetTranscriptRequest & WithNextToken(const Aws::String &value)
GetTranscriptRequest & WithSortOrder(const SortKey &value)
GetTranscriptRequest & WithStartPosition(StartPosition &&value)
GetTranscriptRequest & WithConnectionToken(Aws::String &&value)
GetTranscriptRequest & WithContactId(const Aws::String &value)
GetTranscriptRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String