AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePresetRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconvert/model/PresetSettings.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaConvert
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIACONVERT_API CreatePresetRequest();
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 "CreatePreset"; }
33
34 AWS_MEDIACONVERT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetCategory() const{ return m_category; }
42 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
43 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
44 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
45 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
46 inline CreatePresetRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
47 inline CreatePresetRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
48 inline CreatePresetRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline CreatePresetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline CreatePresetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline CreatePresetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline CreatePresetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline CreatePresetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline CreatePresetRequest& WithName(const char* value) { SetName(value); return *this;}
78
80
83 inline const PresetSettings& GetSettings() const{ return m_settings; }
84 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
85 inline void SetSettings(const PresetSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
86 inline void SetSettings(PresetSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
87 inline CreatePresetRequest& WithSettings(const PresetSettings& value) { SetSettings(value); return *this;}
88 inline CreatePresetRequest& WithSettings(PresetSettings&& value) { SetSettings(std::move(value)); return *this;}
90
92
96 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
97 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
98 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
99 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
100 inline CreatePresetRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
101 inline CreatePresetRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
102 inline CreatePresetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
103 inline CreatePresetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
104 inline CreatePresetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
105 inline CreatePresetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
106 inline CreatePresetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
107 inline CreatePresetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
108 inline CreatePresetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
110 private:
111
112 Aws::String m_category;
113 bool m_categoryHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 PresetSettings m_settings;
122 bool m_settingsHasBeenSet = false;
123
125 bool m_tagsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace MediaConvert
130} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreatePresetRequest & WithName(const char *value)
CreatePresetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePresetRequest & WithDescription(const Aws::String &value)
CreatePresetRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePresetRequest & WithSettings(const PresetSettings &value)
CreatePresetRequest & AddTags(const char *key, Aws::String &&value)
CreatePresetRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePresetRequest & AddTags(Aws::String &&key, const char *value)
CreatePresetRequest & WithName(Aws::String &&value)
CreatePresetRequest & WithSettings(PresetSettings &&value)
CreatePresetRequest & WithCategory(const Aws::String &value)
CreatePresetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePresetRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePresetRequest & WithName(const Aws::String &value)
CreatePresetRequest & WithCategory(Aws::String &&value)
CreatePresetRequest & WithDescription(Aws::String &&value)
CreatePresetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePresetRequest & WithDescription(const char *value)
void SetSettings(const PresetSettings &value)
CreatePresetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePresetRequest & WithCategory(const char *value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
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