AWS SDK for C++  0.14.3
AWS SDK for C++
UpdatePipelineRequest.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 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
46  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
47 
51  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; }
52 
56  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
57 
61  inline UpdatePipelineRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
62 
66  inline UpdatePipelineRequest& WithId(Aws::String&& value) { SetId(value); return *this;}
67 
71  inline UpdatePipelineRequest& WithId(const char* value) { SetId(value); return *this;}
72 
78  inline const Aws::String& GetName() const{ return m_name; }
79 
85  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
86 
92  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
93 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
106  inline UpdatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
113  inline UpdatePipelineRequest& WithName(Aws::String&& value) { SetName(value); return *this;}
114 
120  inline UpdatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
121 
126  inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
127 
132  inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
133 
138  inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
139 
144  inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
145 
150  inline UpdatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
151 
156  inline UpdatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(value); return *this;}
157 
162  inline UpdatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
163 
168  inline const Aws::String& GetRole() const{ return m_role; }
169 
174  inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
175 
180  inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = value; }
181 
186  inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
187 
192  inline UpdatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
193 
198  inline UpdatePipelineRequest& WithRole(Aws::String&& value) { SetRole(value); return *this;}
199 
204  inline UpdatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;}
205 
215  inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
216 
226  inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
227 
237  inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
238 
248  inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
249 
259  inline UpdatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
260 
270  inline UpdatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(value); return *this;}
271 
281  inline UpdatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
282 
283 
284  inline const Notifications& GetNotifications() const{ return m_notifications; }
285 
286 
287  inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
288 
289 
290  inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
291 
292 
293  inline UpdatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
294 
295 
296  inline UpdatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(value); return *this;}
297 
349  inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
350 
402  inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
403 
455  inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
456 
508  inline UpdatePipelineRequest& WithContentConfig(const PipelineOutputConfig& value) { SetContentConfig(value); return *this;}
509 
561  inline UpdatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(value); return *this;}
562 
607  inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
608 
653  inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
654 
699  inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
700 
745  inline UpdatePipelineRequest& WithThumbnailConfig(const PipelineOutputConfig& value) { SetThumbnailConfig(value); return *this;}
746 
791  inline UpdatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(value); return *this;}
792 
793  private:
794  Aws::String m_id;
795  bool m_idHasBeenSet;
796  Aws::String m_name;
797  bool m_nameHasBeenSet;
798  Aws::String m_inputBucket;
799  bool m_inputBucketHasBeenSet;
800  Aws::String m_role;
801  bool m_roleHasBeenSet;
802  Aws::String m_awsKmsKeyArn;
803  bool m_awsKmsKeyArnHasBeenSet;
804  Notifications m_notifications;
805  bool m_notificationsHasBeenSet;
806  PipelineOutputConfig m_contentConfig;
807  bool m_contentConfigHasBeenSet;
808  PipelineOutputConfig m_thumbnailConfig;
809  bool m_thumbnailConfigHasBeenSet;
810  };
811 
812 } // namespace Model
813 } // namespace ElasticTranscoder
814 } // namespace Aws
UpdatePipelineRequest & WithRole(const char *value)
UpdatePipelineRequest & WithContentConfig(const PipelineOutputConfig &value)
UpdatePipelineRequest & WithInputBucket(const Aws::String &value)
UpdatePipelineRequest & WithInputBucket(Aws::String &&value)
UpdatePipelineRequest & WithNotifications(const Notifications &value)
void SetContentConfig(const PipelineOutputConfig &value)
UpdatePipelineRequest & WithRole(Aws::String &&value)
UpdatePipelineRequest & WithInputBucket(const char *value)
UpdatePipelineRequest & WithThumbnailConfig(const PipelineOutputConfig &value)
const PipelineOutputConfig & GetThumbnailConfig() const
const PipelineOutputConfig & GetContentConfig() const
UpdatePipelineRequest & WithRole(const Aws::String &value)
UpdatePipelineRequest & WithName(const Aws::String &value)
void SetThumbnailConfig(const PipelineOutputConfig &value)
UpdatePipelineRequest & WithId(const char *value)
UpdatePipelineRequest & WithId(Aws::String &&value)
UpdatePipelineRequest & WithNotifications(Notifications &&value)
#define AWS_ELASTICTRANSCODER_API
UpdatePipelineRequest & WithAwsKmsKeyArn(const Aws::String &value)
UpdatePipelineRequest & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdatePipelineRequest & WithAwsKmsKeyArn(Aws::String &&value)
UpdatePipelineRequest & WithContentConfig(PipelineOutputConfig &&value)
UpdatePipelineRequest & WithAwsKmsKeyArn(const char *value)
UpdatePipelineRequest & WithName(Aws::String &&value)
UpdatePipelineRequest & WithName(const char *value)
UpdatePipelineRequest & WithThumbnailConfig(PipelineOutputConfig &&value)
JSON (JavaScript Object Notation).