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/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/ElasticTranscoderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elastictranscoder/model/VideoParameters.h>
11#include <aws/elastictranscoder/model/AudioParameters.h>
12#include <aws/elastictranscoder/model/Thumbnails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ElasticTranscoder
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_ELASTICTRANSCODER_API CreatePresetRequest();
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 "CreatePreset"; }
37
38 AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override;
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline CreatePresetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline CreatePresetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline CreatePresetRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline CreatePresetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline CreatePresetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline CreatePresetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
77 inline const Aws::String& GetContainer() const{ return m_container; }
78 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
79 inline void SetContainer(const Aws::String& value) { m_containerHasBeenSet = true; m_container = value; }
80 inline void SetContainer(Aws::String&& value) { m_containerHasBeenSet = true; m_container = std::move(value); }
81 inline void SetContainer(const char* value) { m_containerHasBeenSet = true; m_container.assign(value); }
82 inline CreatePresetRequest& WithContainer(const Aws::String& value) { SetContainer(value); return *this;}
83 inline CreatePresetRequest& WithContainer(Aws::String&& value) { SetContainer(std::move(value)); return *this;}
84 inline CreatePresetRequest& WithContainer(const char* value) { SetContainer(value); return *this;}
86
88
91 inline const VideoParameters& GetVideo() const{ return m_video; }
92 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
93 inline void SetVideo(const VideoParameters& value) { m_videoHasBeenSet = true; m_video = value; }
94 inline void SetVideo(VideoParameters&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
95 inline CreatePresetRequest& WithVideo(const VideoParameters& value) { SetVideo(value); return *this;}
96 inline CreatePresetRequest& WithVideo(VideoParameters&& value) { SetVideo(std::move(value)); return *this;}
98
100
103 inline const AudioParameters& GetAudio() const{ return m_audio; }
104 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
105 inline void SetAudio(const AudioParameters& value) { m_audioHasBeenSet = true; m_audio = value; }
106 inline void SetAudio(AudioParameters&& value) { m_audioHasBeenSet = true; m_audio = std::move(value); }
107 inline CreatePresetRequest& WithAudio(const AudioParameters& value) { SetAudio(value); return *this;}
108 inline CreatePresetRequest& WithAudio(AudioParameters&& value) { SetAudio(std::move(value)); return *this;}
110
112
116 inline const Thumbnails& GetThumbnails() const{ return m_thumbnails; }
117 inline bool ThumbnailsHasBeenSet() const { return m_thumbnailsHasBeenSet; }
118 inline void SetThumbnails(const Thumbnails& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = value; }
119 inline void SetThumbnails(Thumbnails&& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = std::move(value); }
120 inline CreatePresetRequest& WithThumbnails(const Thumbnails& value) { SetThumbnails(value); return *this;}
121 inline CreatePresetRequest& WithThumbnails(Thumbnails&& value) { SetThumbnails(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_container;
132 bool m_containerHasBeenSet = false;
133
134 VideoParameters m_video;
135 bool m_videoHasBeenSet = false;
136
137 AudioParameters m_audio;
138 bool m_audioHasBeenSet = false;
139
140 Thumbnails m_thumbnails;
141 bool m_thumbnailsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace ElasticTranscoder
146} // namespace Aws
CreatePresetRequest & WithAudio(const AudioParameters &value)
CreatePresetRequest & WithName(const char *value)
CreatePresetRequest & WithAudio(AudioParameters &&value)
CreatePresetRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreatePresetRequest & WithContainer(Aws::String &&value)
CreatePresetRequest & WithDescription(Aws::String &&value)
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
CreatePresetRequest & WithContainer(const Aws::String &value)
CreatePresetRequest & WithContainer(const char *value)
CreatePresetRequest & WithVideo(const VideoParameters &value)
CreatePresetRequest & WithThumbnails(const Thumbnails &value)
CreatePresetRequest & WithVideo(VideoParameters &&value)
CreatePresetRequest & WithDescription(const char *value)
CreatePresetRequest & WithThumbnails(Thumbnails &&value)
CreatePresetRequest & WithDescription(const Aws::String &value)
CreatePresetRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String