AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePresetRequest.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 <utility>
12
13namespace Aws
14{
15namespace MediaConvert
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MEDIACONVERT_API UpdatePresetRequest();
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetCategory() const{ return m_category; }
41 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
42 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
43 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
44 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
45 inline UpdatePresetRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
46 inline UpdatePresetRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
47 inline UpdatePresetRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdatePresetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdatePresetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdatePresetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline UpdatePresetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline UpdatePresetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline UpdatePresetRequest& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const PresetSettings& GetSettings() const{ return m_settings; }
83 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
84 inline void SetSettings(const PresetSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
85 inline void SetSettings(PresetSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
86 inline UpdatePresetRequest& WithSettings(const PresetSettings& value) { SetSettings(value); return *this;}
87 inline UpdatePresetRequest& WithSettings(PresetSettings&& value) { SetSettings(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_category;
92 bool m_categoryHasBeenSet = false;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 PresetSettings m_settings;
101 bool m_settingsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace MediaConvert
106} // namespace Aws
UpdatePresetRequest & WithName(const char *value)
UpdatePresetRequest & WithName(const Aws::String &value)
UpdatePresetRequest & WithCategory(const Aws::String &value)
UpdatePresetRequest & WithName(Aws::String &&value)
UpdatePresetRequest & WithSettings(const PresetSettings &value)
UpdatePresetRequest & WithCategory(const char *value)
UpdatePresetRequest & WithSettings(PresetSettings &&value)
UpdatePresetRequest & WithDescription(const char *value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
UpdatePresetRequest & WithCategory(Aws::String &&value)
void SetSettings(const PresetSettings &value)
virtual const char * GetServiceRequestName() const override
UpdatePresetRequest & WithDescription(const Aws::String &value)
UpdatePresetRequest & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String