AWS SDK for C++  1.9.66
AWS SDK for C++
CreatePipelineRequest.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 "CreatePipeline"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
53  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 
60  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 
67  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 
74  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 
81  inline CreatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
82 
88  inline CreatePipelineRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 
95  inline CreatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
96 
97 
102  inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
103 
108  inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
109 
114  inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
115 
120  inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::move(value); }
121 
126  inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
127 
132  inline CreatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
133 
138  inline CreatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(std::move(value)); return *this;}
139 
144  inline CreatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
145 
146 
166  inline const Aws::String& GetOutputBucket() const{ return m_outputBucket; }
167 
187  inline bool OutputBucketHasBeenSet() const { return m_outputBucketHasBeenSet; }
188 
208  inline void SetOutputBucket(const Aws::String& value) { m_outputBucketHasBeenSet = true; m_outputBucket = value; }
209 
229  inline void SetOutputBucket(Aws::String&& value) { m_outputBucketHasBeenSet = true; m_outputBucket = std::move(value); }
230 
250  inline void SetOutputBucket(const char* value) { m_outputBucketHasBeenSet = true; m_outputBucket.assign(value); }
251 
271  inline CreatePipelineRequest& WithOutputBucket(const Aws::String& value) { SetOutputBucket(value); return *this;}
272 
292  inline CreatePipelineRequest& WithOutputBucket(Aws::String&& value) { SetOutputBucket(std::move(value)); return *this;}
293 
313  inline CreatePipelineRequest& WithOutputBucket(const char* value) { SetOutputBucket(value); return *this;}
314 
315 
320  inline const Aws::String& GetRole() const{ return m_role; }
321 
326  inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
327 
332  inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
333 
338  inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
339 
344  inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
345 
350  inline CreatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
351 
356  inline CreatePipelineRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
357 
362  inline CreatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;}
363 
364 
374  inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
375 
385  inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
386 
396  inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
397 
407  inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::move(value); }
408 
418  inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
419 
429  inline CreatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
430 
440  inline CreatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(std::move(value)); return *this;}
441 
451  inline CreatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
452 
453 
474  inline const Notifications& GetNotifications() const{ return m_notifications; }
475 
496  inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
497 
518  inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
519 
540  inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
541 
562  inline CreatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
563 
584  inline CreatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
585 
586 
638  inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
639 
691  inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
692 
744  inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
745 
797  inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::move(value); }
798 
850  inline CreatePipelineRequest& WithContentConfig(const PipelineOutputConfig& value) { SetContentConfig(value); return *this;}
851 
903  inline CreatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(std::move(value)); return *this;}
904 
905 
951  inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
952 
998  inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
999 
1045  inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
1046 
1092  inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::move(value); }
1093 
1139  inline CreatePipelineRequest& WithThumbnailConfig(const PipelineOutputConfig& value) { SetThumbnailConfig(value); return *this;}
1140 
1186  inline CreatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(std::move(value)); return *this;}
1187 
1188  private:
1189 
1190  Aws::String m_name;
1191  bool m_nameHasBeenSet;
1192 
1193  Aws::String m_inputBucket;
1194  bool m_inputBucketHasBeenSet;
1195 
1196  Aws::String m_outputBucket;
1197  bool m_outputBucketHasBeenSet;
1198 
1199  Aws::String m_role;
1200  bool m_roleHasBeenSet;
1201 
1202  Aws::String m_awsKmsKeyArn;
1203  bool m_awsKmsKeyArnHasBeenSet;
1204 
1205  Notifications m_notifications;
1206  bool m_notificationsHasBeenSet;
1207 
1208  PipelineOutputConfig m_contentConfig;
1209  bool m_contentConfigHasBeenSet;
1210 
1211  PipelineOutputConfig m_thumbnailConfig;
1212  bool m_thumbnailConfigHasBeenSet;
1213  };
1214 
1215 } // namespace Model
1216 } // namespace ElasticTranscoder
1217 } // namespace Aws
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithThumbnailConfig
CreatePipelineRequest & WithThumbnailConfig(const PipelineOutputConfig &value)
Definition: CreatePipelineRequest.h:1139
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetInputBucket
void SetInputBucket(const Aws::String &value)
Definition: CreatePipelineRequest.h:114
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithInputBucket
CreatePipelineRequest & WithInputBucket(Aws::String &&value)
Definition: CreatePipelineRequest.h:138
Aws::ElasticTranscoder::Model::CreatePipelineRequest::AwsKmsKeyArnHasBeenSet
bool AwsKmsKeyArnHasBeenSet() const
Definition: CreatePipelineRequest.h:385
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetThumbnailConfig
void SetThumbnailConfig(PipelineOutputConfig &&value)
Definition: CreatePipelineRequest.h:1092
Aws::ElasticTranscoder::Model::CreatePipelineRequest::ThumbnailConfigHasBeenSet
bool ThumbnailConfigHasBeenSet() const
Definition: CreatePipelineRequest.h:998
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithName
CreatePipelineRequest & WithName(Aws::String &&value)
Definition: CreatePipelineRequest.h:88
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithNotifications
CreatePipelineRequest & WithNotifications(const Notifications &value)
Definition: CreatePipelineRequest.h:562
Aws::ElasticTranscoder::Model::CreatePipelineRequest::OutputBucketHasBeenSet
bool OutputBucketHasBeenSet() const
Definition: CreatePipelineRequest.h:187
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetThumbnailConfig
void SetThumbnailConfig(const PipelineOutputConfig &value)
Definition: CreatePipelineRequest.h:1045
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetName
const Aws::String & GetName() const
Definition: CreatePipelineRequest.h:46
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetAwsKmsKeyArn
void SetAwsKmsKeyArn(Aws::String &&value)
Definition: CreatePipelineRequest.h:407
Aws::ElasticTranscoder::Model::CreatePipelineRequest::InputBucketHasBeenSet
bool InputBucketHasBeenSet() const
Definition: CreatePipelineRequest.h:108
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetRole
void SetRole(const Aws::String &value)
Definition: CreatePipelineRequest.h:332
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetName
void SetName(Aws::String &&value)
Definition: CreatePipelineRequest.h:67
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetNotifications
void SetNotifications(const Notifications &value)
Definition: CreatePipelineRequest.h:518
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::CreatePipelineRequest::NotificationsHasBeenSet
bool NotificationsHasBeenSet() const
Definition: CreatePipelineRequest.h:496
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithContentConfig
CreatePipelineRequest & WithContentConfig(const PipelineOutputConfig &value)
Definition: CreatePipelineRequest.h:850
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetNotifications
const Notifications & GetNotifications() const
Definition: CreatePipelineRequest.h:474
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetOutputBucket
const Aws::String & GetOutputBucket() const
Definition: CreatePipelineRequest.h:166
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetNotifications
void SetNotifications(Notifications &&value)
Definition: CreatePipelineRequest.h:540
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithNotifications
CreatePipelineRequest & WithNotifications(Notifications &&value)
Definition: CreatePipelineRequest.h:584
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithOutputBucket
CreatePipelineRequest & WithOutputBucket(const char *value)
Definition: CreatePipelineRequest.h:313
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetInputBucket
const Aws::String & GetInputBucket() const
Definition: CreatePipelineRequest.h:102
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithName
CreatePipelineRequest & WithName(const char *value)
Definition: CreatePipelineRequest.h:95
Notifications.h
Aws::ElasticTranscoder::Model::Notifications
Definition: Notifications.h:35
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithOutputBucket
CreatePipelineRequest & WithOutputBucket(Aws::String &&value)
Definition: CreatePipelineRequest.h:292
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetRole
void SetRole(Aws::String &&value)
Definition: CreatePipelineRequest.h:338
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreatePipelineRequest.h:36
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithName
CreatePipelineRequest & WithName(const Aws::String &value)
Definition: CreatePipelineRequest.h:81
Aws::ElasticTranscoder::Model::CreatePipelineRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreatePipelineRequest.h:53
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetThumbnailConfig
const PipelineOutputConfig & GetThumbnailConfig() const
Definition: CreatePipelineRequest.h:951
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetOutputBucket
void SetOutputBucket(Aws::String &&value)
Definition: CreatePipelineRequest.h:229
Aws::ElasticTranscoder::Model::CreatePipelineRequest
Definition: CreatePipelineRequest.h:28
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetOutputBucket
void SetOutputBucket(const Aws::String &value)
Definition: CreatePipelineRequest.h:208
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetRole
void SetRole(const char *value)
Definition: CreatePipelineRequest.h:344
AWSString.h
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithAwsKmsKeyArn
CreatePipelineRequest & WithAwsKmsKeyArn(Aws::String &&value)
Definition: CreatePipelineRequest.h:440
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetInputBucket
void SetInputBucket(Aws::String &&value)
Definition: CreatePipelineRequest.h:120
Aws::ElasticTranscoder::Model::CreatePipelineRequest::CreatePipelineRequest
CreatePipelineRequest()
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithRole
CreatePipelineRequest & WithRole(const char *value)
Definition: CreatePipelineRequest.h:362
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithRole
CreatePipelineRequest & WithRole(const Aws::String &value)
Definition: CreatePipelineRequest.h:350
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetAwsKmsKeyArn
void SetAwsKmsKeyArn(const Aws::String &value)
Definition: CreatePipelineRequest.h:396
PipelineOutputConfig.h
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithAwsKmsKeyArn
CreatePipelineRequest & WithAwsKmsKeyArn(const Aws::String &value)
Definition: CreatePipelineRequest.h:429
Aws::ElasticTranscoder::Model::CreatePipelineRequest::ContentConfigHasBeenSet
bool ContentConfigHasBeenSet() const
Definition: CreatePipelineRequest.h:691
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithInputBucket
CreatePipelineRequest & WithInputBucket(const char *value)
Definition: CreatePipelineRequest.h:144
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetInputBucket
void SetInputBucket(const char *value)
Definition: CreatePipelineRequest.h:126
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithRole
CreatePipelineRequest & WithRole(Aws::String &&value)
Definition: CreatePipelineRequest.h:356
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithContentConfig
CreatePipelineRequest & WithContentConfig(PipelineOutputConfig &&value)
Definition: CreatePipelineRequest.h:903
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetContentConfig
void SetContentConfig(PipelineOutputConfig &&value)
Definition: CreatePipelineRequest.h:797
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithOutputBucket
CreatePipelineRequest & WithOutputBucket(const Aws::String &value)
Definition: CreatePipelineRequest.h:271
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetContentConfig
const PipelineOutputConfig & GetContentConfig() const
Definition: CreatePipelineRequest.h:638
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetAwsKmsKeyArn
const Aws::String & GetAwsKmsKeyArn() const
Definition: CreatePipelineRequest.h:374
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::CreatePipelineRequest::RoleHasBeenSet
bool RoleHasBeenSet() const
Definition: CreatePipelineRequest.h:326
Aws::ElasticTranscoder::Model::PipelineOutputConfig
Definition: PipelineOutputConfig.h:35
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithThumbnailConfig
CreatePipelineRequest & WithThumbnailConfig(PipelineOutputConfig &&value)
Definition: CreatePipelineRequest.h:1186
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetContentConfig
void SetContentConfig(const PipelineOutputConfig &value)
Definition: CreatePipelineRequest.h:744
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithAwsKmsKeyArn
CreatePipelineRequest & WithAwsKmsKeyArn(const char *value)
Definition: CreatePipelineRequest.h:451
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetAwsKmsKeyArn
void SetAwsKmsKeyArn(const char *value)
Definition: CreatePipelineRequest.h:418
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetName
void SetName(const Aws::String &value)
Definition: CreatePipelineRequest.h:60
Aws::ElasticTranscoder::Model::CreatePipelineRequest::GetRole
const Aws::String & GetRole() const
Definition: CreatePipelineRequest.h:320
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetName
void SetName(const char *value)
Definition: CreatePipelineRequest.h:74
ElasticTranscoderRequest.h
Aws::ElasticTranscoder::Model::CreatePipelineRequest::SetOutputBucket
void SetOutputBucket(const char *value)
Definition: CreatePipelineRequest.h:250
Aws::ElasticTranscoder::Model::CreatePipelineRequest::WithInputBucket
CreatePipelineRequest & WithInputBucket(const Aws::String &value)
Definition: CreatePipelineRequest.h:132