AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreatePipelineRequest.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 CreatePipelineRequest() = 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 "CreatePipeline"; }
37
38 AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override;
39
40
42
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 CreatePipelineRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
60 inline const Aws::String& GetInputBucket() const { return m_inputBucket; }
61 inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
62 template<typename InputBucketT = Aws::String>
63 void SetInputBucket(InputBucketT&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::forward<InputBucketT>(value); }
64 template<typename InputBucketT = Aws::String>
65 CreatePipelineRequest& WithInputBucket(InputBucketT&& value) { SetInputBucket(std::forward<InputBucketT>(value)); return *this;}
67
69
88 inline const Aws::String& GetOutputBucket() const { return m_outputBucket; }
89 inline bool OutputBucketHasBeenSet() const { return m_outputBucketHasBeenSet; }
90 template<typename OutputBucketT = Aws::String>
91 void SetOutputBucket(OutputBucketT&& value) { m_outputBucketHasBeenSet = true; m_outputBucket = std::forward<OutputBucketT>(value); }
92 template<typename OutputBucketT = Aws::String>
93 CreatePipelineRequest& WithOutputBucket(OutputBucketT&& value) { SetOutputBucket(std::forward<OutputBucketT>(value)); return *this;}
95
97
101 inline const Aws::String& GetRole() const { return m_role; }
102 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
103 template<typename RoleT = Aws::String>
104 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
105 template<typename RoleT = Aws::String>
106 CreatePipelineRequest& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
108
110
119 inline const Aws::String& GetAwsKmsKeyArn() const { return m_awsKmsKeyArn; }
120 inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
121 template<typename AwsKmsKeyArnT = Aws::String>
122 void SetAwsKmsKeyArn(AwsKmsKeyArnT&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::forward<AwsKmsKeyArnT>(value); }
123 template<typename AwsKmsKeyArnT = Aws::String>
124 CreatePipelineRequest& WithAwsKmsKeyArn(AwsKmsKeyArnT&& value) { SetAwsKmsKeyArn(std::forward<AwsKmsKeyArnT>(value)); return *this;}
126
128
148 inline const Notifications& GetNotifications() const { return m_notifications; }
149 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
150 template<typename NotificationsT = Notifications>
151 void SetNotifications(NotificationsT&& value) { m_notificationsHasBeenSet = true; m_notifications = std::forward<NotificationsT>(value); }
152 template<typename NotificationsT = Notifications>
153 CreatePipelineRequest& WithNotifications(NotificationsT&& value) { SetNotifications(std::forward<NotificationsT>(value)); return *this;}
155
157
208 inline const PipelineOutputConfig& GetContentConfig() const { return m_contentConfig; }
209 inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
210 template<typename ContentConfigT = PipelineOutputConfig>
211 void SetContentConfig(ContentConfigT&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::forward<ContentConfigT>(value); }
212 template<typename ContentConfigT = PipelineOutputConfig>
213 CreatePipelineRequest& WithContentConfig(ContentConfigT&& value) { SetContentConfig(std::forward<ContentConfigT>(value)); return *this;}
215
217
262 inline const PipelineOutputConfig& GetThumbnailConfig() const { return m_thumbnailConfig; }
263 inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
264 template<typename ThumbnailConfigT = PipelineOutputConfig>
265 void SetThumbnailConfig(ThumbnailConfigT&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::forward<ThumbnailConfigT>(value); }
266 template<typename ThumbnailConfigT = PipelineOutputConfig>
267 CreatePipelineRequest& WithThumbnailConfig(ThumbnailConfigT&& value) { SetThumbnailConfig(std::forward<ThumbnailConfigT>(value)); return *this;}
269 private:
270
271 Aws::String m_name;
272 bool m_nameHasBeenSet = false;
273
274 Aws::String m_inputBucket;
275 bool m_inputBucketHasBeenSet = false;
276
277 Aws::String m_outputBucket;
278 bool m_outputBucketHasBeenSet = false;
279
280 Aws::String m_role;
281 bool m_roleHasBeenSet = false;
282
283 Aws::String m_awsKmsKeyArn;
284 bool m_awsKmsKeyArnHasBeenSet = false;
285
286 Notifications m_notifications;
287 bool m_notificationsHasBeenSet = false;
288
289 PipelineOutputConfig m_contentConfig;
290 bool m_contentConfigHasBeenSet = false;
291
292 PipelineOutputConfig m_thumbnailConfig;
293 bool m_thumbnailConfigHasBeenSet = false;
294 };
295
296} // namespace Model
297} // namespace ElasticTranscoder
298} // namespace Aws
CreatePipelineRequest & WithAwsKmsKeyArn(AwsKmsKeyArnT &&value)
CreatePipelineRequest & WithThumbnailConfig(ThumbnailConfigT &&value)
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & WithOutputBucket(OutputBucketT &&value)
const PipelineOutputConfig & GetThumbnailConfig() const
AWS_ELASTICTRANSCODER_API CreatePipelineRequest()=default
CreatePipelineRequest & WithNotifications(NotificationsT &&value)
CreatePipelineRequest & WithContentConfig(ContentConfigT &&value)
CreatePipelineRequest & WithInputBucket(InputBucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String