AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Transcript.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/transcribestreaming/model/Result.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TranscribeStreamingService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_TRANSCRIBESTREAMINGSERVICE_API Transcript();
39 AWS_TRANSCRIBESTREAMINGSERVICE_API Transcript(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Transcript& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const Aws::Vector<Result>& GetResults() const{ return m_results; }
53 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
54 inline void SetResults(const Aws::Vector<Result>& value) { m_resultsHasBeenSet = true; m_results = value; }
55 inline void SetResults(Aws::Vector<Result>&& value) { m_resultsHasBeenSet = true; m_results = std::move(value); }
56 inline Transcript& WithResults(const Aws::Vector<Result>& value) { SetResults(value); return *this;}
57 inline Transcript& WithResults(Aws::Vector<Result>&& value) { SetResults(std::move(value)); return *this;}
58 inline Transcript& AddResults(const Result& value) { m_resultsHasBeenSet = true; m_results.push_back(value); return *this; }
59 inline Transcript& AddResults(Result&& value) { m_resultsHasBeenSet = true; m_results.push_back(std::move(value)); return *this; }
61 private:
62
63 Aws::Vector<Result> m_results;
64 bool m_resultsHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace TranscribeStreamingService
69} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Transcript & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Result > & GetResults() const
Definition Transcript.h:52
void SetResults(Aws::Vector< Result > &&value)
Definition Transcript.h:55
Transcript & WithResults(const Aws::Vector< Result > &value)
Definition Transcript.h:56
void SetResults(const Aws::Vector< Result > &value)
Definition Transcript.h:54
AWS_TRANSCRIBESTREAMINGSERVICE_API Transcript(Aws::Utils::Json::JsonView jsonValue)
Transcript & AddResults(const Result &value)
Definition Transcript.h:58
AWS_TRANSCRIBESTREAMINGSERVICE_API Transcript()
Transcript & WithResults(Aws::Vector< Result > &&value)
Definition Transcript.h:57
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue