AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ContactIdT = Aws::String>
48 void SetContactId(ContactIdT&& value) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
49 template<typename ContactIdT = Aws::String>
50 GetTranscriptRequest& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
52
54
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline GetTranscriptRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 template<typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
72 template<typename NextTokenT = Aws::String>
73 GetTranscriptRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
75
77
81 inline ScanDirection GetScanDirection() const { return m_scanDirection; }
82 inline bool ScanDirectionHasBeenSet() const { return m_scanDirectionHasBeenSet; }
83 inline void SetScanDirection(ScanDirection value) { m_scanDirectionHasBeenSet = true; m_scanDirection = value; }
86
88
91 inline SortKey GetSortOrder() const { return m_sortOrder; }
92 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
93 inline void SetSortOrder(SortKey value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
94 inline GetTranscriptRequest& WithSortOrder(SortKey value) { SetSortOrder(value); return *this;}
96
98
101 inline const StartPosition& GetStartPosition() const { return m_startPosition; }
102 inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; }
103 template<typename StartPositionT = StartPosition>
104 void SetStartPosition(StartPositionT&& value) { m_startPositionHasBeenSet = true; m_startPosition = std::forward<StartPositionT>(value); }
105 template<typename StartPositionT = StartPosition>
106 GetTranscriptRequest& WithStartPosition(StartPositionT&& value) { SetStartPosition(std::forward<StartPositionT>(value)); return *this;}
108
110
113 inline const Aws::String& GetConnectionToken() const { return m_connectionToken; }
114 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
115 template<typename ConnectionTokenT = Aws::String>
116 void SetConnectionToken(ConnectionTokenT&& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = std::forward<ConnectionTokenT>(value); }
117 template<typename ConnectionTokenT = Aws::String>
118 GetTranscriptRequest& WithConnectionToken(ConnectionTokenT&& value) { SetConnectionToken(std::forward<ConnectionTokenT>(value)); return *this;}
120 private:
121
122 Aws::String m_contactId;
123 bool m_contactIdHasBeenSet = false;
124
125 int m_maxResults{0};
126 bool m_maxResultsHasBeenSet = false;
127
128 Aws::String m_nextToken;
129 bool m_nextTokenHasBeenSet = false;
130
131 ScanDirection m_scanDirection{ScanDirection::NOT_SET};
132 bool m_scanDirectionHasBeenSet = false;
133
134 SortKey m_sortOrder{SortKey::NOT_SET};
135 bool m_sortOrderHasBeenSet = false;
136
137 StartPosition m_startPosition;
138 bool m_startPositionHasBeenSet = false;
139
140 Aws::String m_connectionToken;
141 bool m_connectionTokenHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace ConnectParticipant
146} // 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