AWS SDK for C++  1.9.159
AWS SDK for C++
CreateQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace MediaConvert
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateQueue"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetDescription() const{ return m_description; }
43 
47  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 
52  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
53 
57  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 
62  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 
67  inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 
72  inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 
77  inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78 
79 
83  inline const Aws::String& GetName() const{ return m_name; }
84 
88  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 
93  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
94 
98  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
99 
103  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 
108  inline CreateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
109 
113  inline CreateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 
118  inline CreateQueueRequest& WithName(const char* value) { SetName(value); return *this;}
119 
120 
128  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
129 
137  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
138 
146  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
147 
155  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
156 
164  inline CreateQueueRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
165 
173  inline CreateQueueRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
174 
175 
180  inline const ReservationPlanSettings& GetReservationPlanSettings() const{ return m_reservationPlanSettings; }
181 
186  inline bool ReservationPlanSettingsHasBeenSet() const { return m_reservationPlanSettingsHasBeenSet; }
187 
192  inline void SetReservationPlanSettings(const ReservationPlanSettings& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = value; }
193 
198  inline void SetReservationPlanSettings(ReservationPlanSettings&& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = std::move(value); }
199 
204  inline CreateQueueRequest& WithReservationPlanSettings(const ReservationPlanSettings& value) { SetReservationPlanSettings(value); return *this;}
205 
210  inline CreateQueueRequest& WithReservationPlanSettings(ReservationPlanSettings&& value) { SetReservationPlanSettings(std::move(value)); return *this;}
211 
212 
217  inline const QueueStatus& GetStatus() const{ return m_status; }
218 
223  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
224 
229  inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
230 
235  inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
236 
241  inline CreateQueueRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
242 
247  inline CreateQueueRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
248 
249 
254  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
255 
260  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
261 
266  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
267 
272  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
273 
278  inline CreateQueueRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
279 
284  inline CreateQueueRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
285 
290  inline CreateQueueRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
291 
296  inline CreateQueueRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
297 
302  inline CreateQueueRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
303 
308  inline CreateQueueRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
309 
314  inline CreateQueueRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
315 
320  inline CreateQueueRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
321 
326  inline CreateQueueRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
327 
328  private:
329 
330  Aws::String m_description;
331  bool m_descriptionHasBeenSet;
332 
333  Aws::String m_name;
334  bool m_nameHasBeenSet;
335 
336  PricingPlan m_pricingPlan;
337  bool m_pricingPlanHasBeenSet;
338 
339  ReservationPlanSettings m_reservationPlanSettings;
340  bool m_reservationPlanSettingsHasBeenSet;
341 
342  QueueStatus m_status;
343  bool m_statusHasBeenSet;
344 
346  bool m_tagsHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace MediaConvert
351 } // namespace Aws
Aws::MediaConvert::Model::CreateQueueRequest::WithName
CreateQueueRequest & WithName(Aws::String &&value)
Definition: CreateQueueRequest.h:113
Aws::MediaConvert::Model::CreateQueueRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateQueueRequest.h:93
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateQueueRequest.h:320
Aws::MediaConvert::Model::CreateQueueRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateQueueRequest.h:266
Aws::MediaConvert::Model::CreateQueueRequest::WithDescription
CreateQueueRequest & WithDescription(const char *value)
Definition: CreateQueueRequest.h:77
Aws::MediaConvert::Model::CreateQueueRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateQueueRequest.h:88
MediaConvertRequest.h
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::CreateQueueRequest::SetStatus
void SetStatus(QueueStatus &&value)
Definition: CreateQueueRequest.h:235
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateQueueRequest.h:296
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateQueueRequest.h:302
Aws::MediaConvert::Model::CreateQueueRequest::WithReservationPlanSettings
CreateQueueRequest & WithReservationPlanSettings(ReservationPlanSettings &&value)
Definition: CreateQueueRequest.h:210
Aws::MediaConvert::Model::CreateQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConvert::Model::CreateQueueRequest::WithName
CreateQueueRequest & WithName(const char *value)
Definition: CreateQueueRequest.h:118
Aws::MediaConvert::Model::CreateQueueRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateQueueRequest.h:254
Aws::MediaConvert::Model::CreateQueueRequest::WithPricingPlan
CreateQueueRequest & WithPricingPlan(PricingPlan &&value)
Definition: CreateQueueRequest.h:173
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::CreateQueueRequest::WithStatus
CreateQueueRequest & WithStatus(const QueueStatus &value)
Definition: CreateQueueRequest.h:241
Aws::MediaConvert::Model::CreateQueueRequest::SetStatus
void SetStatus(const QueueStatus &value)
Definition: CreateQueueRequest.h:229
Aws::MediaConvert::Model::CreateQueueRequest::SetName
void SetName(const char *value)
Definition: CreateQueueRequest.h:103
Aws::MediaConvert::Model::CreateQueueRequest::WithName
CreateQueueRequest & WithName(const Aws::String &value)
Definition: CreateQueueRequest.h:108
Aws::MediaConvert::Model::CreateQueueRequest::ReservationPlanSettingsHasBeenSet
bool ReservationPlanSettingsHasBeenSet() const
Definition: CreateQueueRequest.h:186
Aws::MediaConvert::Model::ReservationPlanSettings
Definition: ReservationPlanSettings.h:34
Aws::MediaConvert::Model::CreateQueueRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: CreateQueueRequest.h:137
Aws::MediaConvert::Model::CreateQueueRequest::WithTags
CreateQueueRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateQueueRequest.h:284
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateQueueRequest.h:290
Aws::MediaConvert::Model::CreateQueueRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateQueueRequest.h:62
PricingPlan.h
Aws::MediaConvert::Model::CreateQueueRequest::WithTags
CreateQueueRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateQueueRequest.h:278
Aws::MediaConvert::Model::CreateQueueRequest::WithReservationPlanSettings
CreateQueueRequest & WithReservationPlanSettings(const ReservationPlanSettings &value)
Definition: CreateQueueRequest.h:204
Aws::MediaConvert::Model::CreateQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateQueueRequest.h:34
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const char *key, const char *value)
Definition: CreateQueueRequest.h:326
Aws::MediaConvert::Model::CreateQueueRequest
Definition: CreateQueueRequest.h:26
Aws::MediaConvert::Model::CreateQueueRequest::WithDescription
CreateQueueRequest & WithDescription(Aws::String &&value)
Definition: CreateQueueRequest.h:72
Aws::MediaConvert::Model::CreateQueueRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateQueueRequest.h:260
QueueStatus.h
AWSString.h
Aws::MediaConvert::Model::CreateQueueRequest::SetReservationPlanSettings
void SetReservationPlanSettings(const ReservationPlanSettings &value)
Definition: CreateQueueRequest.h:192
Aws::MediaConvert::Model::CreateQueueRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateQueueRequest.h:272
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateQueueRequest.h:308
Aws::MediaConvert::Model::CreateQueueRequest::GetName
const Aws::String & GetName() const
Definition: CreateQueueRequest.h:83
Aws::MediaConvert::Model::CreateQueueRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateQueueRequest.h:42
Aws::MediaConvert::Model::CreateQueueRequest::CreateQueueRequest
CreateQueueRequest()
Aws::MediaConvert::Model::CreateQueueRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: CreateQueueRequest.h:146
Aws::MediaConvert::Model::CreateQueueRequest::SetReservationPlanSettings
void SetReservationPlanSettings(ReservationPlanSettings &&value)
Definition: CreateQueueRequest.h:198
Aws::MediaConvert::Model::CreateQueueRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateQueueRequest.h:52
ReservationPlanSettings.h
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::CreateQueueRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: CreateQueueRequest.h:223
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::QueueStatus
QueueStatus
Definition: QueueStatus.h:17
Aws::MediaConvert::Model::CreateQueueRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateQueueRequest.h:47
Aws::MediaConvert::Model::CreateQueueRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: CreateQueueRequest.h:155
Aws::MediaConvert::Model::CreateQueueRequest::GetReservationPlanSettings
const ReservationPlanSettings & GetReservationPlanSettings() const
Definition: CreateQueueRequest.h:180
Aws::MediaConvert::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateQueueRequest.h:314
Aws::MediaConvert::Model::CreateQueueRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: CreateQueueRequest.h:128
Aws::MediaConvert::Model::CreateQueueRequest::WithPricingPlan
CreateQueueRequest & WithPricingPlan(const PricingPlan &value)
Definition: CreateQueueRequest.h:164
Aws::MediaConvert::Model::CreateQueueRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateQueueRequest.h:57
AWSMap.h
Aws::MediaConvert::Model::CreateQueueRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateQueueRequest.h:98
Aws::MediaConvert::Model::CreateQueueRequest::WithDescription
CreateQueueRequest & WithDescription(const Aws::String &value)
Definition: CreateQueueRequest.h:67
Aws::MediaConvert::Model::CreateQueueRequest::GetStatus
const QueueStatus & GetStatus() const
Definition: CreateQueueRequest.h:217
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaConvert::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::MediaConvert::Model::CreateQueueRequest::WithStatus
CreateQueueRequest & WithStatus(QueueStatus &&value)
Definition: CreateQueueRequest.h:247