AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline UpdatePipelineRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline UpdatePipelineRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline UpdatePipelineRequest& WithId(const char* value) { SetId(value); return *this;}
54
56
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline UpdatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline UpdatePipelineRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline UpdatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
70
72
76 inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
77 inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
78 inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
79 inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::move(value); }
80 inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
81 inline UpdatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
82 inline UpdatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(std::move(value)); return *this;}
83 inline UpdatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
85
87
91 inline const Aws::String& GetRole() const{ return m_role; }
92 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
93 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
94 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
95 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
96 inline UpdatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
97 inline UpdatePipelineRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
98 inline UpdatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;}
100
102
111 inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
112 inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
113 inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
114 inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::move(value); }
115 inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
116 inline UpdatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
117 inline UpdatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(std::move(value)); return *this;}
118 inline UpdatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
120
122
140 inline const Notifications& GetNotifications() const{ return m_notifications; }
141 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
142 inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
143 inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
144 inline UpdatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
145 inline UpdatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
147
149
200 inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
201 inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
202 inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
203 inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::move(value); }
205 inline UpdatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(std::move(value)); return *this;}
207
209
254 inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
255 inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
256 inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
257 inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::move(value); }
259 inline UpdatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(std::move(value)); return *this;}
261 private:
262
263 Aws::String m_id;
264 bool m_idHasBeenSet = false;
265
266 Aws::String m_name;
267 bool m_nameHasBeenSet = false;
268
269 Aws::String m_inputBucket;
270 bool m_inputBucketHasBeenSet = false;
271
272 Aws::String m_role;
273 bool m_roleHasBeenSet = false;
274
275 Aws::String m_awsKmsKeyArn;
276 bool m_awsKmsKeyArnHasBeenSet = false;
277
278 Notifications m_notifications;
279 bool m_notificationsHasBeenSet = false;
280
281 PipelineOutputConfig m_contentConfig;
282 bool m_contentConfigHasBeenSet = false;
283
284 PipelineOutputConfig m_thumbnailConfig;
285 bool m_thumbnailConfigHasBeenSet = false;
286 };
287
288} // namespace Model
289} // namespace ElasticTranscoder
290} // namespace Aws
UpdatePipelineRequest & WithId(const char *value)
void SetContentConfig(const PipelineOutputConfig &value)
UpdatePipelineRequest & WithName(Aws::String &&value)
UpdatePipelineRequest & WithId(const Aws::String &value)
UpdatePipelineRequest & WithName(const char *value)
UpdatePipelineRequest & WithInputBucket(const char *value)
UpdatePipelineRequest & WithRole(const Aws::String &value)
const PipelineOutputConfig & GetThumbnailConfig() const
UpdatePipelineRequest & WithThumbnailConfig(const PipelineOutputConfig &value)
UpdatePipelineRequest & WithNotifications(Notifications &&value)
UpdatePipelineRequest & WithAwsKmsKeyArn(const char *value)
UpdatePipelineRequest & WithNotifications(const Notifications &value)
UpdatePipelineRequest & WithThumbnailConfig(PipelineOutputConfig &&value)
void SetThumbnailConfig(const PipelineOutputConfig &value)
UpdatePipelineRequest & WithId(Aws::String &&value)
UpdatePipelineRequest & WithRole(const char *value)
UpdatePipelineRequest & WithInputBucket(Aws::String &&value)
UpdatePipelineRequest & WithName(const Aws::String &value)
UpdatePipelineRequest & WithContentConfig(const PipelineOutputConfig &value)
virtual const char * GetServiceRequestName() const override
UpdatePipelineRequest & WithContentConfig(PipelineOutputConfig &&value)
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
UpdatePipelineRequest & WithAwsKmsKeyArn(Aws::String &&value)
UpdatePipelineRequest & WithRole(Aws::String &&value)
UpdatePipelineRequest & WithAwsKmsKeyArn(const Aws::String &value)
UpdatePipelineRequest & WithInputBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String