AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Preset.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/AudioParameters.h>
10#include <aws/elastictranscoder/model/VideoParameters.h>
11#include <aws/elastictranscoder/model/Thumbnails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ElasticTranscoder
25{
26namespace Model
27{
28
39 class Preset
40 {
41 public:
42 AWS_ELASTICTRANSCODER_API Preset() = default;
43 AWS_ELASTICTRANSCODER_API Preset(Aws::Utils::Json::JsonView jsonValue);
44 AWS_ELASTICTRANSCODER_API Preset& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 Preset& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetArn() const { return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 template<typename ArnT = Aws::String>
68 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
69 template<typename ArnT = Aws::String>
70 Preset& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template<typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
81 template<typename NameT = Aws::String>
82 Preset& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 template<typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
93 template<typename DescriptionT = Aws::String>
94 Preset& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
96
98
104 inline const Aws::String& GetContainer() const { return m_container; }
105 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
106 template<typename ContainerT = Aws::String>
107 void SetContainer(ContainerT&& value) { m_containerHasBeenSet = true; m_container = std::forward<ContainerT>(value); }
108 template<typename ContainerT = Aws::String>
109 Preset& WithContainer(ContainerT&& value) { SetContainer(std::forward<ContainerT>(value)); return *this;}
111
113
117 inline const AudioParameters& GetAudio() const { return m_audio; }
118 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
119 template<typename AudioT = AudioParameters>
120 void SetAudio(AudioT&& value) { m_audioHasBeenSet = true; m_audio = std::forward<AudioT>(value); }
121 template<typename AudioT = AudioParameters>
122 Preset& WithAudio(AudioT&& value) { SetAudio(std::forward<AudioT>(value)); return *this;}
124
126
130 inline const VideoParameters& GetVideo() const { return m_video; }
131 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
132 template<typename VideoT = VideoParameters>
133 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
134 template<typename VideoT = VideoParameters>
135 Preset& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
137
139
143 inline const Thumbnails& GetThumbnails() const { return m_thumbnails; }
144 inline bool ThumbnailsHasBeenSet() const { return m_thumbnailsHasBeenSet; }
145 template<typename ThumbnailsT = Thumbnails>
146 void SetThumbnails(ThumbnailsT&& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = std::forward<ThumbnailsT>(value); }
147 template<typename ThumbnailsT = Thumbnails>
148 Preset& WithThumbnails(ThumbnailsT&& value) { SetThumbnails(std::forward<ThumbnailsT>(value)); return *this;}
150
152
157 inline const Aws::String& GetType() const { return m_type; }
158 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
159 template<typename TypeT = Aws::String>
160 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
161 template<typename TypeT = Aws::String>
162 Preset& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
164 private:
165
166 Aws::String m_id;
167 bool m_idHasBeenSet = false;
168
169 Aws::String m_arn;
170 bool m_arnHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_container;
179 bool m_containerHasBeenSet = false;
180
181 AudioParameters m_audio;
182 bool m_audioHasBeenSet = false;
183
184 VideoParameters m_video;
185 bool m_videoHasBeenSet = false;
186
187 Thumbnails m_thumbnails;
188 bool m_thumbnailsHasBeenSet = false;
189
190 Aws::String m_type;
191 bool m_typeHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace ElasticTranscoder
196} // namespace Aws
const Aws::String & GetContainer() const
Definition Preset.h:104
const Aws::String & GetType() const
Definition Preset.h:157
Preset & WithAudio(AudioT &&value)
Definition Preset.h:122
const VideoParameters & GetVideo() const
Definition Preset.h:130
Preset & WithType(TypeT &&value)
Definition Preset.h:162
void SetVideo(VideoT &&value)
Definition Preset.h:133
Preset & WithArn(ArnT &&value)
Definition Preset.h:70
const Aws::String & GetDescription() const
Definition Preset.h:89
void SetName(NameT &&value)
Definition Preset.h:80
const Thumbnails & GetThumbnails() const
Definition Preset.h:143
void SetThumbnails(ThumbnailsT &&value)
Definition Preset.h:146
void SetDescription(DescriptionT &&value)
Definition Preset.h:92
AWS_ELASTICTRANSCODER_API Preset()=default
const Aws::String & GetName() const
Definition Preset.h:77
AWS_ELASTICTRANSCODER_API Preset(Aws::Utils::Json::JsonView jsonValue)
Preset & WithName(NameT &&value)
Definition Preset.h:82
Preset & WithVideo(VideoT &&value)
Definition Preset.h:135
const AudioParameters & GetAudio() const
Definition Preset.h:117
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Preset & WithId(IdT &&value)
Definition Preset.h:58
void SetContainer(ContainerT &&value)
Definition Preset.h:107
const Aws::String & GetArn() const
Definition Preset.h:65
void SetAudio(AudioT &&value)
Definition Preset.h:120
const Aws::String & GetId() const
Definition Preset.h:53
Preset & WithContainer(ContainerT &&value)
Definition Preset.h:109
AWS_ELASTICTRANSCODER_API Preset & operator=(Aws::Utils::Json::JsonView jsonValue)
Preset & WithThumbnails(ThumbnailsT &&value)
Definition Preset.h:148
Preset & WithDescription(DescriptionT &&value)
Definition Preset.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue