AWS SDK for C++  1.9.159
AWS SDK for C++
Queue.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace MediaConvert
27 {
28 namespace Model
29 {
30 
42  {
43  public:
44  Queue();
48 
49 
53  inline const Aws::String& GetArn() const{ return m_arn; }
54 
58  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 
63  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 
68  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 
73  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
74 
78  inline Queue& WithArn(const Aws::String& value) { SetArn(value); return *this;}
79 
83  inline Queue& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
84 
88  inline Queue& WithArn(const char* value) { SetArn(value); return *this;}
89 
90 
94  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
95 
99  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
100 
104  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
105 
109  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
110 
114  inline Queue& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
115 
119  inline Queue& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
120 
121 
125  inline const Aws::String& GetDescription() const{ return m_description; }
126 
130  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 
135  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
136 
140  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
141 
145  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
146 
150  inline Queue& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
151 
155  inline Queue& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
156 
160  inline Queue& WithDescription(const char* value) { SetDescription(value); return *this;}
161 
162 
166  inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
167 
171  inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
172 
176  inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
177 
181  inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
182 
186  inline Queue& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
187 
191  inline Queue& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
192 
193 
198  inline const Aws::String& GetName() const{ return m_name; }
199 
204  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
205 
210  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
211 
216  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
217 
222  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
223 
228  inline Queue& WithName(const Aws::String& value) { SetName(value); return *this;}
229 
234  inline Queue& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
235 
240  inline Queue& WithName(const char* value) { SetName(value); return *this;}
241 
242 
249  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
250 
257  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
258 
265  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
266 
273  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
274 
281  inline Queue& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
282 
289  inline Queue& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
290 
291 
295  inline int GetProgressingJobsCount() const{ return m_progressingJobsCount; }
296 
300  inline bool ProgressingJobsCountHasBeenSet() const { return m_progressingJobsCountHasBeenSet; }
301 
305  inline void SetProgressingJobsCount(int value) { m_progressingJobsCountHasBeenSet = true; m_progressingJobsCount = value; }
306 
310  inline Queue& WithProgressingJobsCount(int value) { SetProgressingJobsCount(value); return *this;}
311 
312 
317  inline const ReservationPlan& GetReservationPlan() const{ return m_reservationPlan; }
318 
323  inline bool ReservationPlanHasBeenSet() const { return m_reservationPlanHasBeenSet; }
324 
329  inline void SetReservationPlan(const ReservationPlan& value) { m_reservationPlanHasBeenSet = true; m_reservationPlan = value; }
330 
335  inline void SetReservationPlan(ReservationPlan&& value) { m_reservationPlanHasBeenSet = true; m_reservationPlan = std::move(value); }
336 
341  inline Queue& WithReservationPlan(const ReservationPlan& value) { SetReservationPlan(value); return *this;}
342 
347  inline Queue& WithReservationPlan(ReservationPlan&& value) { SetReservationPlan(std::move(value)); return *this;}
348 
349 
355  inline const QueueStatus& GetStatus() const{ return m_status; }
356 
362  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
363 
369  inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
370 
376  inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
377 
383  inline Queue& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
384 
390  inline Queue& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
391 
392 
396  inline int GetSubmittedJobsCount() const{ return m_submittedJobsCount; }
397 
401  inline bool SubmittedJobsCountHasBeenSet() const { return m_submittedJobsCountHasBeenSet; }
402 
406  inline void SetSubmittedJobsCount(int value) { m_submittedJobsCountHasBeenSet = true; m_submittedJobsCount = value; }
407 
411  inline Queue& WithSubmittedJobsCount(int value) { SetSubmittedJobsCount(value); return *this;}
412 
413 
419  inline const Type& GetType() const{ return m_type; }
420 
426  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
427 
433  inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
434 
440  inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
441 
447  inline Queue& WithType(const Type& value) { SetType(value); return *this;}
448 
454  inline Queue& WithType(Type&& value) { SetType(std::move(value)); return *this;}
455 
456  private:
457 
458  Aws::String m_arn;
459  bool m_arnHasBeenSet;
460 
461  Aws::Utils::DateTime m_createdAt;
462  bool m_createdAtHasBeenSet;
463 
464  Aws::String m_description;
465  bool m_descriptionHasBeenSet;
466 
467  Aws::Utils::DateTime m_lastUpdated;
468  bool m_lastUpdatedHasBeenSet;
469 
470  Aws::String m_name;
471  bool m_nameHasBeenSet;
472 
473  PricingPlan m_pricingPlan;
474  bool m_pricingPlanHasBeenSet;
475 
476  int m_progressingJobsCount;
477  bool m_progressingJobsCountHasBeenSet;
478 
479  ReservationPlan m_reservationPlan;
480  bool m_reservationPlanHasBeenSet;
481 
482  QueueStatus m_status;
483  bool m_statusHasBeenSet;
484 
485  int m_submittedJobsCount;
486  bool m_submittedJobsCountHasBeenSet;
487 
488  Type m_type;
489  bool m_typeHasBeenSet;
490  };
491 
492 } // namespace Model
493 } // namespace MediaConvert
494 } // namespace Aws
Aws::MediaConvert::Model::Queue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaConvert::Model::Queue::WithArn
Queue & WithArn(const Aws::String &value)
Definition: Queue.h:78
Aws::MediaConvert::Model::Queue::WithDescription
Queue & WithDescription(const Aws::String &value)
Definition: Queue.h:150
Aws::MediaConvert::Model::Queue::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Queue.h:130
Aws::MediaConvert::Model::Queue::SetStatus
void SetStatus(QueueStatus &&value)
Definition: Queue.h:376
Aws::MediaConvert::Model::Queue::SetArn
void SetArn(Aws::String &&value)
Definition: Queue.h:68
Aws::MediaConvert::Model::Queue::SetReservationPlan
void SetReservationPlan(ReservationPlan &&value)
Definition: Queue.h:335
Aws::MediaConvert::Model::Queue::Queue
Queue(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Queue::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: Queue.h:265
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::Queue::WithArn
Queue & WithArn(Aws::String &&value)
Definition: Queue.h:83
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
DateTime.h
Aws::MediaConvert::Model::Queue::WithPricingPlan
Queue & WithPricingPlan(const PricingPlan &value)
Definition: Queue.h:281
Aws::MediaConvert::Model::Queue::SetType
void SetType(const Type &value)
Definition: Queue.h:433
Aws::MediaConvert::Model::Queue::WithName
Queue & WithName(Aws::String &&value)
Definition: Queue.h:234
Aws::MediaConvert::Model::Type
Type
Definition: Type.h:17
Aws::MediaConvert::Model::Queue::Queue
Queue()
Aws::MediaConvert::Model::Queue::SetType
void SetType(Type &&value)
Definition: Queue.h:440
ReservationPlan.h
Aws::MediaConvert::Model::Queue::WithDescription
Queue & WithDescription(const char *value)
Definition: Queue.h:160
Aws::MediaConvert::Model::Queue::WithStatus
Queue & WithStatus(QueueStatus &&value)
Definition: Queue.h:390
Aws::MediaConvert::Model::Queue::SetArn
void SetArn(const char *value)
Definition: Queue.h:73
Aws::MediaConvert::Model::Queue::SetReservationPlan
void SetReservationPlan(const ReservationPlan &value)
Definition: Queue.h:329
Aws::MediaConvert::Model::Queue::ProgressingJobsCountHasBeenSet
bool ProgressingJobsCountHasBeenSet() const
Definition: Queue.h:300
Aws::MediaConvert::Model::Queue::GetReservationPlan
const ReservationPlan & GetReservationPlan() const
Definition: Queue.h:317
Aws::MediaConvert::Model::Queue::LastUpdatedHasBeenSet
bool LastUpdatedHasBeenSet() const
Definition: Queue.h:171
Aws::MediaConvert::Model::ReservationPlan
Definition: ReservationPlan.h:36
Aws::MediaConvert::Model::Queue::operator=
Queue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Queue::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Queue.h:58
Aws::MediaConvert::Model::Queue::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Queue.h:204
Aws::MediaConvert::Model::Queue::WithSubmittedJobsCount
Queue & WithSubmittedJobsCount(int value)
Definition: Queue.h:411
Aws::MediaConvert::Model::Queue::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: Queue.h:273
Aws::MediaConvert::Model::Queue::WithCreatedAt
Queue & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Queue.h:114
Aws::MediaConvert::Model::Queue::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Queue.h:104
Aws::MediaConvert::Model::Queue::SetDescription
void SetDescription(Aws::String &&value)
Definition: Queue.h:140
Aws::MediaConvert::Model::Queue::WithName
Queue & WithName(const char *value)
Definition: Queue.h:240
Aws::MediaConvert::Model::Queue::GetStatus
const QueueStatus & GetStatus() const
Definition: Queue.h:355
Aws::MediaConvert::Model::Queue::WithPricingPlan
Queue & WithPricingPlan(PricingPlan &&value)
Definition: Queue.h:289
PricingPlan.h
Aws::MediaConvert::Model::Queue::WithName
Queue & WithName(const Aws::String &value)
Definition: Queue.h:228
Aws::MediaConvert::Model::Queue::WithType
Queue & WithType(const Type &value)
Definition: Queue.h:447
Aws::MediaConvert::Model::Queue::SetStatus
void SetStatus(const QueueStatus &value)
Definition: Queue.h:369
Aws::MediaConvert::Model::Queue::WithArn
Queue & WithArn(const char *value)
Definition: Queue.h:88
Aws::MediaConvert::Model::Queue::WithProgressingJobsCount
Queue & WithProgressingJobsCount(int value)
Definition: Queue.h:310
Aws::MediaConvert::Model::Queue::WithStatus
Queue & WithStatus(const QueueStatus &value)
Definition: Queue.h:383
QueueStatus.h
Aws::MediaConvert::Model::Queue::WithReservationPlan
Queue & WithReservationPlan(const ReservationPlan &value)
Definition: Queue.h:341
Aws::MediaConvert::Model::Queue::GetDescription
const Aws::String & GetDescription() const
Definition: Queue.h:125
Aws::MediaConvert::Model::Queue::GetType
const Type & GetType() const
Definition: Queue.h:419
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::Queue::WithDescription
Queue & WithDescription(Aws::String &&value)
Definition: Queue.h:155
AWSString.h
Aws::MediaConvert::Model::Queue::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Queue.h:362
Aws::MediaConvert::Model::Queue::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: Queue.h:249
Aws::MediaConvert::Model::Queue::SetDescription
void SetDescription(const Aws::String &value)
Definition: Queue.h:135
Aws::MediaConvert::Model::Queue::GetName
const Aws::String & GetName() const
Definition: Queue.h:198
Aws::MediaConvert::Model::Queue::GetSubmittedJobsCount
int GetSubmittedJobsCount() const
Definition: Queue.h:396
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Queue::ReservationPlanHasBeenSet
bool ReservationPlanHasBeenSet() const
Definition: Queue.h:323
Aws::MediaConvert::Model::Queue::WithLastUpdated
Queue & WithLastUpdated(Aws::Utils::DateTime &&value)
Definition: Queue.h:191
Aws::MediaConvert::Model::Queue::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: Queue.h:257
Aws::MediaConvert::Model::Queue::WithLastUpdated
Queue & WithLastUpdated(const Aws::Utils::DateTime &value)
Definition: Queue.h:186
Aws::MediaConvert::Model::Queue::SetLastUpdated
void SetLastUpdated(const Aws::Utils::DateTime &value)
Definition: Queue.h:176
Aws::MediaConvert::Model::Queue::WithCreatedAt
Queue & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Queue.h:119
Aws::MediaConvert::Model::Queue::GetArn
const Aws::String & GetArn() const
Definition: Queue.h:53
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::MediaConvert::Model::Queue::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Queue.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Queue::SetName
void SetName(const char *value)
Definition: Queue.h:222
Aws::MediaConvert::Model::Queue::SetArn
void SetArn(const Aws::String &value)
Definition: Queue.h:63
Aws::MediaConvert::Model::Queue::GetLastUpdated
const Aws::Utils::DateTime & GetLastUpdated() const
Definition: Queue.h:166
Aws::MediaConvert::Model::Queue::SetSubmittedJobsCount
void SetSubmittedJobsCount(int value)
Definition: Queue.h:406
Aws::MediaConvert::Model::Queue::SetName
void SetName(const Aws::String &value)
Definition: Queue.h:210
Aws::MediaConvert::Model::Queue::SetDescription
void SetDescription(const char *value)
Definition: Queue.h:145
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::Queue::WithType
Queue & WithType(Type &&value)
Definition: Queue.h:454
Aws::MediaConvert::Model::QueueStatus
QueueStatus
Definition: QueueStatus.h:17
Aws::MediaConvert::Model::Queue::SetLastUpdated
void SetLastUpdated(Aws::Utils::DateTime &&value)
Definition: Queue.h:181
Aws::MediaConvert::Model::Queue::SetProgressingJobsCount
void SetProgressingJobsCount(int value)
Definition: Queue.h:305
Type.h
Aws::MediaConvert::Model::Queue::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Queue.h:94
Aws::MediaConvert::Model::Queue::GetProgressingJobsCount
int GetProgressingJobsCount() const
Definition: Queue.h:295
Aws::MediaConvert::Model::Queue
Definition: Queue.h:42
Aws::MediaConvert::Model::Queue::SubmittedJobsCountHasBeenSet
bool SubmittedJobsCountHasBeenSet() const
Definition: Queue.h:401
Aws::MediaConvert::Model::Queue::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Queue.h:426
Aws::MediaConvert::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::MediaConvert::Model::Queue::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Queue.h:109
Aws::MediaConvert::Model::Queue::SetName
void SetName(Aws::String &&value)
Definition: Queue.h:216
Aws::MediaConvert::Model::Queue::WithReservationPlan
Queue & WithReservationPlan(ReservationPlan &&value)
Definition: Queue.h:347