AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CreatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CreatePipelineRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CreatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
63 inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
64 inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
65 inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::move(value); }
66 inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
67 inline CreatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
68 inline CreatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(std::move(value)); return *this;}
69 inline CreatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
71
73
92 inline const Aws::String& GetOutputBucket() const{ return m_outputBucket; }
93 inline bool OutputBucketHasBeenSet() const { return m_outputBucketHasBeenSet; }
94 inline void SetOutputBucket(const Aws::String& value) { m_outputBucketHasBeenSet = true; m_outputBucket = value; }
95 inline void SetOutputBucket(Aws::String&& value) { m_outputBucketHasBeenSet = true; m_outputBucket = std::move(value); }
96 inline void SetOutputBucket(const char* value) { m_outputBucketHasBeenSet = true; m_outputBucket.assign(value); }
97 inline CreatePipelineRequest& WithOutputBucket(const Aws::String& value) { SetOutputBucket(value); return *this;}
98 inline CreatePipelineRequest& WithOutputBucket(Aws::String&& value) { SetOutputBucket(std::move(value)); return *this;}
99 inline CreatePipelineRequest& WithOutputBucket(const char* value) { SetOutputBucket(value); return *this;}
101
103
107 inline const Aws::String& GetRole() const{ return m_role; }
108 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
109 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
110 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
111 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
112 inline CreatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
113 inline CreatePipelineRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
114 inline CreatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;}
116
118
127 inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
128 inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
129 inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
130 inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::move(value); }
131 inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
132 inline CreatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
133 inline CreatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(std::move(value)); return *this;}
134 inline CreatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
136
138
158 inline const Notifications& GetNotifications() const{ return m_notifications; }
159 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
160 inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
161 inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
162 inline CreatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
163 inline CreatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
165
167
218 inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
219 inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
220 inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
221 inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::move(value); }
223 inline CreatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(std::move(value)); return *this;}
225
227
272 inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
273 inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
274 inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
275 inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::move(value); }
277 inline CreatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(std::move(value)); return *this;}
279 private:
280
281 Aws::String m_name;
282 bool m_nameHasBeenSet = false;
283
284 Aws::String m_inputBucket;
285 bool m_inputBucketHasBeenSet = false;
286
287 Aws::String m_outputBucket;
288 bool m_outputBucketHasBeenSet = false;
289
290 Aws::String m_role;
291 bool m_roleHasBeenSet = false;
292
293 Aws::String m_awsKmsKeyArn;
294 bool m_awsKmsKeyArnHasBeenSet = false;
295
296 Notifications m_notifications;
297 bool m_notificationsHasBeenSet = false;
298
299 PipelineOutputConfig m_contentConfig;
300 bool m_contentConfigHasBeenSet = false;
301
302 PipelineOutputConfig m_thumbnailConfig;
303 bool m_thumbnailConfigHasBeenSet = false;
304 };
305
306} // namespace Model
307} // namespace ElasticTranscoder
308} // namespace Aws
CreatePipelineRequest & WithThumbnailConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithContentConfig(PipelineOutputConfig &&value)
CreatePipelineRequest & WithOutputBucket(const char *value)
CreatePipelineRequest & WithRole(const char *value)
CreatePipelineRequest & WithName(const Aws::String &value)
CreatePipelineRequest & WithAwsKmsKeyArn(const char *value)
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & WithOutputBucket(const Aws::String &value)
CreatePipelineRequest & WithInputBucket(const Aws::String &value)
CreatePipelineRequest & WithNotifications(const Notifications &value)
void SetContentConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithRole(const Aws::String &value)
CreatePipelineRequest & WithRole(Aws::String &&value)
CreatePipelineRequest & WithAwsKmsKeyArn(const Aws::String &value)
const PipelineOutputConfig & GetThumbnailConfig() const
CreatePipelineRequest & WithContentConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithInputBucket(const char *value)
void SetThumbnailConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithNotifications(Notifications &&value)
CreatePipelineRequest & WithThumbnailConfig(PipelineOutputConfig &&value)
CreatePipelineRequest & WithOutputBucket(Aws::String &&value)
CreatePipelineRequest & WithAwsKmsKeyArn(Aws::String &&value)
CreatePipelineRequest & WithInputBucket(Aws::String &&value)
CreatePipelineRequest & WithName(Aws::String &&value)
CreatePipelineRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String