AWS SDK for C++  1.9.66
AWS SDK for C++
UpdatePipelineRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElasticTranscoder
17 {
18 namespace Model
19 {
20 
28  {
29  public:
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::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline UpdatePipelineRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline UpdatePipelineRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline UpdatePipelineRequest& WithId(const char* value) { SetId(value); return *this;}
80 
81 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
94  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 
101  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 
108  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
109 
115  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 
122  inline UpdatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
123 
129  inline UpdatePipelineRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
130 
136  inline UpdatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
137 
138 
143  inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
144 
149  inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
150 
155  inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
156 
161  inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::move(value); }
162 
167  inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
168 
173  inline UpdatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
174 
179  inline UpdatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(std::move(value)); return *this;}
180 
185  inline UpdatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
186 
187 
192  inline const Aws::String& GetRole() const{ return m_role; }
193 
198  inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
199 
204  inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
205 
210  inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
211 
216  inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
217 
222  inline UpdatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
223 
228  inline UpdatePipelineRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
229 
234  inline UpdatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;}
235 
236 
246  inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
247 
257  inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
258 
268  inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
269 
279  inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::move(value); }
280 
290  inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
291 
301  inline UpdatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
302 
312  inline UpdatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(std::move(value)); return *this;}
313 
323  inline UpdatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
324 
325 
344  inline const Notifications& GetNotifications() const{ return m_notifications; }
345 
364  inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
365 
384  inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
385 
404  inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
405 
424  inline UpdatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
425 
444  inline UpdatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
445 
446 
498  inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
499 
551  inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
552 
604  inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
605 
657  inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::move(value); }
658 
710  inline UpdatePipelineRequest& WithContentConfig(const PipelineOutputConfig& value) { SetContentConfig(value); return *this;}
711 
763  inline UpdatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(std::move(value)); return *this;}
764 
765 
811  inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
812 
858  inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
859 
905  inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
906 
952  inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::move(value); }
953 
999  inline UpdatePipelineRequest& WithThumbnailConfig(const PipelineOutputConfig& value) { SetThumbnailConfig(value); return *this;}
1000 
1046  inline UpdatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(std::move(value)); return *this;}
1047 
1048  private:
1049 
1050  Aws::String m_id;
1051  bool m_idHasBeenSet;
1052 
1053  Aws::String m_name;
1054  bool m_nameHasBeenSet;
1055 
1056  Aws::String m_inputBucket;
1057  bool m_inputBucketHasBeenSet;
1058 
1059  Aws::String m_role;
1060  bool m_roleHasBeenSet;
1061 
1062  Aws::String m_awsKmsKeyArn;
1063  bool m_awsKmsKeyArnHasBeenSet;
1064 
1065  Notifications m_notifications;
1066  bool m_notificationsHasBeenSet;
1067 
1068  PipelineOutputConfig m_contentConfig;
1069  bool m_contentConfigHasBeenSet;
1070 
1071  PipelineOutputConfig m_thumbnailConfig;
1072  bool m_thumbnailConfigHasBeenSet;
1073  };
1074 
1075 } // namespace Model
1076 } // namespace ElasticTranscoder
1077 } // namespace Aws
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithId
UpdatePipelineRequest & WithId(const char *value)
Definition: UpdatePipelineRequest.h:79
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithRole
UpdatePipelineRequest & WithRole(const char *value)
Definition: UpdatePipelineRequest.h:234
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithName
UpdatePipelineRequest & WithName(const char *value)
Definition: UpdatePipelineRequest.h:136
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetRole
void SetRole(const char *value)
Definition: UpdatePipelineRequest.h:216
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetContentConfig
void SetContentConfig(PipelineOutputConfig &&value)
Definition: UpdatePipelineRequest.h:657
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetAwsKmsKeyArn
const Aws::String & GetAwsKmsKeyArn() const
Definition: UpdatePipelineRequest.h:246
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::AwsKmsKeyArnHasBeenSet
bool AwsKmsKeyArnHasBeenSet() const
Definition: UpdatePipelineRequest.h:257
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithAwsKmsKeyArn
UpdatePipelineRequest & WithAwsKmsKeyArn(const char *value)
Definition: UpdatePipelineRequest.h:323
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithId
UpdatePipelineRequest & WithId(const Aws::String &value)
Definition: UpdatePipelineRequest.h:69
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithNotifications
UpdatePipelineRequest & WithNotifications(const Notifications &value)
Definition: UpdatePipelineRequest.h:424
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::RoleHasBeenSet
bool RoleHasBeenSet() const
Definition: UpdatePipelineRequest.h:198
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetAwsKmsKeyArn
void SetAwsKmsKeyArn(Aws::String &&value)
Definition: UpdatePipelineRequest.h:279
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithRole
UpdatePipelineRequest & WithRole(Aws::String &&value)
Definition: UpdatePipelineRequest.h:228
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetInputBucket
void SetInputBucket(const Aws::String &value)
Definition: UpdatePipelineRequest.h:155
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::UpdatePipelineRequest
UpdatePipelineRequest()
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetNotifications
void SetNotifications(Notifications &&value)
Definition: UpdatePipelineRequest.h:404
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::ThumbnailConfigHasBeenSet
bool ThumbnailConfigHasBeenSet() const
Definition: UpdatePipelineRequest.h:858
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithName
UpdatePipelineRequest & WithName(const Aws::String &value)
Definition: UpdatePipelineRequest.h:122
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithContentConfig
UpdatePipelineRequest & WithContentConfig(const PipelineOutputConfig &value)
Definition: UpdatePipelineRequest.h:710
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetContentConfig
void SetContentConfig(const PipelineOutputConfig &value)
Definition: UpdatePipelineRequest.h:604
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetThumbnailConfig
void SetThumbnailConfig(PipelineOutputConfig &&value)
Definition: UpdatePipelineRequest.h:952
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetRole
void SetRole(Aws::String &&value)
Definition: UpdatePipelineRequest.h:210
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetAwsKmsKeyArn
void SetAwsKmsKeyArn(const Aws::String &value)
Definition: UpdatePipelineRequest.h:268
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithInputBucket
UpdatePipelineRequest & WithInputBucket(const char *value)
Definition: UpdatePipelineRequest.h:185
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetAwsKmsKeyArn
void SetAwsKmsKeyArn(const char *value)
Definition: UpdatePipelineRequest.h:290
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithInputBucket
UpdatePipelineRequest & WithInputBucket(Aws::String &&value)
Definition: UpdatePipelineRequest.h:179
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithAwsKmsKeyArn
UpdatePipelineRequest & WithAwsKmsKeyArn(const Aws::String &value)
Definition: UpdatePipelineRequest.h:301
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetNotifications
const Notifications & GetNotifications() const
Definition: UpdatePipelineRequest.h:344
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithId
UpdatePipelineRequest & WithId(Aws::String &&value)
Definition: UpdatePipelineRequest.h:74
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdatePipelineRequest.h:49
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithThumbnailConfig
UpdatePipelineRequest & WithThumbnailConfig(const PipelineOutputConfig &value)
Definition: UpdatePipelineRequest.h:999
Notifications.h
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetThumbnailConfig
const PipelineOutputConfig & GetThumbnailConfig() const
Definition: UpdatePipelineRequest.h:811
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithContentConfig
UpdatePipelineRequest & WithContentConfig(PipelineOutputConfig &&value)
Definition: UpdatePipelineRequest.h:763
Aws::ElasticTranscoder::Model::Notifications
Definition: Notifications.h:35
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetThumbnailConfig
void SetThumbnailConfig(const PipelineOutputConfig &value)
Definition: UpdatePipelineRequest.h:905
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetName
const Aws::String & GetName() const
Definition: UpdatePipelineRequest.h:87
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetName
void SetName(const char *value)
Definition: UpdatePipelineRequest.h:115
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithNotifications
UpdatePipelineRequest & WithNotifications(Notifications &&value)
Definition: UpdatePipelineRequest.h:444
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetNotifications
void SetNotifications(const Notifications &value)
Definition: UpdatePipelineRequest.h:384
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetInputBucket
void SetInputBucket(const char *value)
Definition: UpdatePipelineRequest.h:167
Aws::ElasticTranscoder::Model::UpdatePipelineRequest
Definition: UpdatePipelineRequest.h:28
AWSString.h
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetInputBucket
void SetInputBucket(Aws::String &&value)
Definition: UpdatePipelineRequest.h:161
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdatePipelineRequest.h:54
PipelineOutputConfig.h
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithName
UpdatePipelineRequest & WithName(Aws::String &&value)
Definition: UpdatePipelineRequest.h:129
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::InputBucketHasBeenSet
bool InputBucketHasBeenSet() const
Definition: UpdatePipelineRequest.h:149
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetContentConfig
const PipelineOutputConfig & GetContentConfig() const
Definition: UpdatePipelineRequest.h:498
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetRole
void SetRole(const Aws::String &value)
Definition: UpdatePipelineRequest.h:204
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithAwsKmsKeyArn
UpdatePipelineRequest & WithAwsKmsKeyArn(Aws::String &&value)
Definition: UpdatePipelineRequest.h:312
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdatePipelineRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdatePipelineRequest.h:108
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithInputBucket
UpdatePipelineRequest & WithInputBucket(const Aws::String &value)
Definition: UpdatePipelineRequest.h:173
Aws::ElasticTranscoder::Model::PipelineOutputConfig
Definition: PipelineOutputConfig.h:35
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetRole
const Aws::String & GetRole() const
Definition: UpdatePipelineRequest.h:192
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::NotificationsHasBeenSet
bool NotificationsHasBeenSet() const
Definition: UpdatePipelineRequest.h:364
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithThumbnailConfig
UpdatePipelineRequest & WithThumbnailConfig(PipelineOutputConfig &&value)
Definition: UpdatePipelineRequest.h:1046
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetId
void SetId(const char *value)
Definition: UpdatePipelineRequest.h:64
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdatePipelineRequest.h:94
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::ContentConfigHasBeenSet
bool ContentConfigHasBeenSet() const
Definition: UpdatePipelineRequest.h:551
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePipelineRequest.h:36
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::WithRole
UpdatePipelineRequest & WithRole(const Aws::String &value)
Definition: UpdatePipelineRequest.h:222
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetInputBucket
const Aws::String & GetInputBucket() const
Definition: UpdatePipelineRequest.h:143
ElasticTranscoderRequest.h
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::GetId
const Aws::String & GetId() const
Definition: UpdatePipelineRequest.h:44
Aws::ElasticTranscoder::Model::UpdatePipelineRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdatePipelineRequest.h:59