AWS SDK for C++  1.9.159
AWS SDK for C++
Preset.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace MediaConvert
25 {
26 namespace Model
27 {
28 
37  {
38  public:
39  Preset();
43 
44 
48  inline const Aws::String& GetArn() const{ return m_arn; }
49 
53  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
54 
58  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
59 
63  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 
68  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 
73  inline Preset& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 
78  inline Preset& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
79 
83  inline Preset& WithArn(const char* value) { SetArn(value); return *this;}
84 
85 
89  inline const Aws::String& GetCategory() const{ return m_category; }
90 
94  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
95 
99  inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
100 
104  inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
105 
109  inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
110 
114  inline Preset& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
115 
119  inline Preset& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
120 
124  inline Preset& WithCategory(const char* value) { SetCategory(value); return *this;}
125 
126 
130  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
131 
135  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
136 
140  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
141 
145  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
146 
150  inline Preset& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
151 
155  inline Preset& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
156 
157 
161  inline const Aws::String& GetDescription() const{ return m_description; }
162 
166  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
167 
171  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
172 
176  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
177 
181  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
182 
186  inline Preset& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
187 
191  inline Preset& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
192 
196  inline Preset& WithDescription(const char* value) { SetDescription(value); return *this;}
197 
198 
202  inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
203 
207  inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
208 
212  inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
213 
217  inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
218 
222  inline Preset& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
223 
227  inline Preset& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
228 
229 
233  inline const Aws::String& GetName() const{ return m_name; }
234 
238  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
239 
243  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
244 
248  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
249 
253  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
254 
258  inline Preset& WithName(const Aws::String& value) { SetName(value); return *this;}
259 
263  inline Preset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
264 
268  inline Preset& WithName(const char* value) { SetName(value); return *this;}
269 
270 
274  inline const PresetSettings& GetSettings() const{ return m_settings; }
275 
279  inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
280 
284  inline void SetSettings(const PresetSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
285 
289  inline void SetSettings(PresetSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
290 
294  inline Preset& WithSettings(const PresetSettings& value) { SetSettings(value); return *this;}
295 
299  inline Preset& WithSettings(PresetSettings&& value) { SetSettings(std::move(value)); return *this;}
300 
301 
306  inline const Type& GetType() const{ return m_type; }
307 
312  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
313 
318  inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
319 
324  inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
325 
330  inline Preset& WithType(const Type& value) { SetType(value); return *this;}
331 
336  inline Preset& WithType(Type&& value) { SetType(std::move(value)); return *this;}
337 
338  private:
339 
340  Aws::String m_arn;
341  bool m_arnHasBeenSet;
342 
343  Aws::String m_category;
344  bool m_categoryHasBeenSet;
345 
346  Aws::Utils::DateTime m_createdAt;
347  bool m_createdAtHasBeenSet;
348 
349  Aws::String m_description;
350  bool m_descriptionHasBeenSet;
351 
352  Aws::Utils::DateTime m_lastUpdated;
353  bool m_lastUpdatedHasBeenSet;
354 
355  Aws::String m_name;
356  bool m_nameHasBeenSet;
357 
358  PresetSettings m_settings;
359  bool m_settingsHasBeenSet;
360 
361  Type m_type;
362  bool m_typeHasBeenSet;
363  };
364 
365 } // namespace Model
366 } // namespace MediaConvert
367 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaConvert::Model::Preset::WithDescription
Preset & WithDescription(Aws::String &&value)
Definition: Preset.h:191
Aws::MediaConvert::Model::Preset::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: Preset.h:94
PresetSettings.h
Aws::MediaConvert::Model::Preset::SetArn
void SetArn(const Aws::String &value)
Definition: Preset.h:58
Aws::MediaConvert::Model::Preset::WithSettings
Preset & WithSettings(PresetSettings &&value)
Definition: Preset.h:299
Aws::MediaConvert::Model::Preset::WithDescription
Preset & WithDescription(const char *value)
Definition: Preset.h:196
Aws::MediaConvert::Model::Preset::WithName
Preset & WithName(const Aws::String &value)
Definition: Preset.h:258
Aws::MediaConvert::Model::Preset::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Preset.h:53
Aws::MediaConvert::Model::Preset::GetName
const Aws::String & GetName() const
Definition: Preset.h:233
Aws::MediaConvert::Model::Preset::SetName
void SetName(const char *value)
Definition: Preset.h:253
Aws::MediaConvert::Model::Preset::SetSettings
void SetSettings(PresetSettings &&value)
Definition: Preset.h:289
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::Preset::Preset
Preset()
Aws::MediaConvert::Model::Preset::SetArn
void SetArn(Aws::String &&value)
Definition: Preset.h:63
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
DateTime.h
Aws::MediaConvert::Model::Preset::WithCreatedAt
Preset & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Preset.h:150
Aws::MediaConvert::Model::Preset::SetType
void SetType(const Type &value)
Definition: Preset.h:318
Aws::MediaConvert::Model::Type
Type
Definition: Type.h:17
Aws::MediaConvert::Model::Preset::GetLastUpdated
const Aws::Utils::DateTime & GetLastUpdated() const
Definition: Preset.h:202
Aws::MediaConvert::Model::Preset::SetCategory
void SetCategory(const Aws::String &value)
Definition: Preset.h:99
Aws::MediaConvert::Model::Preset::SetName
void SetName(const Aws::String &value)
Definition: Preset.h:243
Aws::MediaConvert::Model::Preset::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Preset.h:130
Aws::MediaConvert::Model::Preset::LastUpdatedHasBeenSet
bool LastUpdatedHasBeenSet() const
Definition: Preset.h:207
Aws::MediaConvert::Model::Preset::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Preset.h:312
Aws::MediaConvert::Model::Preset::SetLastUpdated
void SetLastUpdated(const Aws::Utils::DateTime &value)
Definition: Preset.h:212
Aws::MediaConvert::Model::Preset::SetArn
void SetArn(const char *value)
Definition: Preset.h:68
Aws::MediaConvert::Model::Preset::operator=
Preset & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Preset::WithLastUpdated
Preset & WithLastUpdated(Aws::Utils::DateTime &&value)
Definition: Preset.h:227
Aws::MediaConvert::Model::Preset
Definition: Preset.h:37
Aws::MediaConvert::Model::Preset::SetCategory
void SetCategory(Aws::String &&value)
Definition: Preset.h:104
Aws::MediaConvert::Model::Preset::SettingsHasBeenSet
bool SettingsHasBeenSet() const
Definition: Preset.h:279
Aws::MediaConvert::Model::Preset::WithLastUpdated
Preset & WithLastUpdated(const Aws::Utils::DateTime &value)
Definition: Preset.h:222
Aws::MediaConvert::Model::Preset::Preset
Preset(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Preset::SetDescription
void SetDescription(Aws::String &&value)
Definition: Preset.h:176
Aws::MediaConvert::Model::Preset::WithName
Preset & WithName(const char *value)
Definition: Preset.h:268
Aws::MediaConvert::Model::Preset::WithArn
Preset & WithArn(const Aws::String &value)
Definition: Preset.h:73
Aws::MediaConvert::Model::Preset::GetSettings
const PresetSettings & GetSettings() const
Definition: Preset.h:274
Aws::MediaConvert::Model::Preset::WithArn
Preset & WithArn(Aws::String &&value)
Definition: Preset.h:78
Aws::MediaConvert::Model::Preset::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Preset.h:166
Aws::MediaConvert::Model::Preset::SetName
void SetName(Aws::String &&value)
Definition: Preset.h:248
Aws::MediaConvert::Model::Preset::WithDescription
Preset & WithDescription(const Aws::String &value)
Definition: Preset.h:186
Aws::MediaConvert::Model::Preset::SetDescription
void SetDescription(const Aws::String &value)
Definition: Preset.h:171
Aws::MediaConvert::Model::Preset::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Preset.h:238
Aws::MediaConvert::Model::Preset::WithType
Preset & WithType(Type &&value)
Definition: Preset.h:336
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::Preset::WithCategory
Preset & WithCategory(const char *value)
Definition: Preset.h:124
Aws::MediaConvert::Model::PresetSettings
Definition: PresetSettings.h:36
AWSString.h
Aws::MediaConvert::Model::Preset::SetSettings
void SetSettings(const PresetSettings &value)
Definition: Preset.h:284
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Preset::WithName
Preset & WithName(Aws::String &&value)
Definition: Preset.h:263
Aws::MediaConvert::Model::Preset::SetDescription
void SetDescription(const char *value)
Definition: Preset.h:181
Aws::MediaConvert::Model::Preset::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Preset.h:145
Aws::MediaConvert::Model::Preset::SetCategory
void SetCategory(const char *value)
Definition: Preset.h:109
Aws::MediaConvert::Model::Preset::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Preset.h:135
Aws::MediaConvert::Model::Preset::WithType
Preset & WithType(const Type &value)
Definition: Preset.h:330
Aws::MediaConvert::Model::Preset::SetType
void SetType(Type &&value)
Definition: Preset.h:324
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Preset::SetLastUpdated
void SetLastUpdated(Aws::Utils::DateTime &&value)
Definition: Preset.h:217
Aws::MediaConvert::Model::Preset::GetArn
const Aws::String & GetArn() const
Definition: Preset.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::Preset::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Preset.h:140
Aws::MediaConvert::Model::Preset::GetType
const Type & GetType() const
Definition: Preset.h:306
Aws::MediaConvert::Model::Preset::WithCreatedAt
Preset & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Preset.h:155
Aws::MediaConvert::Model::Preset::WithArn
Preset & WithArn(const char *value)
Definition: Preset.h:83
Type.h
Aws::MediaConvert::Model::Preset::GetCategory
const Aws::String & GetCategory() const
Definition: Preset.h:89
Aws::MediaConvert::Model::Preset::WithSettings
Preset & WithSettings(const PresetSettings &value)
Definition: Preset.h:294
Aws::MediaConvert::Model::Preset::GetDescription
const Aws::String & GetDescription() const
Definition: Preset.h:161
Aws::MediaConvert::Model::Preset::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::Preset::WithCategory
Preset & WithCategory(Aws::String &&value)
Definition: Preset.h:119
Aws::MediaConvert::Model::Preset::WithCategory
Preset & WithCategory(const Aws::String &value)
Definition: Preset.h:114