AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdatePipelineRequest.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/Notifications.h>
11#include <aws/elastictranscoder/model/PipelineOutputConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticTranscoder
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ELASTICTRANSCODER_API UpdatePipelineRequest() = default;
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 "UpdatePipeline"; }
37
38 AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 UpdatePipelineRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 UpdatePipelineRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetInputBucket() const { return m_inputBucket; }
73 inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
74 template<typename InputBucketT = Aws::String>
75 void SetInputBucket(InputBucketT&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::forward<InputBucketT>(value); }
76 template<typename InputBucketT = Aws::String>
77 UpdatePipelineRequest& WithInputBucket(InputBucketT&& value) { SetInputBucket(std::forward<InputBucketT>(value)); return *this;}
79
81
85 inline const Aws::String& GetRole() const { return m_role; }
86 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
87 template<typename RoleT = Aws::String>
88 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
89 template<typename RoleT = Aws::String>
90 UpdatePipelineRequest& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
92
94
103 inline const Aws::String& GetAwsKmsKeyArn() const { return m_awsKmsKeyArn; }
104 inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
105 template<typename AwsKmsKeyArnT = Aws::String>
106 void SetAwsKmsKeyArn(AwsKmsKeyArnT&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::forward<AwsKmsKeyArnT>(value); }
107 template<typename AwsKmsKeyArnT = Aws::String>
108 UpdatePipelineRequest& WithAwsKmsKeyArn(AwsKmsKeyArnT&& value) { SetAwsKmsKeyArn(std::forward<AwsKmsKeyArnT>(value)); return *this;}
110
112
130 inline const Notifications& GetNotifications() const { return m_notifications; }
131 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
132 template<typename NotificationsT = Notifications>
133 void SetNotifications(NotificationsT&& value) { m_notificationsHasBeenSet = true; m_notifications = std::forward<NotificationsT>(value); }
134 template<typename NotificationsT = Notifications>
135 UpdatePipelineRequest& WithNotifications(NotificationsT&& value) { SetNotifications(std::forward<NotificationsT>(value)); return *this;}
137
139
190 inline const PipelineOutputConfig& GetContentConfig() const { return m_contentConfig; }
191 inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
192 template<typename ContentConfigT = PipelineOutputConfig>
193 void SetContentConfig(ContentConfigT&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::forward<ContentConfigT>(value); }
194 template<typename ContentConfigT = PipelineOutputConfig>
195 UpdatePipelineRequest& WithContentConfig(ContentConfigT&& value) { SetContentConfig(std::forward<ContentConfigT>(value)); return *this;}
197
199
244 inline const PipelineOutputConfig& GetThumbnailConfig() const { return m_thumbnailConfig; }
245 inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
246 template<typename ThumbnailConfigT = PipelineOutputConfig>
247 void SetThumbnailConfig(ThumbnailConfigT&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::forward<ThumbnailConfigT>(value); }
248 template<typename ThumbnailConfigT = PipelineOutputConfig>
249 UpdatePipelineRequest& WithThumbnailConfig(ThumbnailConfigT&& value) { SetThumbnailConfig(std::forward<ThumbnailConfigT>(value)); return *this;}
251 private:
252
253 Aws::String m_id;
254 bool m_idHasBeenSet = false;
255
256 Aws::String m_name;
257 bool m_nameHasBeenSet = false;
258
259 Aws::String m_inputBucket;
260 bool m_inputBucketHasBeenSet = false;
261
262 Aws::String m_role;
263 bool m_roleHasBeenSet = false;
264
265 Aws::String m_awsKmsKeyArn;
266 bool m_awsKmsKeyArnHasBeenSet = false;
267
268 Notifications m_notifications;
269 bool m_notificationsHasBeenSet = false;
270
271 PipelineOutputConfig m_contentConfig;
272 bool m_contentConfigHasBeenSet = false;
273
274 PipelineOutputConfig m_thumbnailConfig;
275 bool m_thumbnailConfigHasBeenSet = false;
276 };
277
278} // namespace Model
279} // namespace ElasticTranscoder
280} // namespace Aws
UpdatePipelineRequest & WithAwsKmsKeyArn(AwsKmsKeyArnT &&value)
const PipelineOutputConfig & GetThumbnailConfig() const
UpdatePipelineRequest & WithContentConfig(ContentConfigT &&value)
virtual const char * GetServiceRequestName() const override
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
UpdatePipelineRequest & WithNotifications(NotificationsT &&value)
UpdatePipelineRequest & WithThumbnailConfig(ThumbnailConfigT &&value)
AWS_ELASTICTRANSCODER_API UpdatePipelineRequest()=default
UpdatePipelineRequest & WithInputBucket(InputBucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String