AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Subtitles.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/transcribe/model/SubtitleFormat.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 TranscribeService
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_TRANSCRIBESERVICE_API Subtitles();
40 AWS_TRANSCRIBESERVICE_API Subtitles(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESERVICE_API Subtitles& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::Vector<SubtitleFormat>& GetFormats() const{ return m_formats; }
52 inline bool FormatsHasBeenSet() const { return m_formatsHasBeenSet; }
53 inline void SetFormats(const Aws::Vector<SubtitleFormat>& value) { m_formatsHasBeenSet = true; m_formats = value; }
54 inline void SetFormats(Aws::Vector<SubtitleFormat>&& value) { m_formatsHasBeenSet = true; m_formats = std::move(value); }
55 inline Subtitles& WithFormats(const Aws::Vector<SubtitleFormat>& value) { SetFormats(value); return *this;}
56 inline Subtitles& WithFormats(Aws::Vector<SubtitleFormat>&& value) { SetFormats(std::move(value)); return *this;}
57 inline Subtitles& AddFormats(const SubtitleFormat& value) { m_formatsHasBeenSet = true; m_formats.push_back(value); return *this; }
58 inline Subtitles& AddFormats(SubtitleFormat&& value) { m_formatsHasBeenSet = true; m_formats.push_back(std::move(value)); return *this; }
60
62
69 inline int GetOutputStartIndex() const{ return m_outputStartIndex; }
70 inline bool OutputStartIndexHasBeenSet() const { return m_outputStartIndexHasBeenSet; }
71 inline void SetOutputStartIndex(int value) { m_outputStartIndexHasBeenSet = true; m_outputStartIndex = value; }
72 inline Subtitles& WithOutputStartIndex(int value) { SetOutputStartIndex(value); return *this;}
74 private:
75
77 bool m_formatsHasBeenSet = false;
78
79 int m_outputStartIndex;
80 bool m_outputStartIndexHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace TranscribeService
85} // namespace Aws
AWS_TRANSCRIBESERVICE_API Subtitles()
const Aws::Vector< SubtitleFormat > & GetFormats() const
Definition Subtitles.h:51
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API Subtitles(Aws::Utils::Json::JsonView jsonValue)
void SetFormats(const Aws::Vector< SubtitleFormat > &value)
Definition Subtitles.h:53
Subtitles & WithFormats(const Aws::Vector< SubtitleFormat > &value)
Definition Subtitles.h:55
Subtitles & WithFormats(Aws::Vector< SubtitleFormat > &&value)
Definition Subtitles.h:56
AWS_TRANSCRIBESERVICE_API Subtitles & operator=(Aws::Utils::Json::JsonView jsonValue)
Subtitles & AddFormats(const SubtitleFormat &value)
Definition Subtitles.h:57
Subtitles & AddFormats(SubtitleFormat &&value)
Definition Subtitles.h:58
Subtitles & WithOutputStartIndex(int value)
Definition Subtitles.h:72
void SetFormats(Aws::Vector< SubtitleFormat > &&value)
Definition Subtitles.h:54
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue