AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline Pipeline& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline Pipeline& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline Pipeline& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline Pipeline& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline Pipeline& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline Pipeline& WithArn(const char* value) { SetArn(value); return *this;}
72
74
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
83 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 inline Pipeline& WithName(const Aws::String& value) { SetName(value); return *this;}
85 inline Pipeline& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 inline Pipeline& WithName(const char* value) { SetName(value); return *this;}
88
90
95 inline const Aws::String& GetStatus() const{ return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
98 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
99 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
100 inline Pipeline& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
101 inline Pipeline& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
102 inline Pipeline& WithStatus(const char* value) { SetStatus(value); return *this;}
104
106
111 inline const Aws::String& GetInputBucket() const{ return m_inputBucket; }
112 inline bool InputBucketHasBeenSet() const { return m_inputBucketHasBeenSet; }
113 inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; }
114 inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = std::move(value); }
115 inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); }
116 inline Pipeline& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;}
117 inline Pipeline& WithInputBucket(Aws::String&& value) { SetInputBucket(std::move(value)); return *this;}
118 inline Pipeline& WithInputBucket(const char* value) { SetInputBucket(value); return *this;}
120
122
127 inline const Aws::String& GetOutputBucket() const{ return m_outputBucket; }
128 inline bool OutputBucketHasBeenSet() const { return m_outputBucketHasBeenSet; }
129 inline void SetOutputBucket(const Aws::String& value) { m_outputBucketHasBeenSet = true; m_outputBucket = value; }
130 inline void SetOutputBucket(Aws::String&& value) { m_outputBucketHasBeenSet = true; m_outputBucket = std::move(value); }
131 inline void SetOutputBucket(const char* value) { m_outputBucketHasBeenSet = true; m_outputBucket.assign(value); }
132 inline Pipeline& WithOutputBucket(const Aws::String& value) { SetOutputBucket(value); return *this;}
133 inline Pipeline& WithOutputBucket(Aws::String&& value) { SetOutputBucket(std::move(value)); return *this;}
134 inline Pipeline& WithOutputBucket(const char* value) { SetOutputBucket(value); return *this;}
136
138
142 inline const Aws::String& GetRole() const{ return m_role; }
143 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
144 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
145 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
146 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
147 inline Pipeline& WithRole(const Aws::String& value) { SetRole(value); return *this;}
148 inline Pipeline& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
149 inline Pipeline& WithRole(const char* value) { SetRole(value); return *this;}
151
153
162 inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; }
163 inline bool AwsKmsKeyArnHasBeenSet() const { return m_awsKmsKeyArnHasBeenSet; }
164 inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; }
165 inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = std::move(value); }
166 inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); }
167 inline Pipeline& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;}
168 inline Pipeline& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(std::move(value)); return *this;}
169 inline Pipeline& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;}
171
173
187 inline const Notifications& GetNotifications() const{ return m_notifications; }
188 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
189 inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
190 inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
191 inline Pipeline& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
192 inline Pipeline& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
194
196
228 inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; }
229 inline bool ContentConfigHasBeenSet() const { return m_contentConfigHasBeenSet; }
230 inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; }
231 inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = std::move(value); }
232 inline Pipeline& WithContentConfig(const PipelineOutputConfig& value) { SetContentConfig(value); return *this;}
233 inline Pipeline& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(std::move(value)); return *this;}
235
237
270 inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; }
271 inline bool ThumbnailConfigHasBeenSet() const { return m_thumbnailConfigHasBeenSet; }
272 inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; }
273 inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = std::move(value); }
274 inline Pipeline& WithThumbnailConfig(const PipelineOutputConfig& value) { SetThumbnailConfig(value); return *this;}
275 inline Pipeline& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(std::move(value)); return *this;}
277 private:
278
279 Aws::String m_id;
280 bool m_idHasBeenSet = false;
281
282 Aws::String m_arn;
283 bool m_arnHasBeenSet = false;
284
285 Aws::String m_name;
286 bool m_nameHasBeenSet = false;
287
288 Aws::String m_status;
289 bool m_statusHasBeenSet = false;
290
291 Aws::String m_inputBucket;
292 bool m_inputBucketHasBeenSet = false;
293
294 Aws::String m_outputBucket;
295 bool m_outputBucketHasBeenSet = false;
296
297 Aws::String m_role;
298 bool m_roleHasBeenSet = false;
299
300 Aws::String m_awsKmsKeyArn;
301 bool m_awsKmsKeyArnHasBeenSet = false;
302
303 Notifications m_notifications;
304 bool m_notificationsHasBeenSet = false;
305
306 PipelineOutputConfig m_contentConfig;
307 bool m_contentConfigHasBeenSet = false;
308
309 PipelineOutputConfig m_thumbnailConfig;
310 bool m_thumbnailConfigHasBeenSet = false;
311 };
312
313} // namespace Model
314} // namespace ElasticTranscoder
315} // namespace Aws
const Notifications & GetNotifications() const
Definition Pipeline.h:187
void SetAwsKmsKeyArn(const char *value)
Definition Pipeline.h:166
AWS_ELASTICTRANSCODER_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithRole(const Aws::String &value)
Definition Pipeline.h:147
Pipeline & WithOutputBucket(const char *value)
Definition Pipeline.h:134
Pipeline & WithRole(Aws::String &&value)
Definition Pipeline.h:148
Pipeline & WithName(Aws::String &&value)
Definition Pipeline.h:85
const Aws::String & GetInputBucket() const
Definition Pipeline.h:111
const Aws::String & GetOutputBucket() const
Definition Pipeline.h:127
Pipeline & WithStatus(const Aws::String &value)
Definition Pipeline.h:100
Pipeline & WithInputBucket(Aws::String &&value)
Definition Pipeline.h:117
const Aws::String & GetId() const
Definition Pipeline.h:49
void SetOutputBucket(Aws::String &&value)
Definition Pipeline.h:130
void SetId(Aws::String &&value)
Definition Pipeline.h:52
Pipeline & WithOutputBucket(const Aws::String &value)
Definition Pipeline.h:132
void SetStatus(const char *value)
Definition Pipeline.h:99
void SetStatus(const Aws::String &value)
Definition Pipeline.h:97
const Aws::String & GetRole() const
Definition Pipeline.h:142
void SetNotifications(Notifications &&value)
Definition Pipeline.h:190
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRole(const Aws::String &value)
Definition Pipeline.h:144
const PipelineOutputConfig & GetContentConfig() const
Definition Pipeline.h:228
void SetId(const char *value)
Definition Pipeline.h:53
Pipeline & WithNotifications(const Notifications &value)
Definition Pipeline.h:191
Pipeline & WithName(const Aws::String &value)
Definition Pipeline.h:84
Pipeline & WithRole(const char *value)
Definition Pipeline.h:149
Pipeline & WithId(const char *value)
Definition Pipeline.h:56
const Aws::String & GetArn() const
Definition Pipeline.h:63
Pipeline & WithId(Aws::String &&value)
Definition Pipeline.h:55
const Aws::String & GetStatus() const
Definition Pipeline.h:95
void SetThumbnailConfig(PipelineOutputConfig &&value)
Definition Pipeline.h:273
void SetAwsKmsKeyArn(const Aws::String &value)
Definition Pipeline.h:164
const PipelineOutputConfig & GetThumbnailConfig() const
Definition Pipeline.h:270
Pipeline & WithAwsKmsKeyArn(const Aws::String &value)
Definition Pipeline.h:167
Pipeline & WithName(const char *value)
Definition Pipeline.h:86
void SetName(const char *value)
Definition Pipeline.h:83
Pipeline & WithNotifications(Notifications &&value)
Definition Pipeline.h:192
void SetArn(Aws::String &&value)
Definition Pipeline.h:66
void SetContentConfig(const PipelineOutputConfig &value)
Definition Pipeline.h:230
Pipeline & WithThumbnailConfig(const PipelineOutputConfig &value)
Definition Pipeline.h:274
Pipeline & WithOutputBucket(Aws::String &&value)
Definition Pipeline.h:133
void SetId(const Aws::String &value)
Definition Pipeline.h:51
Pipeline & WithInputBucket(const Aws::String &value)
Definition Pipeline.h:116
void SetRole(const char *value)
Definition Pipeline.h:146
Pipeline & WithContentConfig(const PipelineOutputConfig &value)
Definition Pipeline.h:232
void SetArn(const Aws::String &value)
Definition Pipeline.h:65
Pipeline & WithContentConfig(PipelineOutputConfig &&value)
Definition Pipeline.h:233
void SetInputBucket(const char *value)
Definition Pipeline.h:115
void SetArn(const char *value)
Definition Pipeline.h:67
void SetStatus(Aws::String &&value)
Definition Pipeline.h:98
void SetThumbnailConfig(const PipelineOutputConfig &value)
Definition Pipeline.h:272
void SetInputBucket(const Aws::String &value)
Definition Pipeline.h:113
void SetRole(Aws::String &&value)
Definition Pipeline.h:145
Pipeline & WithArn(const Aws::String &value)
Definition Pipeline.h:68
void SetOutputBucket(const char *value)
Definition Pipeline.h:131
const Aws::String & GetName() const
Definition Pipeline.h:79
void SetOutputBucket(const Aws::String &value)
Definition Pipeline.h:129
void SetInputBucket(Aws::String &&value)
Definition Pipeline.h:114
Pipeline & WithArn(Aws::String &&value)
Definition Pipeline.h:69
Pipeline & WithAwsKmsKeyArn(const char *value)
Definition Pipeline.h:169
void SetContentConfig(PipelineOutputConfig &&value)
Definition Pipeline.h:231
void SetName(Aws::String &&value)
Definition Pipeline.h:82
Pipeline & WithStatus(const char *value)
Definition Pipeline.h:102
const Aws::String & GetAwsKmsKeyArn() const
Definition Pipeline.h:162
void SetName(const Aws::String &value)
Definition Pipeline.h:81
void SetAwsKmsKeyArn(Aws::String &&value)
Definition Pipeline.h:165
Pipeline & WithArn(const char *value)
Definition Pipeline.h:70
void SetNotifications(const Notifications &value)
Definition Pipeline.h:189
AWS_ELASTICTRANSCODER_API Pipeline()
Pipeline & WithThumbnailConfig(PipelineOutputConfig &&value)
Definition Pipeline.h:275
AWS_ELASTICTRANSCODER_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithId(const Aws::String &value)
Definition Pipeline.h:54
Pipeline & WithStatus(Aws::String &&value)
Definition Pipeline.h:101
Pipeline & WithAwsKmsKeyArn(Aws::String &&value)
Definition Pipeline.h:168
Pipeline & WithInputBucket(const char *value)
Definition Pipeline.h:118
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue