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/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mediaconvert/model/PresetSettings.h>
11#include <aws/mediaconvert/model/Type.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 MediaConvert
25{
26namespace Model
27{
28
36 class Preset
37 {
38 public:
39 AWS_MEDIACONVERT_API Preset();
40 AWS_MEDIACONVERT_API Preset(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Preset& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline Preset& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline Preset& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline Preset& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetCategory() const{ return m_category; }
64 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
65 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
66 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
67 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
68 inline Preset& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
69 inline Preset& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
70 inline Preset& WithCategory(const char* value) { SetCategory(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
80 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
81 inline Preset& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
82 inline Preset& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline Preset& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline Preset& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline Preset& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
104 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
105 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
106 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
107 inline Preset& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
108 inline Preset& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetName() const{ return m_name; }
116 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
117 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
118 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
119 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
120 inline Preset& WithName(const Aws::String& value) { SetName(value); return *this;}
121 inline Preset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 inline Preset& WithName(const char* value) { SetName(value); return *this;}
124
126
129 inline const PresetSettings& GetSettings() const{ return m_settings; }
130 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
131 inline void SetSettings(const PresetSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
132 inline void SetSettings(PresetSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
133 inline Preset& WithSettings(const PresetSettings& value) { SetSettings(value); return *this;}
134 inline Preset& WithSettings(PresetSettings&& value) { SetSettings(std::move(value)); return *this;}
136
138
142 inline const Type& GetType() const{ return m_type; }
143 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
144 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
145 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
146 inline Preset& WithType(const Type& value) { SetType(value); return *this;}
147 inline Preset& WithType(Type&& value) { SetType(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 Aws::String m_category;
155 bool m_categoryHasBeenSet = false;
156
157 Aws::Utils::DateTime m_createdAt;
158 bool m_createdAtHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdated;
164 bool m_lastUpdatedHasBeenSet = false;
165
166 Aws::String m_name;
167 bool m_nameHasBeenSet = false;
168
169 PresetSettings m_settings;
170 bool m_settingsHasBeenSet = false;
171
172 Type m_type;
173 bool m_typeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace MediaConvert
178} // namespace Aws
void SetArn(const char *value)
Definition Preset.h:53
Preset & WithSettings(PresetSettings &&value)
Definition Preset.h:134
Preset & WithLastUpdated(Aws::Utils::DateTime &&value)
Definition Preset.h:108
bool LastUpdatedHasBeenSet() const
Definition Preset.h:104
Preset & WithDescription(const Aws::String &value)
Definition Preset.h:94
Preset & WithLastUpdated(const Aws::Utils::DateTime &value)
Definition Preset.h:107
const Aws::String & GetArn() const
Definition Preset.h:49
Preset & WithCategory(Aws::String &&value)
Definition Preset.h:69
bool CreatedAtHasBeenSet() const
Definition Preset.h:78
Preset & WithName(const char *value)
Definition Preset.h:122
Preset & WithArn(const char *value)
Definition Preset.h:56
void SetLastUpdated(const Aws::Utils::DateTime &value)
Definition Preset.h:105
const Aws::String & GetDescription() const
Definition Preset.h:89
const Type & GetType() const
Definition Preset.h:142
Preset & WithType(Type &&value)
Definition Preset.h:147
bool DescriptionHasBeenSet() const
Definition Preset.h:90
void SetType(const Type &value)
Definition Preset.h:144
Preset & WithCategory(const Aws::String &value)
Definition Preset.h:68
Preset & WithDescription(const char *value)
Definition Preset.h:96
void SetCategory(const char *value)
Definition Preset.h:67
AWS_MEDIACONVERT_API Preset & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition Preset.h:93
Preset & WithName(Aws::String &&value)
Definition Preset.h:121
void SetCategory(const Aws::String &value)
Definition Preset.h:65
Preset & WithCategory(const char *value)
Definition Preset.h:70
void SetArn(Aws::String &&value)
Definition Preset.h:52
const Aws::String & GetName() const
Definition Preset.h:115
AWS_MEDIACONVERT_API Preset(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Preset.h:80
void SetName(const Aws::String &value)
Definition Preset.h:117
void SetCategory(Aws::String &&value)
Definition Preset.h:66
void SetDescription(const Aws::String &value)
Definition Preset.h:91
AWS_MEDIACONVERT_API Preset()
void SetDescription(Aws::String &&value)
Definition Preset.h:92
bool CategoryHasBeenSet() const
Definition Preset.h:64
void SetSettings(PresetSettings &&value)
Definition Preset.h:132
Preset & WithArn(Aws::String &&value)
Definition Preset.h:55
const Aws::String & GetCategory() const
Definition Preset.h:63
void SetType(Type &&value)
Definition Preset.h:145
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Preset.h:77
void SetLastUpdated(Aws::Utils::DateTime &&value)
Definition Preset.h:106
Preset & WithArn(const Aws::String &value)
Definition Preset.h:54
void SetName(const char *value)
Definition Preset.h:119
Preset & WithDescription(Aws::String &&value)
Definition Preset.h:95
void SetSettings(const PresetSettings &value)
Definition Preset.h:131
Preset & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Preset.h:81
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Preset.h:79
Preset & WithSettings(const PresetSettings &value)
Definition Preset.h:133
const Aws::Utils::DateTime & GetLastUpdated() const
Definition Preset.h:103
Preset & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Preset.h:82
Preset & WithType(const Type &value)
Definition Preset.h:146
void SetArn(const Aws::String &value)
Definition Preset.h:51
Preset & WithName(const Aws::String &value)
Definition Preset.h:120
const PresetSettings & GetSettings() const
Definition Preset.h:129
void SetName(Aws::String &&value)
Definition Preset.h:118
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue