AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQueueRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconvert/model/PricingPlan.h>
11#include <aws/mediaconvert/model/ReservationPlanSettings.h>
12#include <aws/mediaconvert/model/QueueStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace MediaConvert
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_MEDIACONVERT_API CreateQueueRequest();
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDescription() const{ return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
46 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
47 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
48 inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
49 inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
50 inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline CreateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateQueueRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
75 inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
76 inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
77 inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
78 inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
79 inline CreateQueueRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
80 inline CreateQueueRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
82
84
88 inline const ReservationPlanSettings& GetReservationPlanSettings() const{ return m_reservationPlanSettings; }
89 inline bool ReservationPlanSettingsHasBeenSet() const { return m_reservationPlanSettingsHasBeenSet; }
90 inline void SetReservationPlanSettings(const ReservationPlanSettings& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = value; }
91 inline void SetReservationPlanSettings(ReservationPlanSettings&& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = std::move(value); }
95
97
101 inline const QueueStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline CreateQueueRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
106 inline CreateQueueRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
118 inline CreateQueueRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
119 inline CreateQueueRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline CreateQueueRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline CreateQueueRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline CreateQueueRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline CreateQueueRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline CreateQueueRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline CreateQueueRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline CreateQueueRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 private:
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 PricingPlan m_pricingPlan;
137 bool m_pricingPlanHasBeenSet = false;
138
139 ReservationPlanSettings m_reservationPlanSettings;
140 bool m_reservationPlanSettingsHasBeenSet = false;
141
142 QueueStatus m_status;
143 bool m_statusHasBeenSet = false;
144
146 bool m_tagsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace MediaConvert
151} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetPricingPlan(const PricingPlan &value)
const ReservationPlanSettings & GetReservationPlanSettings() const
void SetReservationPlanSettings(ReservationPlanSettings &&value)
CreateQueueRequest & WithStatus(QueueStatus &&value)
CreateQueueRequest & AddTags(Aws::String &&key, const char *value)
CreateQueueRequest & AddTags(const char *key, const char *value)
CreateQueueRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateQueueRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateQueueRequest & WithReservationPlanSettings(ReservationPlanSettings &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateQueueRequest & WithDescription(Aws::String &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
CreateQueueRequest & WithDescription(const char *value)
CreateQueueRequest & WithReservationPlanSettings(const ReservationPlanSettings &value)
CreateQueueRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateQueueRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateQueueRequest & WithPricingPlan(const PricingPlan &value)
CreateQueueRequest & WithPricingPlan(PricingPlan &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateQueueRequest & WithName(Aws::String &&value)
CreateQueueRequest & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateQueueRequest & WithStatus(const QueueStatus &value)
CreateQueueRequest & WithName(const Aws::String &value)
CreateQueueRequest & WithName(const char *value)
void SetReservationPlanSettings(const ReservationPlanSettings &value)
CreateQueueRequest & AddTags(const char *key, Aws::String &&value)
CreateQueueRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateQueueRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String