AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateJobTemplateRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/mediaconvert/model/AccelerationSettings.h>
10#include <aws/core/utils/memory/stl/AWSString.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/HopDestination.h>
15#include <utility>
16
17namespace Aws
18{
19namespace MediaConvert
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MEDIACONVERT_API UpdateJobTemplateRequest();
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
38
39
41
47 inline const AccelerationSettings& GetAccelerationSettings() const{ return m_accelerationSettings; }
48 inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
49 inline void SetAccelerationSettings(const AccelerationSettings& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = value; }
50 inline void SetAccelerationSettings(AccelerationSettings&& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = std::move(value); }
54
56
59 inline const Aws::String& GetCategory() const{ return m_category; }
60 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
61 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
62 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
63 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
64 inline UpdateJobTemplateRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
65 inline UpdateJobTemplateRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
66 inline UpdateJobTemplateRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline UpdateJobTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline UpdateJobTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline UpdateJobTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::Vector<HopDestination>& GetHopDestinations() const{ return m_hopDestinations; }
88 inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
89 inline void SetHopDestinations(const Aws::Vector<HopDestination>& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = value; }
90 inline void SetHopDestinations(Aws::Vector<HopDestination>&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = std::move(value); }
93 inline UpdateJobTemplateRequest& AddHopDestinations(const HopDestination& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(value); return *this; }
94 inline UpdateJobTemplateRequest& AddHopDestinations(HopDestination&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(std::move(value)); return *this; }
96
98
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline UpdateJobTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline UpdateJobTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline UpdateJobTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
110
112
118 inline int GetPriority() const{ return m_priority; }
119 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
120 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
121 inline UpdateJobTemplateRequest& WithPriority(int value) { SetPriority(value); return *this;}
123
125
128 inline const Aws::String& GetQueue() const{ return m_queue; }
129 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
130 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
131 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
132 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
133 inline UpdateJobTemplateRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
134 inline UpdateJobTemplateRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
135 inline UpdateJobTemplateRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
137
139
143 inline const JobTemplateSettings& GetSettings() const{ return m_settings; }
144 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
145 inline void SetSettings(const JobTemplateSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
146 inline void SetSettings(JobTemplateSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
147 inline UpdateJobTemplateRequest& WithSettings(const JobTemplateSettings& value) { SetSettings(value); return *this;}
148 inline UpdateJobTemplateRequest& WithSettings(JobTemplateSettings&& value) { SetSettings(std::move(value)); return *this;}
150
152
158 inline const StatusUpdateInterval& GetStatusUpdateInterval() const{ return m_statusUpdateInterval; }
159 inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
160 inline void SetStatusUpdateInterval(const StatusUpdateInterval& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = value; }
161 inline void SetStatusUpdateInterval(StatusUpdateInterval&& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = std::move(value); }
165 private:
166
167 AccelerationSettings m_accelerationSettings;
168 bool m_accelerationSettingsHasBeenSet = false;
169
170 Aws::String m_category;
171 bool m_categoryHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::Vector<HopDestination> m_hopDestinations;
177 bool m_hopDestinationsHasBeenSet = false;
178
179 Aws::String m_name;
180 bool m_nameHasBeenSet = false;
181
182 int m_priority;
183 bool m_priorityHasBeenSet = false;
184
185 Aws::String m_queue;
186 bool m_queueHasBeenSet = false;
187
188 JobTemplateSettings m_settings;
189 bool m_settingsHasBeenSet = false;
190
191 StatusUpdateInterval m_statusUpdateInterval;
192 bool m_statusUpdateIntervalHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace MediaConvert
197} // namespace Aws
UpdateJobTemplateRequest & WithAccelerationSettings(AccelerationSettings &&value)
UpdateJobTemplateRequest & WithStatusUpdateInterval(StatusUpdateInterval &&value)
const StatusUpdateInterval & GetStatusUpdateInterval() const
UpdateJobTemplateRequest & AddHopDestinations(HopDestination &&value)
const AccelerationSettings & GetAccelerationSettings() const
virtual const char * GetServiceRequestName() const override
UpdateJobTemplateRequest & WithQueue(const char *value)
void SetHopDestinations(const Aws::Vector< HopDestination > &value)
UpdateJobTemplateRequest & WithAccelerationSettings(const AccelerationSettings &value)
UpdateJobTemplateRequest & WithCategory(const Aws::String &value)
UpdateJobTemplateRequest & WithStatusUpdateInterval(const StatusUpdateInterval &value)
UpdateJobTemplateRequest & WithName(Aws::String &&value)
UpdateJobTemplateRequest & WithQueue(Aws::String &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
void SetHopDestinations(Aws::Vector< HopDestination > &&value)
UpdateJobTemplateRequest & WithDescription(Aws::String &&value)
const Aws::Vector< HopDestination > & GetHopDestinations() const
UpdateJobTemplateRequest & WithHopDestinations(const Aws::Vector< HopDestination > &value)
UpdateJobTemplateRequest & WithQueue(const Aws::String &value)
UpdateJobTemplateRequest & WithDescription(const char *value)
UpdateJobTemplateRequest & WithCategory(const char *value)
void SetStatusUpdateInterval(const StatusUpdateInterval &value)
UpdateJobTemplateRequest & WithSettings(const JobTemplateSettings &value)
UpdateJobTemplateRequest & WithName(const char *value)
UpdateJobTemplateRequest & WithCategory(Aws::String &&value)
UpdateJobTemplateRequest & WithDescription(const Aws::String &value)
UpdateJobTemplateRequest & WithHopDestinations(Aws::Vector< HopDestination > &&value)
void SetAccelerationSettings(const AccelerationSettings &value)
UpdateJobTemplateRequest & AddHopDestinations(const HopDestination &value)
UpdateJobTemplateRequest & WithSettings(JobTemplateSettings &&value)
UpdateJobTemplateRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector