AWS SDK for C++  0.14.3
AWS SDK for C++
CreatePipelineRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace ElasticTranscoder
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
58 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
71  inline CreatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
78  inline CreatePipelineRequest& WithName(Aws::String&& value) { SetName(value); return *this;}
79 
85  inline CreatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
86 
91  inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
92 
97  inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
98 
103  inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
104 
109  inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
110 
115  inline CreatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
116 
121  inline CreatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(value); return *this;}
122 
127  inline CreatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
128 
148  inline const Aws::String& GetOutputBucket() const{ return m_outputBucket; }
149 
169  inline void SetOutputBucket(const Aws::String& value) { m_outputBucketHasBeenSet = true; m_outputBucket = value; }
170 
190  inline void SetOutputBucket(Aws::String&& value) { m_outputBucketHasBeenSet = true; m_outputBucket = value; }
191 
211  inline void SetOutputBucket(const char* value) { m_outputBucketHasBeenSet = true; m_outputBucket.assign(value); }
212 
232  inline CreatePipelineRequest& WithOutputBucket(const Aws::String& value) { SetOutputBucket(value); return *this;}
233 
253  inline CreatePipelineRequest& WithOutputBucket(Aws::String&& value) { SetOutputBucket(value); return *this;}
254 
274  inline CreatePipelineRequest& WithOutputBucket(const char* value) { SetOutputBucket(value); return *this;}
275 
280  inline const Aws::String& GetRole() const{ return m_role; }
281 
286  inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
287 
292  inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = value; }
293 
298  inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
299 
304  inline CreatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
305 
310  inline CreatePipelineRequest& WithRole(Aws::String&& value) { SetRole(value); return *this;}
311 
316  inline CreatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;}
317 
327  inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
328 
338  inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
339 
349  inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
350 
360  inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
361 
371  inline CreatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
372 
382  inline CreatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(value); return *this;}
383 
393  inline CreatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
394 
415  inline const Notifications& GetNotifications() const{ return m_notifications; }
416 
437  inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
438 
459  inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
460 
481  inline CreatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
482 
503  inline CreatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(value); return *this;}
504 
556  inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
557 
609  inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
610 
662  inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
663 
715  inline CreatePipelineRequest& WithContentConfig(const PipelineOutputConfig& value) { SetContentConfig(value); return *this;}
716 
768  inline CreatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(value); return *this;}
769 
814  inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
815 
860  inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
861 
906  inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
907 
952  inline CreatePipelineRequest& WithThumbnailConfig(const PipelineOutputConfig& value) { SetThumbnailConfig(value); return *this;}
953 
998  inline CreatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(value); return *this;}
999 
1000  private:
1001  Aws::String m_name;
1002  bool m_nameHasBeenSet;
1003  Aws::String m_inputBucket;
1004  bool m_inputBucketHasBeenSet;
1005  Aws::String m_outputBucket;
1006  bool m_outputBucketHasBeenSet;
1007  Aws::String m_role;
1008  bool m_roleHasBeenSet;
1009  Aws::String m_awsKmsKeyArn;
1010  bool m_awsKmsKeyArnHasBeenSet;
1011  Notifications m_notifications;
1012  bool m_notificationsHasBeenSet;
1013  PipelineOutputConfig m_contentConfig;
1014  bool m_contentConfigHasBeenSet;
1015  PipelineOutputConfig m_thumbnailConfig;
1016  bool m_thumbnailConfigHasBeenSet;
1017  };
1018 
1019 } // namespace Model
1020 } // namespace ElasticTranscoder
1021 } // namespace Aws
CreatePipelineRequest & WithOutputBucket(const Aws::String &value)
CreatePipelineRequest & WithAwsKmsKeyArn(Aws::String &&value)
CreatePipelineRequest & WithInputBucket(Aws::String &&value)
CreatePipelineRequest & WithContentConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithNotifications(Notifications &&value)
CreatePipelineRequest & WithContentConfig(PipelineOutputConfig &&value)
void SetContentConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithName(const char *value)
CreatePipelineRequest & WithThumbnailConfig(PipelineOutputConfig &&value)
CreatePipelineRequest & WithOutputBucket(const char *value)
CreatePipelineRequest & WithNotifications(const Notifications &value)
void SetThumbnailConfig(const PipelineOutputConfig &value)
CreatePipelineRequest & WithOutputBucket(Aws::String &&value)
CreatePipelineRequest & WithRole(const char *value)
CreatePipelineRequest & WithName(const Aws::String &value)
CreatePipelineRequest & WithThumbnailConfig(const PipelineOutputConfig &value)
#define AWS_ELASTICTRANSCODER_API
CreatePipelineRequest & WithAwsKmsKeyArn(const Aws::String &value)
CreatePipelineRequest & WithAwsKmsKeyArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const PipelineOutputConfig & GetThumbnailConfig() const
CreatePipelineRequest & WithRole(Aws::String &&value)
CreatePipelineRequest & WithInputBucket(const Aws::String &value)
CreatePipelineRequest & WithRole(const Aws::String &value)
CreatePipelineRequest & WithName(Aws::String &&value)
CreatePipelineRequest & WithInputBucket(const char *value)
const PipelineOutputConfig & GetContentConfig() const
JSON (JavaScript Object Notation).