AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Pipeline.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/Notifications.h>
10#include <aws/elastictranscoder/model/PipelineOutputConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ElasticTranscoder
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API Pipeline() = default;
38 AWS_ELASTICTRANSCODER_API Pipeline(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API Pipeline& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 Pipeline& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template<typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 Pipeline& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template<typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 Pipeline& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82
84
89 inline const Aws::String& GetStatus() const { return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 template<typename StatusT = Aws::String>
92 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
93 template<typename StatusT = Aws::String>
94 Pipeline& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
96
98
103 inline const Aws::String& GetInputBucket() const { return m_inputBucket; }
104 inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
105 template<typename InputBucketT = Aws::String>
106 void SetInputBucket(InputBucketT&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::forward<InputBucketT>(value); }
107 template<typename InputBucketT = Aws::String>
108 Pipeline& WithInputBucket(InputBucketT&& value) { SetInputBucket(std::forward<InputBucketT>(value)); return *this;}
110
112
117 inline const Aws::String& GetOutputBucket() const { return m_outputBucket; }
118 inline bool OutputBucketHasBeenSet() const { return m_outputBucketHasBeenSet; }
119 template<typename OutputBucketT = Aws::String>
120 void SetOutputBucket(OutputBucketT&& value) { m_outputBucketHasBeenSet = true; m_outputBucket = std::forward<OutputBucketT>(value); }
121 template<typename OutputBucketT = Aws::String>
122 Pipeline& WithOutputBucket(OutputBucketT&& value) { SetOutputBucket(std::forward<OutputBucketT>(value)); return *this;}
124
126
130 inline const Aws::String& GetRole() const { return m_role; }
131 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
132 template<typename RoleT = Aws::String>
133 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
134 template<typename RoleT = Aws::String>
135 Pipeline& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
137
139
148 inline const Aws::String& GetAwsKmsKeyArn() const { return m_awsKmsKeyArn; }
149 inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
150 template<typename AwsKmsKeyArnT = Aws::String>
151 void SetAwsKmsKeyArn(AwsKmsKeyArnT&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::forward<AwsKmsKeyArnT>(value); }
152 template<typename AwsKmsKeyArnT = Aws::String>
153 Pipeline& WithAwsKmsKeyArn(AwsKmsKeyArnT&& value) { SetAwsKmsKeyArn(std::forward<AwsKmsKeyArnT>(value)); return *this;}
155
157
171 inline const Notifications& GetNotifications() const { return m_notifications; }
172 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
173 template<typename NotificationsT = Notifications>
174 void SetNotifications(NotificationsT&& value) { m_notificationsHasBeenSet = true; m_notifications = std::forward<NotificationsT>(value); }
175 template<typename NotificationsT = Notifications>
176 Pipeline& WithNotifications(NotificationsT&& value) { SetNotifications(std::forward<NotificationsT>(value)); return *this;}
178
180
212 inline const PipelineOutputConfig& GetContentConfig() const { return m_contentConfig; }
213 inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
214 template<typename ContentConfigT = PipelineOutputConfig>
215 void SetContentConfig(ContentConfigT&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::forward<ContentConfigT>(value); }
216 template<typename ContentConfigT = PipelineOutputConfig>
217 Pipeline& WithContentConfig(ContentConfigT&& value) { SetContentConfig(std::forward<ContentConfigT>(value)); return *this;}
219
221
254 inline const PipelineOutputConfig& GetThumbnailConfig() const { return m_thumbnailConfig; }
255 inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
256 template<typename ThumbnailConfigT = PipelineOutputConfig>
257 void SetThumbnailConfig(ThumbnailConfigT&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::forward<ThumbnailConfigT>(value); }
258 template<typename ThumbnailConfigT = PipelineOutputConfig>
259 Pipeline& WithThumbnailConfig(ThumbnailConfigT&& value) { SetThumbnailConfig(std::forward<ThumbnailConfigT>(value)); return *this;}
261 private:
262
263 Aws::String m_id;
264 bool m_idHasBeenSet = false;
265
266 Aws::String m_arn;
267 bool m_arnHasBeenSet = false;
268
269 Aws::String m_name;
270 bool m_nameHasBeenSet = false;
271
272 Aws::String m_status;
273 bool m_statusHasBeenSet = false;
274
275 Aws::String m_inputBucket;
276 bool m_inputBucketHasBeenSet = false;
277
278 Aws::String m_outputBucket;
279 bool m_outputBucketHasBeenSet = false;
280
281 Aws::String m_role;
282 bool m_roleHasBeenSet = false;
283
284 Aws::String m_awsKmsKeyArn;
285 bool m_awsKmsKeyArnHasBeenSet = false;
286
287 Notifications m_notifications;
288 bool m_notificationsHasBeenSet = false;
289
290 PipelineOutputConfig m_contentConfig;
291 bool m_contentConfigHasBeenSet = false;
292
293 PipelineOutputConfig m_thumbnailConfig;
294 bool m_thumbnailConfigHasBeenSet = false;
295 };
296
297} // namespace Model
298} // namespace ElasticTranscoder
299} // namespace Aws
const Notifications & GetNotifications() const
Definition Pipeline.h:171
AWS_ELASTICTRANSCODER_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithRole(RoleT &&value)
Definition Pipeline.h:135
Pipeline & WithAwsKmsKeyArn(AwsKmsKeyArnT &&value)
Definition Pipeline.h:153
const Aws::String & GetInputBucket() const
Definition Pipeline.h:103
Pipeline & WithInputBucket(InputBucketT &&value)
Definition Pipeline.h:108
AWS_ELASTICTRANSCODER_API Pipeline()=default
Pipeline & WithOutputBucket(OutputBucketT &&value)
Definition Pipeline.h:122
const Aws::String & GetOutputBucket() const
Definition Pipeline.h:117
void SetContentConfig(ContentConfigT &&value)
Definition Pipeline.h:215
void SetStatus(StatusT &&value)
Definition Pipeline.h:92
const Aws::String & GetId() const
Definition Pipeline.h:49
const Aws::String & GetRole() const
Definition Pipeline.h:130
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
const PipelineOutputConfig & GetContentConfig() const
Definition Pipeline.h:212
Pipeline & WithStatus(StatusT &&value)
Definition Pipeline.h:94
const Aws::String & GetArn() const
Definition Pipeline.h:61
const Aws::String & GetStatus() const
Definition Pipeline.h:89
void SetInputBucket(InputBucketT &&value)
Definition Pipeline.h:106
void SetNotifications(NotificationsT &&value)
Definition Pipeline.h:174
const PipelineOutputConfig & GetThumbnailConfig() const
Definition Pipeline.h:254
void SetThumbnailConfig(ThumbnailConfigT &&value)
Definition Pipeline.h:257
Pipeline & WithArn(ArnT &&value)
Definition Pipeline.h:66
void SetOutputBucket(OutputBucketT &&value)
Definition Pipeline.h:120
Pipeline & WithName(NameT &&value)
Definition Pipeline.h:80
Pipeline & WithContentConfig(ContentConfigT &&value)
Definition Pipeline.h:217
Pipeline & WithNotifications(NotificationsT &&value)
Definition Pipeline.h:176
const Aws::String & GetName() const
Definition Pipeline.h:75
void SetAwsKmsKeyArn(AwsKmsKeyArnT &&value)
Definition Pipeline.h:151
Pipeline & WithId(IdT &&value)
Definition Pipeline.h:54
const Aws::String & GetAwsKmsKeyArn() const
Definition Pipeline.h:148
Pipeline & WithThumbnailConfig(ThumbnailConfigT &&value)
Definition Pipeline.h:259
AWS_ELASTICTRANSCODER_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue