AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutPlaybackConfigurationRequest.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/MediaTailorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediatailor/model/AvailSuppression.h>
11#include <aws/mediatailor/model/Bumper.h>
12#include <aws/mediatailor/model/CdnConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/mediatailor/model/DashConfigurationForPut.h>
15#include <aws/mediatailor/model/InsertionMode.h>
16#include <aws/mediatailor/model/LivePreRollConfiguration.h>
17#include <aws/mediatailor/model/ManifestProcessingRules.h>
18#include <utility>
19
20namespace Aws
21{
22namespace MediaTailor
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_MEDIATAILOR_API PutPlaybackConfigurationRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "PutPlaybackConfiguration"; }
39
40 AWS_MEDIATAILOR_API Aws::String SerializePayload() const override;
41
42
44
51 inline const Aws::String& GetAdDecisionServerUrl() const{ return m_adDecisionServerUrl; }
52 inline bool AdDecisionServerUrlHasBeenSet() const { return m_adDecisionServerUrlHasBeenSet; }
53 inline void SetAdDecisionServerUrl(const Aws::String& value) { m_adDecisionServerUrlHasBeenSet = true; m_adDecisionServerUrl = value; }
54 inline void SetAdDecisionServerUrl(Aws::String&& value) { m_adDecisionServerUrlHasBeenSet = true; m_adDecisionServerUrl = std::move(value); }
55 inline void SetAdDecisionServerUrl(const char* value) { m_adDecisionServerUrlHasBeenSet = true; m_adDecisionServerUrl.assign(value); }
58 inline PutPlaybackConfigurationRequest& WithAdDecisionServerUrl(const char* value) { SetAdDecisionServerUrl(value); return *this;}
60
62
68 inline const AvailSuppression& GetAvailSuppression() const{ return m_availSuppression; }
69 inline bool AvailSuppressionHasBeenSet() const { return m_availSuppressionHasBeenSet; }
70 inline void SetAvailSuppression(const AvailSuppression& value) { m_availSuppressionHasBeenSet = true; m_availSuppression = value; }
71 inline void SetAvailSuppression(AvailSuppression&& value) { m_availSuppressionHasBeenSet = true; m_availSuppression = std::move(value); }
75
77
83 inline const Bumper& GetBumper() const{ return m_bumper; }
84 inline bool BumperHasBeenSet() const { return m_bumperHasBeenSet; }
85 inline void SetBumper(const Bumper& value) { m_bumperHasBeenSet = true; m_bumper = value; }
86 inline void SetBumper(Bumper&& value) { m_bumperHasBeenSet = true; m_bumper = std::move(value); }
87 inline PutPlaybackConfigurationRequest& WithBumper(const Bumper& value) { SetBumper(value); return *this;}
88 inline PutPlaybackConfigurationRequest& WithBumper(Bumper&& value) { SetBumper(std::move(value)); return *this;}
90
92
96 inline const CdnConfiguration& GetCdnConfiguration() const{ return m_cdnConfiguration; }
97 inline bool CdnConfigurationHasBeenSet() const { return m_cdnConfigurationHasBeenSet; }
98 inline void SetCdnConfiguration(const CdnConfiguration& value) { m_cdnConfigurationHasBeenSet = true; m_cdnConfiguration = value; }
99 inline void SetCdnConfiguration(CdnConfiguration&& value) { m_cdnConfigurationHasBeenSet = true; m_cdnConfiguration = std::move(value); }
103
105
111 inline const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>& GetConfigurationAliases() const{ return m_configurationAliases; }
112 inline bool ConfigurationAliasesHasBeenSet() const { return m_configurationAliasesHasBeenSet; }
113 inline void SetConfigurationAliases(const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases = value; }
114 inline void SetConfigurationAliases(Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>&& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases = std::move(value); }
117 inline PutPlaybackConfigurationRequest& AddConfigurationAliases(const Aws::String& key, const Aws::Map<Aws::String, Aws::String>& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases.emplace(key, value); return *this; }
118 inline PutPlaybackConfigurationRequest& AddConfigurationAliases(Aws::String&& key, const Aws::Map<Aws::String, Aws::String>& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases.emplace(std::move(key), value); return *this; }
119 inline PutPlaybackConfigurationRequest& AddConfigurationAliases(const Aws::String& key, Aws::Map<Aws::String, Aws::String>&& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases.emplace(key, std::move(value)); return *this; }
120 inline PutPlaybackConfigurationRequest& AddConfigurationAliases(Aws::String&& key, Aws::Map<Aws::String, Aws::String>&& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases.emplace(std::move(key), std::move(value)); return *this; }
121 inline PutPlaybackConfigurationRequest& AddConfigurationAliases(const char* key, Aws::Map<Aws::String, Aws::String>&& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases.emplace(key, std::move(value)); return *this; }
122 inline PutPlaybackConfigurationRequest& AddConfigurationAliases(const char* key, const Aws::Map<Aws::String, Aws::String>& value) { m_configurationAliasesHasBeenSet = true; m_configurationAliases.emplace(key, value); return *this; }
124
126
129 inline const DashConfigurationForPut& GetDashConfiguration() const{ return m_dashConfiguration; }
130 inline bool DashConfigurationHasBeenSet() const { return m_dashConfigurationHasBeenSet; }
131 inline void SetDashConfiguration(const DashConfigurationForPut& value) { m_dashConfigurationHasBeenSet = true; m_dashConfiguration = value; }
132 inline void SetDashConfiguration(DashConfigurationForPut&& value) { m_dashConfigurationHasBeenSet = true; m_dashConfiguration = std::move(value); }
136
138
146 inline const InsertionMode& GetInsertionMode() const{ return m_insertionMode; }
147 inline bool InsertionModeHasBeenSet() const { return m_insertionModeHasBeenSet; }
148 inline void SetInsertionMode(const InsertionMode& value) { m_insertionModeHasBeenSet = true; m_insertionMode = value; }
149 inline void SetInsertionMode(InsertionMode&& value) { m_insertionModeHasBeenSet = true; m_insertionMode = std::move(value); }
151 inline PutPlaybackConfigurationRequest& WithInsertionMode(InsertionMode&& value) { SetInsertionMode(std::move(value)); return *this;}
153
155
158 inline const LivePreRollConfiguration& GetLivePreRollConfiguration() const{ return m_livePreRollConfiguration; }
159 inline bool LivePreRollConfigurationHasBeenSet() const { return m_livePreRollConfigurationHasBeenSet; }
160 inline void SetLivePreRollConfiguration(const LivePreRollConfiguration& value) { m_livePreRollConfigurationHasBeenSet = true; m_livePreRollConfiguration = value; }
161 inline void SetLivePreRollConfiguration(LivePreRollConfiguration&& value) { m_livePreRollConfigurationHasBeenSet = true; m_livePreRollConfiguration = std::move(value); }
165
167
171 inline const ManifestProcessingRules& GetManifestProcessingRules() const{ return m_manifestProcessingRules; }
172 inline bool ManifestProcessingRulesHasBeenSet() const { return m_manifestProcessingRulesHasBeenSet; }
173 inline void SetManifestProcessingRules(const ManifestProcessingRules& value) { m_manifestProcessingRulesHasBeenSet = true; m_manifestProcessingRules = value; }
174 inline void SetManifestProcessingRules(ManifestProcessingRules&& value) { m_manifestProcessingRulesHasBeenSet = true; m_manifestProcessingRules = std::move(value); }
178
180
183 inline const Aws::String& GetName() const{ return m_name; }
184 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
185 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
186 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
187 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
188 inline PutPlaybackConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
189 inline PutPlaybackConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
190 inline PutPlaybackConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
192
194
205 inline int GetPersonalizationThresholdSeconds() const{ return m_personalizationThresholdSeconds; }
206 inline bool PersonalizationThresholdSecondsHasBeenSet() const { return m_personalizationThresholdSecondsHasBeenSet; }
207 inline void SetPersonalizationThresholdSeconds(int value) { m_personalizationThresholdSecondsHasBeenSet = true; m_personalizationThresholdSeconds = value; }
210
212
220 inline const Aws::String& GetSlateAdUrl() const{ return m_slateAdUrl; }
221 inline bool SlateAdUrlHasBeenSet() const { return m_slateAdUrlHasBeenSet; }
222 inline void SetSlateAdUrl(const Aws::String& value) { m_slateAdUrlHasBeenSet = true; m_slateAdUrl = value; }
223 inline void SetSlateAdUrl(Aws::String&& value) { m_slateAdUrlHasBeenSet = true; m_slateAdUrl = std::move(value); }
224 inline void SetSlateAdUrl(const char* value) { m_slateAdUrlHasBeenSet = true; m_slateAdUrl.assign(value); }
225 inline PutPlaybackConfigurationRequest& WithSlateAdUrl(const Aws::String& value) { SetSlateAdUrl(value); return *this;}
226 inline PutPlaybackConfigurationRequest& WithSlateAdUrl(Aws::String&& value) { SetSlateAdUrl(std::move(value)); return *this;}
227 inline PutPlaybackConfigurationRequest& WithSlateAdUrl(const char* value) { SetSlateAdUrl(value); return *this;}
229
231
238 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
239 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
240 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
241 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
243 inline PutPlaybackConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
244 inline PutPlaybackConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
245 inline PutPlaybackConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
246 inline PutPlaybackConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
247 inline PutPlaybackConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
248 inline PutPlaybackConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
249 inline PutPlaybackConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
250 inline PutPlaybackConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
252
254
260 inline const Aws::String& GetTranscodeProfileName() const{ return m_transcodeProfileName; }
261 inline bool TranscodeProfileNameHasBeenSet() const { return m_transcodeProfileNameHasBeenSet; }
262 inline void SetTranscodeProfileName(const Aws::String& value) { m_transcodeProfileNameHasBeenSet = true; m_transcodeProfileName = value; }
263 inline void SetTranscodeProfileName(Aws::String&& value) { m_transcodeProfileNameHasBeenSet = true; m_transcodeProfileName = std::move(value); }
264 inline void SetTranscodeProfileName(const char* value) { m_transcodeProfileNameHasBeenSet = true; m_transcodeProfileName.assign(value); }
267 inline PutPlaybackConfigurationRequest& WithTranscodeProfileName(const char* value) { SetTranscodeProfileName(value); return *this;}
269
271
275 inline const Aws::String& GetVideoContentSourceUrl() const{ return m_videoContentSourceUrl; }
276 inline bool VideoContentSourceUrlHasBeenSet() const { return m_videoContentSourceUrlHasBeenSet; }
277 inline void SetVideoContentSourceUrl(const Aws::String& value) { m_videoContentSourceUrlHasBeenSet = true; m_videoContentSourceUrl = value; }
278 inline void SetVideoContentSourceUrl(Aws::String&& value) { m_videoContentSourceUrlHasBeenSet = true; m_videoContentSourceUrl = std::move(value); }
279 inline void SetVideoContentSourceUrl(const char* value) { m_videoContentSourceUrlHasBeenSet = true; m_videoContentSourceUrl.assign(value); }
284 private:
285
286 Aws::String m_adDecisionServerUrl;
287 bool m_adDecisionServerUrlHasBeenSet = false;
288
289 AvailSuppression m_availSuppression;
290 bool m_availSuppressionHasBeenSet = false;
291
292 Bumper m_bumper;
293 bool m_bumperHasBeenSet = false;
294
295 CdnConfiguration m_cdnConfiguration;
296 bool m_cdnConfigurationHasBeenSet = false;
297
299 bool m_configurationAliasesHasBeenSet = false;
300
301 DashConfigurationForPut m_dashConfiguration;
302 bool m_dashConfigurationHasBeenSet = false;
303
304 InsertionMode m_insertionMode;
305 bool m_insertionModeHasBeenSet = false;
306
307 LivePreRollConfiguration m_livePreRollConfiguration;
308 bool m_livePreRollConfigurationHasBeenSet = false;
309
310 ManifestProcessingRules m_manifestProcessingRules;
311 bool m_manifestProcessingRulesHasBeenSet = false;
312
313 Aws::String m_name;
314 bool m_nameHasBeenSet = false;
315
316 int m_personalizationThresholdSeconds;
317 bool m_personalizationThresholdSecondsHasBeenSet = false;
318
319 Aws::String m_slateAdUrl;
320 bool m_slateAdUrlHasBeenSet = false;
321
323 bool m_tagsHasBeenSet = false;
324
325 Aws::String m_transcodeProfileName;
326 bool m_transcodeProfileNameHasBeenSet = false;
327
328 Aws::String m_videoContentSourceUrl;
329 bool m_videoContentSourceUrlHasBeenSet = false;
330 };
331
332} // namespace Model
333} // namespace MediaTailor
334} // namespace Aws
PutPlaybackConfigurationRequest & WithVideoContentSourceUrl(const char *value)
PutPlaybackConfigurationRequest & WithInsertionMode(InsertionMode &&value)
PutPlaybackConfigurationRequest & WithAdDecisionServerUrl(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetConfigurationAliases() const
PutPlaybackConfigurationRequest & WithAdDecisionServerUrl(Aws::String &&value)
PutPlaybackConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
PutPlaybackConfigurationRequest & WithManifestProcessingRules(ManifestProcessingRules &&value)
PutPlaybackConfigurationRequest & AddTags(Aws::String &&key, const char *value)
PutPlaybackConfigurationRequest & WithConfigurationAliases(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
PutPlaybackConfigurationRequest & AddConfigurationAliases(const char *key, const Aws::Map< Aws::String, Aws::String > &value)
PutPlaybackConfigurationRequest & WithInsertionMode(const InsertionMode &value)
PutPlaybackConfigurationRequest & WithTranscodeProfileName(const Aws::String &value)
PutPlaybackConfigurationRequest & WithName(const Aws::String &value)
PutPlaybackConfigurationRequest & WithDashConfiguration(const DashConfigurationForPut &value)
AWS_MEDIATAILOR_API Aws::String SerializePayload() const override
PutPlaybackConfigurationRequest & WithCdnConfiguration(CdnConfiguration &&value)
PutPlaybackConfigurationRequest & WithLivePreRollConfiguration(LivePreRollConfiguration &&value)
PutPlaybackConfigurationRequest & AddConfigurationAliases(Aws::String &&key, Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLivePreRollConfiguration(const LivePreRollConfiguration &value)
void SetConfigurationAliases(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
PutPlaybackConfigurationRequest & WithLivePreRollConfiguration(const LivePreRollConfiguration &value)
PutPlaybackConfigurationRequest & AddConfigurationAliases(const char *key, Aws::Map< Aws::String, Aws::String > &&value)
PutPlaybackConfigurationRequest & WithCdnConfiguration(const CdnConfiguration &value)
PutPlaybackConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
PutPlaybackConfigurationRequest & WithVideoContentSourceUrl(Aws::String &&value)
PutPlaybackConfigurationRequest & WithVideoContentSourceUrl(const Aws::String &value)
PutPlaybackConfigurationRequest & WithName(Aws::String &&value)
PutPlaybackConfigurationRequest & WithSlateAdUrl(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PutPlaybackConfigurationRequest & WithTranscodeProfileName(const char *value)
PutPlaybackConfigurationRequest & AddTags(const char *key, Aws::String &&value)
PutPlaybackConfigurationRequest & WithBumper(const Bumper &value)
PutPlaybackConfigurationRequest & AddConfigurationAliases(const Aws::String &key, Aws::Map< Aws::String, Aws::String > &&value)
PutPlaybackConfigurationRequest & WithSlateAdUrl(const char *value)
PutPlaybackConfigurationRequest & WithManifestProcessingRules(const ManifestProcessingRules &value)
PutPlaybackConfigurationRequest & WithDashConfiguration(DashConfigurationForPut &&value)
PutPlaybackConfigurationRequest & WithAvailSuppression(AvailSuppression &&value)
PutPlaybackConfigurationRequest & AddConfigurationAliases(Aws::String &&key, const Aws::Map< Aws::String, Aws::String > &value)
PutPlaybackConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PutPlaybackConfigurationRequest & WithConfigurationAliases(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
PutPlaybackConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetConfigurationAliases(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
PutPlaybackConfigurationRequest & WithBumper(Bumper &&value)
PutPlaybackConfigurationRequest & WithPersonalizationThresholdSeconds(int value)
PutPlaybackConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
PutPlaybackConfigurationRequest & WithTranscodeProfileName(Aws::String &&value)
PutPlaybackConfigurationRequest & WithName(const char *value)
PutPlaybackConfigurationRequest & WithAvailSuppression(const AvailSuppression &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PutPlaybackConfigurationRequest & WithAdDecisionServerUrl(const char *value)
PutPlaybackConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PutPlaybackConfigurationRequest & AddConfigurationAliases(const Aws::String &key, const Aws::Map< Aws::String, Aws::String > &value)
PutPlaybackConfigurationRequest & AddTags(const char *key, const char *value)
PutPlaybackConfigurationRequest & WithSlateAdUrl(Aws::String &&value)
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