AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTranscriptionJobsRequest.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/transcribe/model/TranscriptionJobStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TranscribeService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSCRIBESERVICE_API ListTranscriptionJobsRequest();
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_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const TranscriptionJobStatus& GetStatus() const{ return m_status; }
45 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
46 inline void SetStatus(const TranscriptionJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
47 inline void SetStatus(TranscriptionJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
48 inline ListTranscriptionJobsRequest& WithStatus(const TranscriptionJobStatus& value) { SetStatus(value); return *this;}
49 inline ListTranscriptionJobsRequest& WithStatus(TranscriptionJobStatus&& value) { SetStatus(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetJobNameContains() const{ return m_jobNameContains; }
58 inline bool JobNameContainsHasBeenSet() const { return m_jobNameContainsHasBeenSet; }
59 inline void SetJobNameContains(const Aws::String& value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains = value; }
60 inline void SetJobNameContains(Aws::String&& value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains = std::move(value); }
61 inline void SetJobNameContains(const char* value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains.assign(value); }
63 inline ListTranscriptionJobsRequest& WithJobNameContains(Aws::String&& value) { SetJobNameContains(std::move(value)); return *this;}
64 inline ListTranscriptionJobsRequest& WithJobNameContains(const char* value) { SetJobNameContains(value); return *this;}
66
68
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 inline ListTranscriptionJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListTranscriptionJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListTranscriptionJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
91 inline int GetMaxResults() const{ return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
94 inline ListTranscriptionJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
96 private:
97
99 bool m_statusHasBeenSet = false;
100
101 Aws::String m_jobNameContains;
102 bool m_jobNameContainsHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 int m_maxResults;
108 bool m_maxResultsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace TranscribeService
113} // namespace Aws
ListTranscriptionJobsRequest & WithJobNameContains(const Aws::String &value)
ListTranscriptionJobsRequest & WithNextToken(Aws::String &&value)
ListTranscriptionJobsRequest & WithStatus(const TranscriptionJobStatus &value)
ListTranscriptionJobsRequest & WithNextToken(const Aws::String &value)
ListTranscriptionJobsRequest & WithJobNameContains(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListTranscriptionJobsRequest & WithStatus(TranscriptionJobStatus &&value)
ListTranscriptionJobsRequest & WithJobNameContains(const char *value)
ListTranscriptionJobsRequest & WithNextToken(const char *value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String