AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
58 inline Preset& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline Preset& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline Preset& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const Aws::String& GetArn() const{ return m_arn; }
68 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
69 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
72 inline Preset& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline Preset& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline Preset& WithArn(const char* value) { SetArn(value); return *this;}
76
78
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline Preset& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline Preset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline Preset& WithName(const char* value) { SetName(value); return *this;}
90
92
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
98 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
100 inline Preset& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
101 inline Preset& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
102 inline Preset& WithDescription(const char* value) { SetDescription(value); return *this;}
104
106
112 inline const Aws::String& GetContainer() const{ return m_container; }
113 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
114 inline void SetContainer(const Aws::String& value) { m_containerHasBeenSet = true; m_container = value; }
115 inline void SetContainer(Aws::String&& value) { m_containerHasBeenSet = true; m_container = std::move(value); }
116 inline void SetContainer(const char* value) { m_containerHasBeenSet = true; m_container.assign(value); }
117 inline Preset& WithContainer(const Aws::String& value) { SetContainer(value); return *this;}
118 inline Preset& WithContainer(Aws::String&& value) { SetContainer(std::move(value)); return *this;}
119 inline Preset& WithContainer(const char* value) { SetContainer(value); return *this;}
121
123
127 inline const AudioParameters& GetAudio() const{ return m_audio; }
128 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
129 inline void SetAudio(const AudioParameters& value) { m_audioHasBeenSet = true; m_audio = value; }
130 inline void SetAudio(AudioParameters&& value) { m_audioHasBeenSet = true; m_audio = std::move(value); }
131 inline Preset& WithAudio(const AudioParameters& value) { SetAudio(value); return *this;}
132 inline Preset& WithAudio(AudioParameters&& value) { SetAudio(std::move(value)); return *this;}
134
136
140 inline const VideoParameters& GetVideo() const{ return m_video; }
141 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
142 inline void SetVideo(const VideoParameters& value) { m_videoHasBeenSet = true; m_video = value; }
143 inline void SetVideo(VideoParameters&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
144 inline Preset& WithVideo(const VideoParameters& value) { SetVideo(value); return *this;}
145 inline Preset& WithVideo(VideoParameters&& value) { SetVideo(std::move(value)); return *this;}
147
149
153 inline const Thumbnails& GetThumbnails() const{ return m_thumbnails; }
154 inline bool ThumbnailsHasBeenSet() const { return m_thumbnailsHasBeenSet; }
155 inline void SetThumbnails(const Thumbnails& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = value; }
156 inline void SetThumbnails(Thumbnails&& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = std::move(value); }
157 inline Preset& WithThumbnails(const Thumbnails& value) { SetThumbnails(value); return *this;}
158 inline Preset& WithThumbnails(Thumbnails&& value) { SetThumbnails(std::move(value)); return *this;}
160
162
167 inline const Aws::String& GetType() const{ return m_type; }
168 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
169 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
170 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
171 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
172 inline Preset& WithType(const Aws::String& value) { SetType(value); return *this;}
173 inline Preset& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
174 inline Preset& WithType(const char* value) { SetType(value); return *this;}
176 private:
177
178 Aws::String m_id;
179 bool m_idHasBeenSet = false;
180
181 Aws::String m_arn;
182 bool m_arnHasBeenSet = false;
183
184 Aws::String m_name;
185 bool m_nameHasBeenSet = false;
186
187 Aws::String m_description;
188 bool m_descriptionHasBeenSet = false;
189
190 Aws::String m_container;
191 bool m_containerHasBeenSet = false;
192
193 AudioParameters m_audio;
194 bool m_audioHasBeenSet = false;
195
196 VideoParameters m_video;
197 bool m_videoHasBeenSet = false;
198
199 Thumbnails m_thumbnails;
200 bool m_thumbnailsHasBeenSet = false;
201
202 Aws::String m_type;
203 bool m_typeHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace ElasticTranscoder
208} // namespace Aws
Preset & WithVideo(VideoParameters &&value)
Definition Preset.h:145
void SetVideo(const VideoParameters &value)
Definition Preset.h:142
const Aws::String & GetContainer() const
Definition Preset.h:112
const Aws::String & GetType() const
Definition Preset.h:167
void SetId(const char *value)
Definition Preset.h:57
const VideoParameters & GetVideo() const
Definition Preset.h:140
void SetAudio(AudioParameters &&value)
Definition Preset.h:130
const Aws::String & GetDescription() const
Definition Preset.h:95
const Thumbnails & GetThumbnails() const
Definition Preset.h:153
void SetId(const Aws::String &value)
Definition Preset.h:55
Preset & WithThumbnails(Thumbnails &&value)
Definition Preset.h:158
void SetArn(const Aws::String &value)
Definition Preset.h:69
void SetDescription(const char *value)
Definition Preset.h:99
Preset & WithArn(Aws::String &&value)
Definition Preset.h:73
Preset & WithId(const Aws::String &value)
Definition Preset.h:58
void SetType(Aws::String &&value)
Definition Preset.h:170
Preset & WithType(Aws::String &&value)
Definition Preset.h:173
Preset & WithName(Aws::String &&value)
Definition Preset.h:87
void SetDescription(const Aws::String &value)
Definition Preset.h:97
Preset & WithContainer(const Aws::String &value)
Definition Preset.h:117
Preset & WithThumbnails(const Thumbnails &value)
Definition Preset.h:157
void SetContainer(const Aws::String &value)
Definition Preset.h:114
void SetDescription(Aws::String &&value)
Definition Preset.h:98
void SetAudio(const AudioParameters &value)
Definition Preset.h:129
Preset & WithContainer(Aws::String &&value)
Definition Preset.h:118
const Aws::String & GetName() const
Definition Preset.h:81
Preset & WithContainer(const char *value)
Definition Preset.h:119
AWS_ELASTICTRANSCODER_API Preset(Aws::Utils::Json::JsonView jsonValue)
Preset & WithId(Aws::String &&value)
Definition Preset.h:59
void SetVideo(VideoParameters &&value)
Definition Preset.h:143
Preset & WithId(const char *value)
Definition Preset.h:60
const AudioParameters & GetAudio() const
Definition Preset.h:127
void SetType(const char *value)
Definition Preset.h:171
Preset & WithAudio(const AudioParameters &value)
Definition Preset.h:131
AWS_ELASTICTRANSCODER_API Preset()
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Preset & WithAudio(AudioParameters &&value)
Definition Preset.h:132
void SetId(Aws::String &&value)
Definition Preset.h:56
Preset & WithDescription(const char *value)
Definition Preset.h:102
void SetName(const Aws::String &value)
Definition Preset.h:83
void SetName(const char *value)
Definition Preset.h:85
void SetContainer(Aws::String &&value)
Definition Preset.h:115
void SetArn(Aws::String &&value)
Definition Preset.h:70
const Aws::String & GetArn() const
Definition Preset.h:67
const Aws::String & GetId() const
Definition Preset.h:53
Preset & WithDescription(const Aws::String &value)
Definition Preset.h:100
void SetThumbnails(Thumbnails &&value)
Definition Preset.h:156
void SetThumbnails(const Thumbnails &value)
Definition Preset.h:155
Preset & WithDescription(Aws::String &&value)
Definition Preset.h:101
Preset & WithName(const Aws::String &value)
Definition Preset.h:86
Preset & WithArn(const Aws::String &value)
Definition Preset.h:72
void SetContainer(const char *value)
Definition Preset.h:116
Preset & WithName(const char *value)
Definition Preset.h:88
Preset & WithType(const char *value)
Definition Preset.h:174
void SetType(const Aws::String &value)
Definition Preset.h:169
void SetName(Aws::String &&value)
Definition Preset.h:84
Preset & WithType(const Aws::String &value)
Definition Preset.h:172
Preset & WithArn(const char *value)
Definition Preset.h:74
void SetArn(const char *value)
Definition Preset.h:71
AWS_ELASTICTRANSCODER_API Preset & operator=(Aws::Utils::Json::JsonView jsonValue)
Preset & WithVideo(const VideoParameters &value)
Definition Preset.h:144
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue