AWS SDK for C++  1.9.129
AWS SDK for C++
ListTranscriptionJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace TranscribeService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListTranscriptionJobs"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
44  inline const TranscriptionJobStatus& GetStatus() const{ return m_status; }
45 
52  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
53 
60  inline void SetStatus(const TranscriptionJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
61 
68  inline void SetStatus(TranscriptionJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
69 
76  inline ListTranscriptionJobsRequest& WithStatus(const TranscriptionJobStatus& value) { SetStatus(value); return *this;}
77 
84  inline ListTranscriptionJobsRequest& WithStatus(TranscriptionJobStatus&& value) { SetStatus(std::move(value)); return *this;}
85 
86 
91  inline const Aws::String& GetJobNameContains() const{ return m_jobNameContains; }
92 
97  inline bool JobNameContainsHasBeenSet() const { return m_jobNameContainsHasBeenSet; }
98 
103  inline void SetJobNameContains(const Aws::String& value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains = value; }
104 
109  inline void SetJobNameContains(Aws::String&& value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains = std::move(value); }
110 
115  inline void SetJobNameContains(const char* value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains.assign(value); }
116 
121  inline ListTranscriptionJobsRequest& WithJobNameContains(const Aws::String& value) { SetJobNameContains(value); return *this;}
122 
127  inline ListTranscriptionJobsRequest& WithJobNameContains(Aws::String&& value) { SetJobNameContains(std::move(value)); return *this;}
128 
133  inline ListTranscriptionJobsRequest& WithJobNameContains(const char* value) { SetJobNameContains(value); return *this;}
134 
135 
141  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
142 
148  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
149 
155  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
156 
162  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
163 
169  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
170 
176  inline ListTranscriptionJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
177 
183  inline ListTranscriptionJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
184 
190  inline ListTranscriptionJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
191 
192 
198  inline int GetMaxResults() const{ return m_maxResults; }
199 
205  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
206 
212  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
213 
219  inline ListTranscriptionJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
220 
221  private:
222 
223  TranscriptionJobStatus m_status;
224  bool m_statusHasBeenSet;
225 
226  Aws::String m_jobNameContains;
227  bool m_jobNameContainsHasBeenSet;
228 
229  Aws::String m_nextToken;
230  bool m_nextTokenHasBeenSet;
231 
232  int m_maxResults;
233  bool m_maxResultsHasBeenSet;
234  };
235 
236 } // namespace Model
237 } // namespace TranscribeService
238 } // namespace Aws
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithNextToken
ListTranscriptionJobsRequest & WithNextToken(const char *value)
Definition: ListTranscriptionJobsRequest.h:190
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::ListTranscriptionJobsRequest
ListTranscriptionJobsRequest()
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithMaxResults
ListTranscriptionJobsRequest & WithMaxResults(int value)
Definition: ListTranscriptionJobsRequest.h:219
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTranscriptionJobsRequest.h:212
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithJobNameContains
ListTranscriptionJobsRequest & WithJobNameContains(Aws::String &&value)
Definition: ListTranscriptionJobsRequest.h:127
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListTranscriptionJobsRequest.h:52
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::GetStatus
const TranscriptionJobStatus & GetStatus() const
Definition: ListTranscriptionJobsRequest.h:44
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTranscriptionJobsRequest.h:155
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTranscriptionJobsRequest.h:31
TranscribeServiceRequest.h
TranscriptionJobStatus.h
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::GetJobNameContains
const Aws::String & GetJobNameContains() const
Definition: ListTranscriptionJobsRequest.h:91
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTranscriptionJobsRequest.h:141
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetJobNameContains
void SetJobNameContains(Aws::String &&value)
Definition: ListTranscriptionJobsRequest.h:109
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetJobNameContains
void SetJobNameContains(const Aws::String &value)
Definition: ListTranscriptionJobsRequest.h:103
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTranscriptionJobsRequest.h:162
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetJobNameContains
void SetJobNameContains(const char *value)
Definition: ListTranscriptionJobsRequest.h:115
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithStatus
ListTranscriptionJobsRequest & WithStatus(const TranscriptionJobStatus &value)
Definition: ListTranscriptionJobsRequest.h:76
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithJobNameContains
ListTranscriptionJobsRequest & WithJobNameContains(const Aws::String &value)
Definition: ListTranscriptionJobsRequest.h:121
AWSString.h
Aws::TranscribeService::Model::TranscriptionJobStatus
TranscriptionJobStatus
Definition: TranscriptionJobStatus.h:17
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithNextToken
ListTranscriptionJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListTranscriptionJobsRequest.h:176
Aws::TranscribeService::Model::ListTranscriptionJobsRequest
Definition: ListTranscriptionJobsRequest.h:23
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTranscriptionJobsRequest.h:148
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::JobNameContainsHasBeenSet
bool JobNameContainsHasBeenSet() const
Definition: ListTranscriptionJobsRequest.h:97
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithNextToken
ListTranscriptionJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListTranscriptionJobsRequest.h:183
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTranscriptionJobsRequest.h:169
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTranscriptionJobsRequest.h:205
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithJobNameContains
ListTranscriptionJobsRequest & WithJobNameContains(const char *value)
Definition: ListTranscriptionJobsRequest.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::WithStatus
ListTranscriptionJobsRequest & WithStatus(TranscriptionJobStatus &&value)
Definition: ListTranscriptionJobsRequest.h:84
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetStatus
void SetStatus(const TranscriptionJobStatus &value)
Definition: ListTranscriptionJobsRequest.h:60
Aws::TranscribeService::TranscribeServiceRequest
Definition: TranscribeServiceRequest.h:17
AWS_TRANSCRIBESERVICE_API
#define AWS_TRANSCRIBESERVICE_API
Definition: TranscribeService_EXPORTS.h:28
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::SetStatus
void SetStatus(TranscriptionJobStatus &&value)
Definition: ListTranscriptionJobsRequest.h:68
Aws::TranscribeService::Model::ListTranscriptionJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTranscriptionJobsRequest.h:198