AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Thumbnails.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticTranscoder
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ELASTICTRANSCODER_API Thumbnails();
35 AWS_ELASTICTRANSCODER_API Thumbnails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ELASTICTRANSCODER_API Thumbnails& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetFormat() const{ return m_format; }
47 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
48 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
49 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
50 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
51 inline Thumbnails& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
52 inline Thumbnails& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
53 inline Thumbnails& WithFormat(const char* value) { SetFormat(value); return *this;}
55
57
61 inline const Aws::String& GetInterval() const{ return m_interval; }
62 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
63 inline void SetInterval(const Aws::String& value) { m_intervalHasBeenSet = true; m_interval = value; }
64 inline void SetInterval(Aws::String&& value) { m_intervalHasBeenSet = true; m_interval = std::move(value); }
65 inline void SetInterval(const char* value) { m_intervalHasBeenSet = true; m_interval.assign(value); }
66 inline Thumbnails& WithInterval(const Aws::String& value) { SetInterval(value); return *this;}
67 inline Thumbnails& WithInterval(Aws::String&& value) { SetInterval(std::move(value)); return *this;}
68 inline Thumbnails& WithInterval(const char* value) { SetInterval(value); return *this;}
70
72
83 inline const Aws::String& GetResolution() const{ return m_resolution; }
84 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
85 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
86 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
87 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
88 inline Thumbnails& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
89 inline Thumbnails& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
90 inline Thumbnails& WithResolution(const char* value) { SetResolution(value); return *this;}
92
94
105 inline const Aws::String& GetAspectRatio() const{ return m_aspectRatio; }
106 inline bool AspectRatioHasBeenSet() const { return m_aspectRatioHasBeenSet; }
107 inline void SetAspectRatio(const Aws::String& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = value; }
108 inline void SetAspectRatio(Aws::String&& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = std::move(value); }
109 inline void SetAspectRatio(const char* value) { m_aspectRatioHasBeenSet = true; m_aspectRatio.assign(value); }
110 inline Thumbnails& WithAspectRatio(const Aws::String& value) { SetAspectRatio(value); return *this;}
111 inline Thumbnails& WithAspectRatio(Aws::String&& value) { SetAspectRatio(std::move(value)); return *this;}
112 inline Thumbnails& WithAspectRatio(const char* value) { SetAspectRatio(value); return *this;}
114
116
121 inline const Aws::String& GetMaxWidth() const{ return m_maxWidth; }
122 inline bool MaxWidthHasBeenSet() const { return m_maxWidthHasBeenSet; }
123 inline void SetMaxWidth(const Aws::String& value) { m_maxWidthHasBeenSet = true; m_maxWidth = value; }
124 inline void SetMaxWidth(Aws::String&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = std::move(value); }
125 inline void SetMaxWidth(const char* value) { m_maxWidthHasBeenSet = true; m_maxWidth.assign(value); }
126 inline Thumbnails& WithMaxWidth(const Aws::String& value) { SetMaxWidth(value); return *this;}
127 inline Thumbnails& WithMaxWidth(Aws::String&& value) { SetMaxWidth(std::move(value)); return *this;}
128 inline Thumbnails& WithMaxWidth(const char* value) { SetMaxWidth(value); return *this;}
130
132
137 inline const Aws::String& GetMaxHeight() const{ return m_maxHeight; }
138 inline bool MaxHeightHasBeenSet() const { return m_maxHeightHasBeenSet; }
139 inline void SetMaxHeight(const Aws::String& value) { m_maxHeightHasBeenSet = true; m_maxHeight = value; }
140 inline void SetMaxHeight(Aws::String&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = std::move(value); }
141 inline void SetMaxHeight(const char* value) { m_maxHeightHasBeenSet = true; m_maxHeight.assign(value); }
142 inline Thumbnails& WithMaxHeight(const Aws::String& value) { SetMaxHeight(value); return *this;}
143 inline Thumbnails& WithMaxHeight(Aws::String&& value) { SetMaxHeight(std::move(value)); return *this;}
144 inline Thumbnails& WithMaxHeight(const char* value) { SetMaxHeight(value); return *this;}
146
148
175 inline const Aws::String& GetSizingPolicy() const{ return m_sizingPolicy; }
176 inline bool SizingPolicyHasBeenSet() const { return m_sizingPolicyHasBeenSet; }
177 inline void SetSizingPolicy(const Aws::String& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = value; }
178 inline void SetSizingPolicy(Aws::String&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = std::move(value); }
179 inline void SetSizingPolicy(const char* value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy.assign(value); }
180 inline Thumbnails& WithSizingPolicy(const Aws::String& value) { SetSizingPolicy(value); return *this;}
181 inline Thumbnails& WithSizingPolicy(Aws::String&& value) { SetSizingPolicy(std::move(value)); return *this;}
182 inline Thumbnails& WithSizingPolicy(const char* value) { SetSizingPolicy(value); return *this;}
184
186
193 inline const Aws::String& GetPaddingPolicy() const{ return m_paddingPolicy; }
194 inline bool PaddingPolicyHasBeenSet() const { return m_paddingPolicyHasBeenSet; }
195 inline void SetPaddingPolicy(const Aws::String& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = value; }
196 inline void SetPaddingPolicy(Aws::String&& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = std::move(value); }
197 inline void SetPaddingPolicy(const char* value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy.assign(value); }
198 inline Thumbnails& WithPaddingPolicy(const Aws::String& value) { SetPaddingPolicy(value); return *this;}
199 inline Thumbnails& WithPaddingPolicy(Aws::String&& value) { SetPaddingPolicy(std::move(value)); return *this;}
200 inline Thumbnails& WithPaddingPolicy(const char* value) { SetPaddingPolicy(value); return *this;}
202 private:
203
204 Aws::String m_format;
205 bool m_formatHasBeenSet = false;
206
207 Aws::String m_interval;
208 bool m_intervalHasBeenSet = false;
209
210 Aws::String m_resolution;
211 bool m_resolutionHasBeenSet = false;
212
213 Aws::String m_aspectRatio;
214 bool m_aspectRatioHasBeenSet = false;
215
216 Aws::String m_maxWidth;
217 bool m_maxWidthHasBeenSet = false;
218
219 Aws::String m_maxHeight;
220 bool m_maxHeightHasBeenSet = false;
221
222 Aws::String m_sizingPolicy;
223 bool m_sizingPolicyHasBeenSet = false;
224
225 Aws::String m_paddingPolicy;
226 bool m_paddingPolicyHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace ElasticTranscoder
231} // namespace Aws
AWS_ELASTICTRANSCODER_API Thumbnails()
AWS_ELASTICTRANSCODER_API Thumbnails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAspectRatio() const
Definition Thumbnails.h:105
void SetAspectRatio(const Aws::String &value)
Definition Thumbnails.h:107
void SetResolution(const Aws::String &value)
Definition Thumbnails.h:85
Thumbnails & WithSizingPolicy(const Aws::String &value)
Definition Thumbnails.h:180
void SetSizingPolicy(Aws::String &&value)
Definition Thumbnails.h:178
Thumbnails & WithFormat(const Aws::String &value)
Definition Thumbnails.h:51
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxHeight(Aws::String &&value)
Definition Thumbnails.h:140
Thumbnails & WithPaddingPolicy(const char *value)
Definition Thumbnails.h:200
void SetSizingPolicy(const Aws::String &value)
Definition Thumbnails.h:177
void SetPaddingPolicy(const char *value)
Definition Thumbnails.h:197
void SetAspectRatio(const char *value)
Definition Thumbnails.h:109
void SetInterval(const Aws::String &value)
Definition Thumbnails.h:63
void SetAspectRatio(Aws::String &&value)
Definition Thumbnails.h:108
Thumbnails & WithFormat(const char *value)
Definition Thumbnails.h:53
const Aws::String & GetMaxWidth() const
Definition Thumbnails.h:121
Thumbnails & WithResolution(const char *value)
Definition Thumbnails.h:90
Thumbnails & WithResolution(const Aws::String &value)
Definition Thumbnails.h:88
const Aws::String & GetResolution() const
Definition Thumbnails.h:83
Thumbnails & WithPaddingPolicy(const Aws::String &value)
Definition Thumbnails.h:198
Thumbnails & WithMaxHeight(const char *value)
Definition Thumbnails.h:144
const Aws::String & GetPaddingPolicy() const
Definition Thumbnails.h:193
const Aws::String & GetInterval() const
Definition Thumbnails.h:61
Thumbnails & WithMaxWidth(const char *value)
Definition Thumbnails.h:128
void SetMaxWidth(const Aws::String &value)
Definition Thumbnails.h:123
Thumbnails & WithMaxWidth(Aws::String &&value)
Definition Thumbnails.h:127
Thumbnails & WithResolution(Aws::String &&value)
Definition Thumbnails.h:89
Thumbnails & WithFormat(Aws::String &&value)
Definition Thumbnails.h:52
Thumbnails & WithMaxWidth(const Aws::String &value)
Definition Thumbnails.h:126
Thumbnails & WithAspectRatio(const Aws::String &value)
Definition Thumbnails.h:110
Thumbnails & WithAspectRatio(Aws::String &&value)
Definition Thumbnails.h:111
Thumbnails & WithInterval(const char *value)
Definition Thumbnails.h:68
Thumbnails & WithInterval(Aws::String &&value)
Definition Thumbnails.h:67
void SetMaxWidth(Aws::String &&value)
Definition Thumbnails.h:124
Thumbnails & WithSizingPolicy(const char *value)
Definition Thumbnails.h:182
void SetResolution(Aws::String &&value)
Definition Thumbnails.h:86
void SetFormat(const Aws::String &value)
Definition Thumbnails.h:48
Thumbnails & WithMaxHeight(Aws::String &&value)
Definition Thumbnails.h:143
void SetInterval(const char *value)
Definition Thumbnails.h:65
void SetSizingPolicy(const char *value)
Definition Thumbnails.h:179
const Aws::String & GetMaxHeight() const
Definition Thumbnails.h:137
Thumbnails & WithSizingPolicy(Aws::String &&value)
Definition Thumbnails.h:181
void SetFormat(Aws::String &&value)
Definition Thumbnails.h:49
void SetPaddingPolicy(Aws::String &&value)
Definition Thumbnails.h:196
const Aws::String & GetFormat() const
Definition Thumbnails.h:46
const Aws::String & GetSizingPolicy() const
Definition Thumbnails.h:175
Thumbnails & WithInterval(const Aws::String &value)
Definition Thumbnails.h:66
AWS_ELASTICTRANSCODER_API Thumbnails & operator=(Aws::Utils::Json::JsonView jsonValue)
Thumbnails & WithPaddingPolicy(Aws::String &&value)
Definition Thumbnails.h:199
Thumbnails & WithAspectRatio(const char *value)
Definition Thumbnails.h:112
void SetResolution(const char *value)
Definition Thumbnails.h:87
void SetPaddingPolicy(const Aws::String &value)
Definition Thumbnails.h:195
Thumbnails & WithMaxHeight(const Aws::String &value)
Definition Thumbnails.h:142
void SetMaxHeight(const Aws::String &value)
Definition Thumbnails.h:139
void SetInterval(Aws::String &&value)
Definition Thumbnails.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue