AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateJobTemplateRequest.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/core/utils/memory/stl/AWSMap.h>
15#include <aws/mediaconvert/model/HopDestination.h>
16#include <utility>
17
18namespace Aws
19{
20namespace MediaConvert
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MEDIACONVERT_API CreateJobTemplateRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateJobTemplate"; }
37
38 AWS_MEDIACONVERT_API Aws::String SerializePayload() const override;
39
40
42
48 inline const AccelerationSettings& GetAccelerationSettings() const{ return m_accelerationSettings; }
49 inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
50 inline void SetAccelerationSettings(const AccelerationSettings& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = value; }
51 inline void SetAccelerationSettings(AccelerationSettings&& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = std::move(value); }
55
57
60 inline const Aws::String& GetCategory() const{ return m_category; }
61 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
62 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
63 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
64 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
65 inline CreateJobTemplateRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
66 inline CreateJobTemplateRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
67 inline CreateJobTemplateRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline CreateJobTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline CreateJobTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline CreateJobTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
91 inline const Aws::Vector<HopDestination>& GetHopDestinations() const{ return m_hopDestinations; }
92 inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
93 inline void SetHopDestinations(const Aws::Vector<HopDestination>& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = value; }
94 inline void SetHopDestinations(Aws::Vector<HopDestination>&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = std::move(value); }
97 inline CreateJobTemplateRequest& AddHopDestinations(const HopDestination& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(value); return *this; }
98 inline CreateJobTemplateRequest& AddHopDestinations(HopDestination&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
108 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
109 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 inline CreateJobTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
111 inline CreateJobTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 inline CreateJobTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
114
116
122 inline int GetPriority() const{ return m_priority; }
123 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
124 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
125 inline CreateJobTemplateRequest& WithPriority(int value) { SetPriority(value); return *this;}
127
129
133 inline const Aws::String& GetQueue() const{ return m_queue; }
134 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
135 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
136 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
137 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
138 inline CreateJobTemplateRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
139 inline CreateJobTemplateRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
140 inline CreateJobTemplateRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
142
144
148 inline const JobTemplateSettings& GetSettings() const{ return m_settings; }
149 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
150 inline void SetSettings(const JobTemplateSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
151 inline void SetSettings(JobTemplateSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
152 inline CreateJobTemplateRequest& WithSettings(const JobTemplateSettings& value) { SetSettings(value); return *this;}
153 inline CreateJobTemplateRequest& WithSettings(JobTemplateSettings&& value) { SetSettings(std::move(value)); return *this;}
155
157
163 inline const StatusUpdateInterval& GetStatusUpdateInterval() const{ return m_statusUpdateInterval; }
164 inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
165 inline void SetStatusUpdateInterval(const StatusUpdateInterval& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = value; }
166 inline void SetStatusUpdateInterval(StatusUpdateInterval&& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = std::move(value); }
170
172
176 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
177 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
178 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
179 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
181 inline CreateJobTemplateRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
182 inline CreateJobTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
183 inline CreateJobTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
184 inline CreateJobTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
185 inline CreateJobTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
186 inline CreateJobTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
187 inline CreateJobTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
188 inline CreateJobTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
190 private:
191
192 AccelerationSettings m_accelerationSettings;
193 bool m_accelerationSettingsHasBeenSet = false;
194
195 Aws::String m_category;
196 bool m_categoryHasBeenSet = false;
197
198 Aws::String m_description;
199 bool m_descriptionHasBeenSet = false;
200
201 Aws::Vector<HopDestination> m_hopDestinations;
202 bool m_hopDestinationsHasBeenSet = false;
203
204 Aws::String m_name;
205 bool m_nameHasBeenSet = false;
206
207 int m_priority;
208 bool m_priorityHasBeenSet = false;
209
210 Aws::String m_queue;
211 bool m_queueHasBeenSet = false;
212
213 JobTemplateSettings m_settings;
214 bool m_settingsHasBeenSet = false;
215
216 StatusUpdateInterval m_statusUpdateInterval;
217 bool m_statusUpdateIntervalHasBeenSet = false;
218
220 bool m_tagsHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace MediaConvert
225} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateJobTemplateRequest & WithHopDestinations(Aws::Vector< HopDestination > &&value)
CreateJobTemplateRequest & WithQueue(Aws::String &&value)
CreateJobTemplateRequest & WithCategory(const char *value)
CreateJobTemplateRequest & WithDescription(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobTemplateRequest & WithStatusUpdateInterval(StatusUpdateInterval &&value)
CreateJobTemplateRequest & AddHopDestinations(const HopDestination &value)
const Aws::Vector< HopDestination > & GetHopDestinations() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateJobTemplateRequest & WithName(Aws::String &&value)
CreateJobTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateJobTemplateRequest & WithSettings(JobTemplateSettings &&value)
CreateJobTemplateRequest & WithName(const char *value)
CreateJobTemplateRequest & WithName(const Aws::String &value)
CreateJobTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateJobTemplateRequest & WithDescription(const char *value)
CreateJobTemplateRequest & WithStatusUpdateInterval(const StatusUpdateInterval &value)
CreateJobTemplateRequest & WithQueue(const char *value)
CreateJobTemplateRequest & WithCategory(Aws::String &&value)
void SetStatusUpdateInterval(const StatusUpdateInterval &value)
CreateJobTemplateRequest & WithHopDestinations(const Aws::Vector< HopDestination > &value)
const StatusUpdateInterval & GetStatusUpdateInterval() const
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
CreateJobTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetHopDestinations(Aws::Vector< HopDestination > &&value)
CreateJobTemplateRequest & WithAccelerationSettings(AccelerationSettings &&value)
CreateJobTemplateRequest & AddHopDestinations(HopDestination &&value)
CreateJobTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateJobTemplateRequest & WithSettings(const JobTemplateSettings &value)
CreateJobTemplateRequest & WithQueue(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateJobTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateJobTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateJobTemplateRequest & WithDescription(Aws::String &&value)
void SetAccelerationSettings(const AccelerationSettings &value)
CreateJobTemplateRequest & WithAccelerationSettings(const AccelerationSettings &value)
CreateJobTemplateRequest & AddTags(const char *key, const char *value)
CreateJobTemplateRequest & AddTags(Aws::String &&key, const char *value)
CreateJobTemplateRequest & WithCategory(const Aws::String &value)
void SetHopDestinations(const Aws::Vector< HopDestination > &value)
const AccelerationSettings & GetAccelerationSettings() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector