AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateJobTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace MediaConvert
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateJobTemplate"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
46  inline const AccelerationSettings& GetAccelerationSettings() const{ return m_accelerationSettings; }
47 
54  inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
55 
62  inline void SetAccelerationSettings(const AccelerationSettings& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = value; }
63 
70  inline void SetAccelerationSettings(AccelerationSettings&& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = std::move(value); }
71 
78  inline UpdateJobTemplateRequest& WithAccelerationSettings(const AccelerationSettings& value) { SetAccelerationSettings(value); return *this;}
79 
86  inline UpdateJobTemplateRequest& WithAccelerationSettings(AccelerationSettings&& value) { SetAccelerationSettings(std::move(value)); return *this;}
87 
88 
92  inline const Aws::String& GetCategory() const{ return m_category; }
93 
97  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
98 
102  inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
103 
107  inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
108 
112  inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
113 
117  inline UpdateJobTemplateRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
118 
122  inline UpdateJobTemplateRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
123 
127  inline UpdateJobTemplateRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
128 
129 
133  inline const Aws::String& GetDescription() const{ return m_description; }
134 
138  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
139 
143  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
144 
148  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
149 
153  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
154 
158  inline UpdateJobTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
159 
163  inline UpdateJobTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
164 
168  inline UpdateJobTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
169 
170 
174  inline const Aws::Vector<HopDestination>& GetHopDestinations() const{ return m_hopDestinations; }
175 
179  inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
180 
184  inline void SetHopDestinations(const Aws::Vector<HopDestination>& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = value; }
185 
189  inline void SetHopDestinations(Aws::Vector<HopDestination>&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = std::move(value); }
190 
194  inline UpdateJobTemplateRequest& WithHopDestinations(const Aws::Vector<HopDestination>& value) { SetHopDestinations(value); return *this;}
195 
199  inline UpdateJobTemplateRequest& WithHopDestinations(Aws::Vector<HopDestination>&& value) { SetHopDestinations(std::move(value)); return *this;}
200 
204  inline UpdateJobTemplateRequest& AddHopDestinations(const HopDestination& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(value); return *this; }
205 
209  inline UpdateJobTemplateRequest& AddHopDestinations(HopDestination&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(std::move(value)); return *this; }
210 
211 
215  inline const Aws::String& GetName() const{ return m_name; }
216 
220  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
221 
225  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
226 
230  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
231 
235  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
236 
240  inline UpdateJobTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
241 
245  inline UpdateJobTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
246 
250  inline UpdateJobTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
251 
252 
259  inline int GetPriority() const{ return m_priority; }
260 
267  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
268 
275  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
276 
283  inline UpdateJobTemplateRequest& WithPriority(int value) { SetPriority(value); return *this;}
284 
285 
289  inline const Aws::String& GetQueue() const{ return m_queue; }
290 
294  inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
295 
299  inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
300 
304  inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
305 
309  inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
310 
314  inline UpdateJobTemplateRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
315 
319  inline UpdateJobTemplateRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
320 
324  inline UpdateJobTemplateRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
325 
326 
331  inline const JobTemplateSettings& GetSettings() const{ return m_settings; }
332 
337  inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
338 
343  inline void SetSettings(const JobTemplateSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
344 
349  inline void SetSettings(JobTemplateSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
350 
355  inline UpdateJobTemplateRequest& WithSettings(const JobTemplateSettings& value) { SetSettings(value); return *this;}
356 
361  inline UpdateJobTemplateRequest& WithSettings(JobTemplateSettings&& value) { SetSettings(std::move(value)); return *this;}
362 
363 
370  inline const StatusUpdateInterval& GetStatusUpdateInterval() const{ return m_statusUpdateInterval; }
371 
378  inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
379 
386  inline void SetStatusUpdateInterval(const StatusUpdateInterval& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = value; }
387 
394  inline void SetStatusUpdateInterval(StatusUpdateInterval&& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = std::move(value); }
395 
402  inline UpdateJobTemplateRequest& WithStatusUpdateInterval(const StatusUpdateInterval& value) { SetStatusUpdateInterval(value); return *this;}
403 
410  inline UpdateJobTemplateRequest& WithStatusUpdateInterval(StatusUpdateInterval&& value) { SetStatusUpdateInterval(std::move(value)); return *this;}
411 
412  private:
413 
414  AccelerationSettings m_accelerationSettings;
415  bool m_accelerationSettingsHasBeenSet;
416 
417  Aws::String m_category;
418  bool m_categoryHasBeenSet;
419 
420  Aws::String m_description;
421  bool m_descriptionHasBeenSet;
422 
423  Aws::Vector<HopDestination> m_hopDestinations;
424  bool m_hopDestinationsHasBeenSet;
425 
426  Aws::String m_name;
427  bool m_nameHasBeenSet;
428 
429  int m_priority;
430  bool m_priorityHasBeenSet;
431 
432  Aws::String m_queue;
433  bool m_queueHasBeenSet;
434 
435  JobTemplateSettings m_settings;
436  bool m_settingsHasBeenSet;
437 
438  StatusUpdateInterval m_statusUpdateInterval;
439  bool m_statusUpdateIntervalHasBeenSet;
440  };
441 
442 } // namespace Model
443 } // namespace MediaConvert
444 } // namespace Aws
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithStatusUpdateInterval
UpdateJobTemplateRequest & WithStatusUpdateInterval(StatusUpdateInterval &&value)
Definition: UpdateJobTemplateRequest.h:410
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SettingsHasBeenSet
bool SettingsHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:337
Aws::MediaConvert::Model::StatusUpdateInterval
StatusUpdateInterval
Definition: StatusUpdateInterval.h:17
Aws::MediaConvert::Model::HopDestination
Definition: HopDestination.h:33
Aws::MediaConvert::Model::UpdateJobTemplateRequest
Definition: UpdateJobTemplateRequest.h:27
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetName
void SetName(const char *value)
Definition: UpdateJobTemplateRequest.h:235
Aws::MediaConvert::Model::AccelerationSettings
Definition: AccelerationSettings.h:33
MediaConvertRequest.h
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetStatusUpdateInterval
void SetStatusUpdateInterval(StatusUpdateInterval &&value)
Definition: UpdateJobTemplateRequest.h:394
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithName
UpdateJobTemplateRequest & WithName(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:240
Aws::MediaConvert::Model::UpdateJobTemplateRequest::HopDestinationsHasBeenSet
bool HopDestinationsHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:179
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:143
Aws::MediaConvert::Model::UpdateJobTemplateRequest::UpdateJobTemplateRequest
UpdateJobTemplateRequest()
Aws::MediaConvert::Model::UpdateJobTemplateRequest::AddHopDestinations
UpdateJobTemplateRequest & AddHopDestinations(HopDestination &&value)
Definition: UpdateJobTemplateRequest.h:209
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithDescription
UpdateJobTemplateRequest & WithDescription(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:158
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetQueue
void SetQueue(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:299
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
JobTemplateSettings.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithSettings
UpdateJobTemplateRequest & WithSettings(const JobTemplateSettings &value)
Definition: UpdateJobTemplateRequest.h:355
AWSVector.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetPriority
int GetPriority() const
Definition: UpdateJobTemplateRequest.h:259
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithCategory
UpdateJobTemplateRequest & WithCategory(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:122
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::UpdateJobTemplateRequest::StatusUpdateIntervalHasBeenSet
bool StatusUpdateIntervalHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:378
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetStatusUpdateInterval
void SetStatusUpdateInterval(const StatusUpdateInterval &value)
Definition: UpdateJobTemplateRequest.h:386
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithQueue
UpdateJobTemplateRequest & WithQueue(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:314
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithQueue
UpdateJobTemplateRequest & WithQueue(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:319
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetHopDestinations
void SetHopDestinations(Aws::Vector< HopDestination > &&value)
Definition: UpdateJobTemplateRequest.h:189
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithCategory
UpdateJobTemplateRequest & WithCategory(const char *value)
Definition: UpdateJobTemplateRequest.h:127
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithAccelerationSettings
UpdateJobTemplateRequest & WithAccelerationSettings(const AccelerationSettings &value)
Definition: UpdateJobTemplateRequest.h:78
Aws::MediaConvert::Model::JobTemplateSettings
Definition: JobTemplateSettings.h:44
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetSettings
const JobTemplateSettings & GetSettings() const
Definition: UpdateJobTemplateRequest.h:331
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithDescription
UpdateJobTemplateRequest & WithDescription(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:163
Aws::MediaConvert::Model::UpdateJobTemplateRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:220
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetAccelerationSettings
void SetAccelerationSettings(const AccelerationSettings &value)
Definition: UpdateJobTemplateRequest.h:62
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithDescription
UpdateJobTemplateRequest & WithDescription(const char *value)
Definition: UpdateJobTemplateRequest.h:168
Aws::MediaConvert::Model::UpdateJobTemplateRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:138
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
StatusUpdateInterval.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetSettings
void SetSettings(JobTemplateSettings &&value)
Definition: UpdateJobTemplateRequest.h:349
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithName
UpdateJobTemplateRequest & WithName(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:245
HopDestination.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithHopDestinations
UpdateJobTemplateRequest & WithHopDestinations(Aws::Vector< HopDestination > &&value)
Definition: UpdateJobTemplateRequest.h:199
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetCategory
void SetCategory(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:107
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetCategory
void SetCategory(const char *value)
Definition: UpdateJobTemplateRequest.h:112
AWSString.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetQueue
void SetQueue(const char *value)
Definition: UpdateJobTemplateRequest.h:309
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetAccelerationSettings
const AccelerationSettings & GetAccelerationSettings() const
Definition: UpdateJobTemplateRequest.h:46
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithPriority
UpdateJobTemplateRequest & WithPriority(int value)
Definition: UpdateJobTemplateRequest.h:283
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetAccelerationSettings
void SetAccelerationSettings(AccelerationSettings &&value)
Definition: UpdateJobTemplateRequest.h:70
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:230
Aws::MediaConvert::Model::UpdateJobTemplateRequest::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:267
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithName
UpdateJobTemplateRequest & WithName(const char *value)
Definition: UpdateJobTemplateRequest.h:250
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithHopDestinations
UpdateJobTemplateRequest & WithHopDestinations(const Aws::Vector< HopDestination > &value)
Definition: UpdateJobTemplateRequest.h:194
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetStatusUpdateInterval
const StatusUpdateInterval & GetStatusUpdateInterval() const
Definition: UpdateJobTemplateRequest.h:370
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetHopDestinations
const Aws::Vector< HopDestination > & GetHopDestinations() const
Definition: UpdateJobTemplateRequest.h:174
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetQueue
const Aws::String & GetQueue() const
Definition: UpdateJobTemplateRequest.h:289
Aws::MediaConvert::Model::UpdateJobTemplateRequest::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:97
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetCategory
void SetCategory(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:102
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:225
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetQueue
void SetQueue(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:304
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithAccelerationSettings
UpdateJobTemplateRequest & WithAccelerationSettings(AccelerationSettings &&value)
Definition: UpdateJobTemplateRequest.h:86
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateJobTemplateRequest.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetPriority
void SetPriority(int value)
Definition: UpdateJobTemplateRequest.h:275
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithSettings
UpdateJobTemplateRequest & WithSettings(JobTemplateSettings &&value)
Definition: UpdateJobTemplateRequest.h:361
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateJobTemplateRequest.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetSettings
void SetSettings(const JobTemplateSettings &value)
Definition: UpdateJobTemplateRequest.h:343
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithStatusUpdateInterval
UpdateJobTemplateRequest & WithStatusUpdateInterval(const StatusUpdateInterval &value)
Definition: UpdateJobTemplateRequest.h:402
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithCategory
UpdateJobTemplateRequest & WithCategory(const Aws::String &value)
Definition: UpdateJobTemplateRequest.h:117
Aws::MediaConvert::Model::UpdateJobTemplateRequest::WithQueue
UpdateJobTemplateRequest & WithQueue(const char *value)
Definition: UpdateJobTemplateRequest.h:324
Aws::MediaConvert::Model::UpdateJobTemplateRequest::AccelerationSettingsHasBeenSet
bool AccelerationSettingsHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:54
Aws::MediaConvert::Model::UpdateJobTemplateRequest::QueueHasBeenSet
bool QueueHasBeenSet() const
Definition: UpdateJobTemplateRequest.h:294
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetCategory
const Aws::String & GetCategory() const
Definition: UpdateJobTemplateRequest.h:92
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetHopDestinations
void SetHopDestinations(const Aws::Vector< HopDestination > &value)
Definition: UpdateJobTemplateRequest.h:184
Aws::MediaConvert::Model::UpdateJobTemplateRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateJobTemplateRequest.h:153
AccelerationSettings.h
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateJobTemplateRequest.h:35
Aws::MediaConvert::Model::UpdateJobTemplateRequest::AddHopDestinations
UpdateJobTemplateRequest & AddHopDestinations(const HopDestination &value)
Definition: UpdateJobTemplateRequest.h:204
Aws::MediaConvert::Model::UpdateJobTemplateRequest::GetName
const Aws::String & GetName() const
Definition: UpdateJobTemplateRequest.h:215