AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateJobTemplateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/MediaConvertRequest.h>
10#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
11#include <aws/mediaconvert/model/AccelerationSettings.h>
12#include <aws/mediaconvert/model/HopDestination.h>
13#include <aws/mediaconvert/model/JobTemplateSettings.h>
14#include <aws/mediaconvert/model/StatusUpdateInterval.h>
15
16#include <utility>
17
18namespace Aws {
19namespace MediaConvert {
20namespace Model {
21
25 public:
26 AWS_MEDIACONVERT_API UpdateJobTemplateRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateJobTemplate"; }
33
34 AWS_MEDIACONVERT_API Aws::String SerializePayload() const override;
35
37
43 inline const AccelerationSettings& GetAccelerationSettings() const { return m_accelerationSettings; }
44 inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
45 template <typename AccelerationSettingsT = AccelerationSettings>
46 void SetAccelerationSettings(AccelerationSettingsT&& value) {
47 m_accelerationSettingsHasBeenSet = true;
48 m_accelerationSettings = std::forward<AccelerationSettingsT>(value);
49 }
50 template <typename AccelerationSettingsT = AccelerationSettings>
51 UpdateJobTemplateRequest& WithAccelerationSettings(AccelerationSettingsT&& value) {
52 SetAccelerationSettings(std::forward<AccelerationSettingsT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetCategory() const { return m_category; }
62 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
63 template <typename CategoryT = Aws::String>
64 void SetCategory(CategoryT&& value) {
65 m_categoryHasBeenSet = true;
66 m_category = std::forward<CategoryT>(value);
67 }
68 template <typename CategoryT = Aws::String>
70 SetCategory(std::forward<CategoryT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Vector<HopDestination>& GetHopDestinations() const { return m_hopDestinations; }
98 inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
99 template <typename HopDestinationsT = Aws::Vector<HopDestination>>
100 void SetHopDestinations(HopDestinationsT&& value) {
101 m_hopDestinationsHasBeenSet = true;
102 m_hopDestinations = std::forward<HopDestinationsT>(value);
103 }
104 template <typename HopDestinationsT = Aws::Vector<HopDestination>>
106 SetHopDestinations(std::forward<HopDestinationsT>(value));
107 return *this;
108 }
109 template <typename HopDestinationsT = HopDestination>
110 UpdateJobTemplateRequest& AddHopDestinations(HopDestinationsT&& value) {
111 m_hopDestinationsHasBeenSet = true;
112 m_hopDestinations.emplace_back(std::forward<HopDestinationsT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetName() const { return m_name; }
122 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
123 template <typename NameT = Aws::String>
124 void SetName(NameT&& value) {
125 m_nameHasBeenSet = true;
126 m_name = std::forward<NameT>(value);
127 }
128 template <typename NameT = Aws::String>
130 SetName(std::forward<NameT>(value));
131 return *this;
132 }
134
136
142 inline int GetPriority() const { return m_priority; }
143 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
144 inline void SetPriority(int value) {
145 m_priorityHasBeenSet = true;
146 m_priority = value;
147 }
149 SetPriority(value);
150 return *this;
151 }
153
155
158 inline const Aws::String& GetQueue() const { return m_queue; }
159 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
160 template <typename QueueT = Aws::String>
161 void SetQueue(QueueT&& value) {
162 m_queueHasBeenSet = true;
163 m_queue = std::forward<QueueT>(value);
164 }
165 template <typename QueueT = Aws::String>
167 SetQueue(std::forward<QueueT>(value));
168 return *this;
169 }
171
173
177 inline const JobTemplateSettings& GetSettings() const { return m_settings; }
178 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
179 template <typename SettingsT = JobTemplateSettings>
180 void SetSettings(SettingsT&& value) {
181 m_settingsHasBeenSet = true;
182 m_settings = std::forward<SettingsT>(value);
183 }
184 template <typename SettingsT = JobTemplateSettings>
186 SetSettings(std::forward<SettingsT>(value));
187 return *this;
188 }
190
192
198 inline StatusUpdateInterval GetStatusUpdateInterval() const { return m_statusUpdateInterval; }
199 inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
201 m_statusUpdateIntervalHasBeenSet = true;
202 m_statusUpdateInterval = value;
203 }
206 return *this;
207 }
209 private:
210 AccelerationSettings m_accelerationSettings;
211
212 Aws::String m_category;
213
214 Aws::String m_description;
215
216 Aws::Vector<HopDestination> m_hopDestinations;
217
218 Aws::String m_name;
219
220 int m_priority{0};
221
222 Aws::String m_queue;
223
224 JobTemplateSettings m_settings;
225
227 bool m_accelerationSettingsHasBeenSet = false;
228 bool m_categoryHasBeenSet = false;
229 bool m_descriptionHasBeenSet = false;
230 bool m_hopDestinationsHasBeenSet = false;
231 bool m_nameHasBeenSet = false;
232 bool m_priorityHasBeenSet = false;
233 bool m_queueHasBeenSet = false;
234 bool m_settingsHasBeenSet = false;
235 bool m_statusUpdateIntervalHasBeenSet = false;
236};
237
238} // namespace Model
239} // namespace MediaConvert
240} // namespace Aws
UpdateJobTemplateRequest & WithDescription(DescriptionT &&value)
const AccelerationSettings & GetAccelerationSettings() const
virtual const char * GetServiceRequestName() const override
UpdateJobTemplateRequest & WithAccelerationSettings(AccelerationSettingsT &&value)
UpdateJobTemplateRequest & WithStatusUpdateInterval(StatusUpdateInterval value)
void SetAccelerationSettings(AccelerationSettingsT &&value)
UpdateJobTemplateRequest & WithName(NameT &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
UpdateJobTemplateRequest & WithQueue(QueueT &&value)
UpdateJobTemplateRequest & WithSettings(SettingsT &&value)
const Aws::Vector< HopDestination > & GetHopDestinations() const
UpdateJobTemplateRequest & WithCategory(CategoryT &&value)
UpdateJobTemplateRequest & AddHopDestinations(HopDestinationsT &&value)
AWS_MEDIACONVERT_API UpdateJobTemplateRequest()=default
UpdateJobTemplateRequest & WithHopDestinations(HopDestinationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector