AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Queue.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mediaconvert/model/PricingPlan.h>
11#include <aws/mediaconvert/model/ReservationPlan.h>
12#include <aws/mediaconvert/model/QueueStatus.h>
13#include <aws/mediaconvert/model/Type.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert
27{
28namespace Model
29{
30
41 class Queue
42 {
43 public:
44 AWS_MEDIACONVERT_API Queue();
45 AWS_MEDIACONVERT_API Queue(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIACONVERT_API Queue& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline Queue& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline Queue& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline Queue& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
69 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
70 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
71 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
72 inline Queue& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
73 inline Queue& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline Queue& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline Queue& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline Queue& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
95 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
96 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
97 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
98 inline Queue& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
99 inline Queue& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
101
103
107 inline const Aws::String& GetName() const{ return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
110 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
111 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
112 inline Queue& WithName(const Aws::String& value) { SetName(value); return *this;}
113 inline Queue& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 inline Queue& WithName(const char* value) { SetName(value); return *this;}
116
118
124 inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
125 inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
126 inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
127 inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
128 inline Queue& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
129 inline Queue& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
131
133
136 inline int GetProgressingJobsCount() const{ return m_progressingJobsCount; }
137 inline bool ProgressingJobsCountHasBeenSet() const { return m_progressingJobsCountHasBeenSet; }
138 inline void SetProgressingJobsCount(int value) { m_progressingJobsCountHasBeenSet = true; m_progressingJobsCount = value; }
139 inline Queue& WithProgressingJobsCount(int value) { SetProgressingJobsCount(value); return *this;}
141
143
147 inline const ReservationPlan& GetReservationPlan() const{ return m_reservationPlan; }
148 inline bool ReservationPlanHasBeenSet() const { return m_reservationPlanHasBeenSet; }
149 inline void SetReservationPlan(const ReservationPlan& value) { m_reservationPlanHasBeenSet = true; m_reservationPlan = value; }
150 inline void SetReservationPlan(ReservationPlan&& value) { m_reservationPlanHasBeenSet = true; m_reservationPlan = std::move(value); }
151 inline Queue& WithReservationPlan(const ReservationPlan& value) { SetReservationPlan(value); return *this;}
152 inline Queue& WithReservationPlan(ReservationPlan&& value) { SetReservationPlan(std::move(value)); return *this;}
154
156
161 inline const QueueStatus& GetStatus() const{ return m_status; }
162 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
163 inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
164 inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
165 inline Queue& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
166 inline Queue& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
168
170
173 inline int GetSubmittedJobsCount() const{ return m_submittedJobsCount; }
174 inline bool SubmittedJobsCountHasBeenSet() const { return m_submittedJobsCountHasBeenSet; }
175 inline void SetSubmittedJobsCount(int value) { m_submittedJobsCountHasBeenSet = true; m_submittedJobsCount = value; }
176 inline Queue& WithSubmittedJobsCount(int value) { SetSubmittedJobsCount(value); return *this;}
178
180
185 inline const Type& GetType() const{ return m_type; }
186 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
187 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
188 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
189 inline Queue& WithType(const Type& value) { SetType(value); return *this;}
190 inline Queue& WithType(Type&& value) { SetType(std::move(value)); return *this;}
192 private:
193
194 Aws::String m_arn;
195 bool m_arnHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt;
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::String m_description;
201 bool m_descriptionHasBeenSet = false;
202
203 Aws::Utils::DateTime m_lastUpdated;
204 bool m_lastUpdatedHasBeenSet = false;
205
206 Aws::String m_name;
207 bool m_nameHasBeenSet = false;
208
209 PricingPlan m_pricingPlan;
210 bool m_pricingPlanHasBeenSet = false;
211
212 int m_progressingJobsCount;
213 bool m_progressingJobsCountHasBeenSet = false;
214
215 ReservationPlan m_reservationPlan;
216 bool m_reservationPlanHasBeenSet = false;
217
218 QueueStatus m_status;
219 bool m_statusHasBeenSet = false;
220
221 int m_submittedJobsCount;
222 bool m_submittedJobsCountHasBeenSet = false;
223
224 Type m_type;
225 bool m_typeHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace MediaConvert
230} // namespace Aws
void SetPricingPlan(const PricingPlan &value)
Definition Queue.h:126
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Queue.h:71
void SetProgressingJobsCount(int value)
Definition Queue.h:138
int GetSubmittedJobsCount() const
Definition Queue.h:173
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Queue.h:68
const QueueStatus & GetStatus() const
Definition Queue.h:161
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API Queue & operator=(Aws::Utils::Json::JsonView jsonValue)
Queue & WithProgressingJobsCount(int value)
Definition Queue.h:139
bool DescriptionHasBeenSet() const
Definition Queue.h:81
Queue & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Queue.h:73
void SetSubmittedJobsCount(int value)
Definition Queue.h:175
void SetPricingPlan(PricingPlan &&value)
Definition Queue.h:127
Queue & WithName(const Aws::String &value)
Definition Queue.h:112
AWS_MEDIACONVERT_API Queue(Aws::Utils::Json::JsonView jsonValue)
const ReservationPlan & GetReservationPlan() const
Definition Queue.h:147
Queue & WithArn(const Aws::String &value)
Definition Queue.h:59
bool SubmittedJobsCountHasBeenSet() const
Definition Queue.h:174
Queue & WithStatus(const QueueStatus &value)
Definition Queue.h:165
Queue & WithName(Aws::String &&value)
Definition Queue.h:113
Queue & WithLastUpdated(const Aws::Utils::DateTime &value)
Definition Queue.h:98
void SetArn(Aws::String &&value)
Definition Queue.h:57
Queue & WithArn(Aws::String &&value)
Definition Queue.h:60
Queue & WithPricingPlan(PricingPlan &&value)
Definition Queue.h:129
void SetLastUpdated(const Aws::Utils::DateTime &value)
Definition Queue.h:96
void SetType(Type &&value)
Definition Queue.h:188
Queue & WithArn(const char *value)
Definition Queue.h:61
Queue & WithReservationPlan(ReservationPlan &&value)
Definition Queue.h:152
void SetDescription(Aws::String &&value)
Definition Queue.h:83
bool ProgressingJobsCountHasBeenSet() const
Definition Queue.h:137
void SetName(const char *value)
Definition Queue.h:111
bool CreatedAtHasBeenSet() const
Definition Queue.h:69
Queue & WithDescription(const char *value)
Definition Queue.h:87
const Aws::Utils::DateTime & GetLastUpdated() const
Definition Queue.h:94
bool LastUpdatedHasBeenSet() const
Definition Queue.h:95
AWS_MEDIACONVERT_API Queue()
void SetArn(const char *value)
Definition Queue.h:58
Queue & WithType(Type &&value)
Definition Queue.h:190
Queue & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Queue.h:72
void SetName(const Aws::String &value)
Definition Queue.h:109
Queue & WithType(const Type &value)
Definition Queue.h:189
const Type & GetType() const
Definition Queue.h:185
void SetName(Aws::String &&value)
Definition Queue.h:110
void SetStatus(const QueueStatus &value)
Definition Queue.h:163
bool StatusHasBeenSet() const
Definition Queue.h:162
Queue & WithPricingPlan(const PricingPlan &value)
Definition Queue.h:128
void SetType(const Type &value)
Definition Queue.h:187
const Aws::String & GetArn() const
Definition Queue.h:54
void SetReservationPlan(ReservationPlan &&value)
Definition Queue.h:150
int GetProgressingJobsCount() const
Definition Queue.h:136
void SetLastUpdated(Aws::Utils::DateTime &&value)
Definition Queue.h:97
Queue & WithName(const char *value)
Definition Queue.h:114
Queue & WithReservationPlan(const ReservationPlan &value)
Definition Queue.h:151
void SetArn(const Aws::String &value)
Definition Queue.h:56
Queue & WithDescription(Aws::String &&value)
Definition Queue.h:86
const Aws::String & GetDescription() const
Definition Queue.h:80
void SetReservationPlan(const ReservationPlan &value)
Definition Queue.h:149
const Aws::String & GetName() const
Definition Queue.h:107
void SetDescription(const char *value)
Definition Queue.h:84
Queue & WithStatus(QueueStatus &&value)
Definition Queue.h:166
Queue & WithLastUpdated(Aws::Utils::DateTime &&value)
Definition Queue.h:99
void SetDescription(const Aws::String &value)
Definition Queue.h:82
Queue & WithSubmittedJobsCount(int value)
Definition Queue.h:176
void SetStatus(QueueStatus &&value)
Definition Queue.h:164
bool PricingPlanHasBeenSet() const
Definition Queue.h:125
const PricingPlan & GetPricingPlan() const
Definition Queue.h:124
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Queue.h:70
Queue & WithDescription(const Aws::String &value)
Definition Queue.h:85
bool ReservationPlanHasBeenSet() const
Definition Queue.h:148
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue