AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTranscriptionJobsResult.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/TranscriptionJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/transcribe/model/TranscriptionJobSummary.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TRANSCRIBESERVICE_API ListTranscriptionJobsResult();
36
37
39
43 inline const TranscriptionJobStatus& GetStatus() const{ return m_status; }
44 inline void SetStatus(const TranscriptionJobStatus& value) { m_status = value; }
45 inline void SetStatus(TranscriptionJobStatus&& value) { m_status = std::move(value); }
46 inline ListTranscriptionJobsResult& WithStatus(const TranscriptionJobStatus& value) { SetStatus(value); return *this;}
47 inline ListTranscriptionJobsResult& WithStatus(TranscriptionJobStatus&& value) { SetStatus(std::move(value)); return *this;}
49
51
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
62 inline ListTranscriptionJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline ListTranscriptionJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline ListTranscriptionJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
71 inline const Aws::Vector<TranscriptionJobSummary>& GetTranscriptionJobSummaries() const{ return m_transcriptionJobSummaries; }
72 inline void SetTranscriptionJobSummaries(const Aws::Vector<TranscriptionJobSummary>& value) { m_transcriptionJobSummaries = value; }
73 inline void SetTranscriptionJobSummaries(Aws::Vector<TranscriptionJobSummary>&& value) { m_transcriptionJobSummaries = std::move(value); }
76 inline ListTranscriptionJobsResult& AddTranscriptionJobSummaries(const TranscriptionJobSummary& value) { m_transcriptionJobSummaries.push_back(value); return *this; }
77 inline ListTranscriptionJobsResult& AddTranscriptionJobSummaries(TranscriptionJobSummary&& value) { m_transcriptionJobSummaries.push_back(std::move(value)); return *this; }
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline ListTranscriptionJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline ListTranscriptionJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline ListTranscriptionJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
93
94 Aws::String m_nextToken;
95
96 Aws::Vector<TranscriptionJobSummary> m_transcriptionJobSummaries;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace TranscribeService
103} // namespace Aws
const Aws::Vector< TranscriptionJobSummary > & GetTranscriptionJobSummaries() const
ListTranscriptionJobsResult & WithTranscriptionJobSummaries(const Aws::Vector< TranscriptionJobSummary > &value)
ListTranscriptionJobsResult & AddTranscriptionJobSummaries(const TranscriptionJobSummary &value)
AWS_TRANSCRIBESERVICE_API ListTranscriptionJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListTranscriptionJobsResult & WithRequestId(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API ListTranscriptionJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListTranscriptionJobsResult & WithTranscriptionJobSummaries(Aws::Vector< TranscriptionJobSummary > &&value)
ListTranscriptionJobsResult & WithNextToken(const Aws::String &value)
ListTranscriptionJobsResult & AddTranscriptionJobSummaries(TranscriptionJobSummary &&value)
ListTranscriptionJobsResult & WithStatus(const TranscriptionJobStatus &value)
ListTranscriptionJobsResult & WithStatus(TranscriptionJobStatus &&value)
ListTranscriptionJobsResult & WithRequestId(const Aws::String &value)
ListTranscriptionJobsResult & WithNextToken(const char *value)
void SetTranscriptionJobSummaries(const Aws::Vector< TranscriptionJobSummary > &value)
ListTranscriptionJobsResult & WithNextToken(Aws::String &&value)
ListTranscriptionJobsResult & WithRequestId(const char *value)
void SetTranscriptionJobSummaries(Aws::Vector< TranscriptionJobSummary > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue