AWS SDK for C++  1.9.158
AWS SDK for C++
UpdatePresetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MediaConvert
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdatePreset"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetCategory() const{ return m_category; }
40 
44  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
45 
49  inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
50 
54  inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
55 
59  inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
60 
64  inline UpdatePresetRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
65 
69  inline UpdatePresetRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
70 
74  inline UpdatePresetRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
75 
76 
80  inline const Aws::String& GetDescription() const{ return m_description; }
81 
85  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 
90  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 
95  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 
100  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
101 
105  inline UpdatePresetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 
110  inline UpdatePresetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
111 
115  inline UpdatePresetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
116 
117 
121  inline const Aws::String& GetName() const{ return m_name; }
122 
126  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
127 
131  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
132 
136  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 
141  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
142 
146  inline UpdatePresetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
147 
151  inline UpdatePresetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
152 
156  inline UpdatePresetRequest& WithName(const char* value) { SetName(value); return *this;}
157 
158 
162  inline const PresetSettings& GetSettings() const{ return m_settings; }
163 
167  inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
168 
172  inline void SetSettings(const PresetSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
173 
177  inline void SetSettings(PresetSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
178 
182  inline UpdatePresetRequest& WithSettings(const PresetSettings& value) { SetSettings(value); return *this;}
183 
187  inline UpdatePresetRequest& WithSettings(PresetSettings&& value) { SetSettings(std::move(value)); return *this;}
188 
189  private:
190 
191  Aws::String m_category;
192  bool m_categoryHasBeenSet;
193 
194  Aws::String m_description;
195  bool m_descriptionHasBeenSet;
196 
197  Aws::String m_name;
198  bool m_nameHasBeenSet;
199 
200  PresetSettings m_settings;
201  bool m_settingsHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace MediaConvert
206 } // namespace Aws
PresetSettings.h
Aws::MediaConvert::Model::UpdatePresetRequest::WithCategory
UpdatePresetRequest & WithCategory(const Aws::String &value)
Definition: UpdatePresetRequest.h:64
Aws::MediaConvert::Model::UpdatePresetRequest
Definition: UpdatePresetRequest.h:23
Aws::MediaConvert::Model::UpdatePresetRequest::WithName
UpdatePresetRequest & WithName(Aws::String &&value)
Definition: UpdatePresetRequest.h:151
MediaConvertRequest.h
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::UpdatePresetRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdatePresetRequest.h:136
Aws::MediaConvert::Model::UpdatePresetRequest::SetSettings
void SetSettings(PresetSettings &&value)
Definition: UpdatePresetRequest.h:177
Aws::MediaConvert::Model::UpdatePresetRequest::WithName
UpdatePresetRequest & WithName(const char *value)
Definition: UpdatePresetRequest.h:156
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::UpdatePresetRequest::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: UpdatePresetRequest.h:44
Aws::MediaConvert::Model::UpdatePresetRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdatePresetRequest.h:90
Aws::MediaConvert::Model::UpdatePresetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePresetRequest.h:31
Aws::MediaConvert::Model::UpdatePresetRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdatePresetRequest.h:100
Aws::MediaConvert::Model::UpdatePresetRequest::SetCategory
void SetCategory(const Aws::String &value)
Definition: UpdatePresetRequest.h:49
Aws::MediaConvert::Model::UpdatePresetRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdatePresetRequest.h:126
Aws::MediaConvert::Model::UpdatePresetRequest::GetName
const Aws::String & GetName() const
Definition: UpdatePresetRequest.h:121
Aws::MediaConvert::Model::UpdatePresetRequest::WithCategory
UpdatePresetRequest & WithCategory(const char *value)
Definition: UpdatePresetRequest.h:74
Aws::MediaConvert::Model::UpdatePresetRequest::SetName
void SetName(const char *value)
Definition: UpdatePresetRequest.h:141
Aws::MediaConvert::Model::PresetSettings
Definition: PresetSettings.h:36
AWSString.h
Aws::MediaConvert::Model::UpdatePresetRequest::WithDescription
UpdatePresetRequest & WithDescription(const Aws::String &value)
Definition: UpdatePresetRequest.h:105
Aws::MediaConvert::Model::UpdatePresetRequest::WithDescription
UpdatePresetRequest & WithDescription(Aws::String &&value)
Definition: UpdatePresetRequest.h:110
Aws::MediaConvert::Model::UpdatePresetRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdatePresetRequest.h:80
Aws::MediaConvert::Model::UpdatePresetRequest::WithDescription
UpdatePresetRequest & WithDescription(const char *value)
Definition: UpdatePresetRequest.h:115
Aws::MediaConvert::Model::UpdatePresetRequest::SetCategory
void SetCategory(const char *value)
Definition: UpdatePresetRequest.h:59
Aws::MediaConvert::Model::UpdatePresetRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdatePresetRequest.h:85
Aws::MediaConvert::Model::UpdatePresetRequest::WithCategory
UpdatePresetRequest & WithCategory(Aws::String &&value)
Definition: UpdatePresetRequest.h:69
Aws::MediaConvert::Model::UpdatePresetRequest::WithSettings
UpdatePresetRequest & WithSettings(const PresetSettings &value)
Definition: UpdatePresetRequest.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::UpdatePresetRequest::SettingsHasBeenSet
bool SettingsHasBeenSet() const
Definition: UpdatePresetRequest.h:167
Aws::MediaConvert::Model::UpdatePresetRequest::WithSettings
UpdatePresetRequest & WithSettings(PresetSettings &&value)
Definition: UpdatePresetRequest.h:187
Aws::MediaConvert::Model::UpdatePresetRequest::SetSettings
void SetSettings(const PresetSettings &value)
Definition: UpdatePresetRequest.h:172
Aws::MediaConvert::Model::UpdatePresetRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdatePresetRequest.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::UpdatePresetRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdatePresetRequest.h:131
Aws::MediaConvert::Model::UpdatePresetRequest::GetSettings
const PresetSettings & GetSettings() const
Definition: UpdatePresetRequest.h:162
Aws::MediaConvert::Model::UpdatePresetRequest::GetCategory
const Aws::String & GetCategory() const
Definition: UpdatePresetRequest.h:39
Aws::MediaConvert::Model::UpdatePresetRequest::UpdatePresetRequest
UpdatePresetRequest()
Aws::MediaConvert::Model::UpdatePresetRequest::SetCategory
void SetCategory(Aws::String &&value)
Definition: UpdatePresetRequest.h:54
Aws::MediaConvert::Model::UpdatePresetRequest::WithName
UpdatePresetRequest & WithName(const Aws::String &value)
Definition: UpdatePresetRequest.h:146
Aws::MediaConvert::Model::UpdatePresetRequest::SerializePayload
Aws::String SerializePayload() const override