AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobTemplate.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AccelerationSettings.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mediaconvert/model/JobTemplateSettings.h>
13#include <aws/mediaconvert/model/StatusUpdateInterval.h>
14#include <aws/mediaconvert/model/Type.h>
15#include <aws/mediaconvert/model/HopDestination.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_MEDIACONVERT_API JobTemplate();
43 AWS_MEDIACONVERT_API JobTemplate(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API JobTemplate& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const AccelerationSettings& GetAccelerationSettings() const{ return m_accelerationSettings; }
54 inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
55 inline void SetAccelerationSettings(const AccelerationSettings& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = value; }
56 inline void SetAccelerationSettings(AccelerationSettings&& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = std::move(value); }
58 inline JobTemplate& WithAccelerationSettings(AccelerationSettings&& value) { SetAccelerationSettings(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetArn() const{ return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
68 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 inline JobTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 inline JobTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 inline JobTemplate& WithArn(const char* value) { SetArn(value); return *this;}
74
76
79 inline const Aws::String& GetCategory() const{ return m_category; }
80 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
81 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
82 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
83 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
84 inline JobTemplate& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
85 inline JobTemplate& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
86 inline JobTemplate& WithCategory(const char* value) { SetCategory(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
96 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
97 inline JobTemplate& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
98 inline JobTemplate& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetDescription() const{ return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
108 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
109 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
110 inline JobTemplate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
111 inline JobTemplate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
112 inline JobTemplate& WithDescription(const char* value) { SetDescription(value); return *this;}
114
116
119 inline const Aws::Vector<HopDestination>& GetHopDestinations() const{ return m_hopDestinations; }
120 inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
121 inline void SetHopDestinations(const Aws::Vector<HopDestination>& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = value; }
122 inline void SetHopDestinations(Aws::Vector<HopDestination>&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = std::move(value); }
124 inline JobTemplate& WithHopDestinations(Aws::Vector<HopDestination>&& value) { SetHopDestinations(std::move(value)); return *this;}
125 inline JobTemplate& AddHopDestinations(const HopDestination& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(value); return *this; }
126 inline JobTemplate& AddHopDestinations(HopDestination&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(std::move(value)); return *this; }
128
130
133 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
134 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
135 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
136 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
137 inline JobTemplate& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
138 inline JobTemplate& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
140
142
146 inline const Aws::String& GetName() const{ return m_name; }
147 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
148 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
149 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
150 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
151 inline JobTemplate& WithName(const Aws::String& value) { SetName(value); return *this;}
152 inline JobTemplate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 inline JobTemplate& WithName(const char* value) { SetName(value); return *this;}
155
157
160 inline int GetPriority() const{ return m_priority; }
161 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
162 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
163 inline JobTemplate& WithPriority(int value) { SetPriority(value); return *this;}
165
167
171 inline const Aws::String& GetQueue() const{ return m_queue; }
172 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
173 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
174 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
175 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
176 inline JobTemplate& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
177 inline JobTemplate& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
178 inline JobTemplate& WithQueue(const char* value) { SetQueue(value); return *this;}
180
182
186 inline const JobTemplateSettings& GetSettings() const{ return m_settings; }
187 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
188 inline void SetSettings(const JobTemplateSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
189 inline void SetSettings(JobTemplateSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
190 inline JobTemplate& WithSettings(const JobTemplateSettings& value) { SetSettings(value); return *this;}
191 inline JobTemplate& WithSettings(JobTemplateSettings&& value) { SetSettings(std::move(value)); return *this;}
193
195
201 inline const StatusUpdateInterval& GetStatusUpdateInterval() const{ return m_statusUpdateInterval; }
202 inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
203 inline void SetStatusUpdateInterval(const StatusUpdateInterval& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = value; }
204 inline void SetStatusUpdateInterval(StatusUpdateInterval&& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = std::move(value); }
206 inline JobTemplate& WithStatusUpdateInterval(StatusUpdateInterval&& value) { SetStatusUpdateInterval(std::move(value)); return *this;}
208
210
214 inline const Type& GetType() const{ return m_type; }
215 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
216 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
217 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
218 inline JobTemplate& WithType(const Type& value) { SetType(value); return *this;}
219 inline JobTemplate& WithType(Type&& value) { SetType(std::move(value)); return *this;}
221 private:
222
223 AccelerationSettings m_accelerationSettings;
224 bool m_accelerationSettingsHasBeenSet = false;
225
226 Aws::String m_arn;
227 bool m_arnHasBeenSet = false;
228
229 Aws::String m_category;
230 bool m_categoryHasBeenSet = false;
231
232 Aws::Utils::DateTime m_createdAt;
233 bool m_createdAtHasBeenSet = false;
234
235 Aws::String m_description;
236 bool m_descriptionHasBeenSet = false;
237
238 Aws::Vector<HopDestination> m_hopDestinations;
239 bool m_hopDestinationsHasBeenSet = false;
240
241 Aws::Utils::DateTime m_lastUpdated;
242 bool m_lastUpdatedHasBeenSet = false;
243
244 Aws::String m_name;
245 bool m_nameHasBeenSet = false;
246
247 int m_priority;
248 bool m_priorityHasBeenSet = false;
249
250 Aws::String m_queue;
251 bool m_queueHasBeenSet = false;
252
253 JobTemplateSettings m_settings;
254 bool m_settingsHasBeenSet = false;
255
256 StatusUpdateInterval m_statusUpdateInterval;
257 bool m_statusUpdateIntervalHasBeenSet = false;
258
259 Type m_type;
260 bool m_typeHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace MediaConvert
265} // namespace Aws
void SetName(Aws::String &&value)
JobTemplate & WithStatusUpdateInterval(const StatusUpdateInterval &value)
void SetCategory(const char *value)
Definition JobTemplate.h:83
JobTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition JobTemplate.h:98
JobTemplate & WithQueue(const Aws::String &value)
JobTemplate & WithType(const Type &value)
void SetQueue(Aws::String &&value)
JobTemplate & WithName(const Aws::String &value)
JobTemplate & WithLastUpdated(const Aws::Utils::DateTime &value)
void SetStatusUpdateInterval(StatusUpdateInterval &&value)
JobTemplate & WithName(Aws::String &&value)
void SetArn(const Aws::String &value)
Definition JobTemplate.h:67
JobTemplate & WithArn(const Aws::String &value)
Definition JobTemplate.h:70
JobTemplate & WithQueue(const char *value)
JobTemplate & WithCategory(Aws::String &&value)
Definition JobTemplate.h:85
JobTemplate & WithDescription(Aws::String &&value)
JobTemplate & WithAccelerationSettings(AccelerationSettings &&value)
Definition JobTemplate.h:58
AWS_MEDIACONVERT_API JobTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetAccelerationSettings(AccelerationSettings &&value)
Definition JobTemplate.h:56
JobTemplate & WithType(Type &&value)
void SetDescription(Aws::String &&value)
void SetName(const Aws::String &value)
JobTemplate & WithHopDestinations(Aws::Vector< HopDestination > &&value)
void SetCategory(const Aws::String &value)
Definition JobTemplate.h:81
JobTemplate & WithDescription(const Aws::String &value)
void SetHopDestinations(const Aws::Vector< HopDestination > &value)
const Aws::String & GetName() const
JobTemplate & WithQueue(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition JobTemplate.h:95
const StatusUpdateInterval & GetStatusUpdateInterval() const
JobTemplate & WithHopDestinations(const Aws::Vector< HopDestination > &value)
JobTemplate & WithPriority(int value)
void SetCategory(Aws::String &&value)
Definition JobTemplate.h:82
void SetLastUpdated(const Aws::Utils::DateTime &value)
void SetSettings(JobTemplateSettings &&value)
void SetType(const Type &value)
JobTemplate & WithArn(const char *value)
Definition JobTemplate.h:72
JobTemplate & WithArn(Aws::String &&value)
Definition JobTemplate.h:71
JobTemplate & WithCategory(const Aws::String &value)
Definition JobTemplate.h:84
AWS_MEDIACONVERT_API JobTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
JobTemplate & WithSettings(const JobTemplateSettings &value)
const Aws::String & GetDescription() const
AWS_MEDIACONVERT_API JobTemplate()
void SetAccelerationSettings(const AccelerationSettings &value)
Definition JobTemplate.h:55
const Aws::String & GetArn() const
Definition JobTemplate.h:65
void SetArn(const char *value)
Definition JobTemplate.h:69
JobTemplate & WithLastUpdated(Aws::Utils::DateTime &&value)
JobTemplate & AddHopDestinations(const HopDestination &value)
JobTemplate & AddHopDestinations(HopDestination &&value)
JobTemplate & WithDescription(const char *value)
JobTemplate & WithAccelerationSettings(const AccelerationSettings &value)
Definition JobTemplate.h:57
void SetDescription(const char *value)
JobTemplate & WithCategory(const char *value)
Definition JobTemplate.h:86
const JobTemplateSettings & GetSettings() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition JobTemplate.h:96
JobTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition JobTemplate.h:97
const Aws::String & GetQueue() const
const Aws::Utils::DateTime & GetLastUpdated() const
void SetQueue(const char *value)
void SetName(const char *value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
const AccelerationSettings & GetAccelerationSettings() const
Definition JobTemplate.h:53
JobTemplate & WithName(const char *value)
JobTemplate & WithStatusUpdateInterval(StatusUpdateInterval &&value)
const Aws::String & GetCategory() const
Definition JobTemplate.h:79
const Aws::Vector< HopDestination > & GetHopDestinations() const
void SetStatusUpdateInterval(const StatusUpdateInterval &value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
void SetHopDestinations(Aws::Vector< HopDestination > &&value)
void SetQueue(const Aws::String &value)
JobTemplate & WithSettings(JobTemplateSettings &&value)
void SetArn(Aws::String &&value)
Definition JobTemplate.h:68
const Aws::Utils::DateTime & GetCreatedAt() const
Definition JobTemplate.h:93
void SetSettings(const JobTemplateSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue