AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SubtitlesOutput.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 <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace TranscribeService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TRANSCRIBESERVICE_API SubtitlesOutput() = default;
38 AWS_TRANSCRIBESERVICE_API SubtitlesOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESERVICE_API SubtitlesOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<SubtitleFormat>& GetFormats() const { return m_formats; }
50 inline bool FormatsHasBeenSet() const { return m_formatsHasBeenSet; }
51 template<typename FormatsT = Aws::Vector<SubtitleFormat>>
52 void SetFormats(FormatsT&& value) { m_formatsHasBeenSet = true; m_formats = std::forward<FormatsT>(value); }
53 template<typename FormatsT = Aws::Vector<SubtitleFormat>>
54 SubtitlesOutput& WithFormats(FormatsT&& value) { SetFormats(std::forward<FormatsT>(value)); return *this;}
55 inline SubtitlesOutput& AddFormats(SubtitleFormat value) { m_formatsHasBeenSet = true; m_formats.push_back(value); return *this; }
57
59
75 inline const Aws::Vector<Aws::String>& GetSubtitleFileUris() const { return m_subtitleFileUris; }
76 inline bool SubtitleFileUrisHasBeenSet() const { return m_subtitleFileUrisHasBeenSet; }
77 template<typename SubtitleFileUrisT = Aws::Vector<Aws::String>>
78 void SetSubtitleFileUris(SubtitleFileUrisT&& value) { m_subtitleFileUrisHasBeenSet = true; m_subtitleFileUris = std::forward<SubtitleFileUrisT>(value); }
79 template<typename SubtitleFileUrisT = Aws::Vector<Aws::String>>
80 SubtitlesOutput& WithSubtitleFileUris(SubtitleFileUrisT&& value) { SetSubtitleFileUris(std::forward<SubtitleFileUrisT>(value)); return *this;}
81 template<typename SubtitleFileUrisT = Aws::String>
82 SubtitlesOutput& AddSubtitleFileUris(SubtitleFileUrisT&& value) { m_subtitleFileUrisHasBeenSet = true; m_subtitleFileUris.emplace_back(std::forward<SubtitleFileUrisT>(value)); return *this; }
84
86
91 inline int GetOutputStartIndex() const { return m_outputStartIndex; }
92 inline bool OutputStartIndexHasBeenSet() const { return m_outputStartIndexHasBeenSet; }
93 inline void SetOutputStartIndex(int value) { m_outputStartIndexHasBeenSet = true; m_outputStartIndex = value; }
94 inline SubtitlesOutput& WithOutputStartIndex(int value) { SetOutputStartIndex(value); return *this;}
96 private:
97
99 bool m_formatsHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_subtitleFileUris;
102 bool m_subtitleFileUrisHasBeenSet = false;
103
104 int m_outputStartIndex{0};
105 bool m_outputStartIndexHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace TranscribeService
110} // namespace Aws
AWS_TRANSCRIBESERVICE_API SubtitlesOutput(Aws::Utils::Json::JsonView jsonValue)
SubtitlesOutput & AddFormats(SubtitleFormat value)
AWS_TRANSCRIBESERVICE_API SubtitlesOutput()=default
AWS_TRANSCRIBESERVICE_API SubtitlesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SubtitleFormat > & GetFormats() const
SubtitlesOutput & AddSubtitleFileUris(SubtitleFileUrisT &&value)
SubtitlesOutput & WithFormats(FormatsT &&value)
void SetSubtitleFileUris(SubtitleFileUrisT &&value)
SubtitlesOutput & WithSubtitleFileUris(SubtitleFileUrisT &&value)
SubtitlesOutput & WithOutputStartIndex(int value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSubtitleFileUris() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue