AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace MediaConvert
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateQueue"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetDescription() const{ return m_description; }
41 
45  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 
50  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 
55  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
56 
60  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 
65  inline UpdateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 
70  inline UpdateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 
75  inline UpdateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline UpdateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline UpdateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline UpdateQueueRequest& WithName(const char* value) { SetName(value); return *this;}
117 
118 
126  inline const ReservationPlanSettings& GetReservationPlanSettings() const{ return m_reservationPlanSettings; }
127 
135  inline bool ReservationPlanSettingsHasBeenSet() const { return m_reservationPlanSettingsHasBeenSet; }
136 
144  inline void SetReservationPlanSettings(const ReservationPlanSettings& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = value; }
145 
153  inline void SetReservationPlanSettings(ReservationPlanSettings&& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = std::move(value); }
154 
162  inline UpdateQueueRequest& WithReservationPlanSettings(const ReservationPlanSettings& value) { SetReservationPlanSettings(value); return *this;}
163 
171  inline UpdateQueueRequest& WithReservationPlanSettings(ReservationPlanSettings&& value) { SetReservationPlanSettings(std::move(value)); return *this;}
172 
173 
179  inline const QueueStatus& GetStatus() const{ return m_status; }
180 
186  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
187 
193  inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
194 
200  inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
201 
207  inline UpdateQueueRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
208 
214  inline UpdateQueueRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
215 
216  private:
217 
218  Aws::String m_description;
219  bool m_descriptionHasBeenSet;
220 
221  Aws::String m_name;
222  bool m_nameHasBeenSet;
223 
224  ReservationPlanSettings m_reservationPlanSettings;
225  bool m_reservationPlanSettingsHasBeenSet;
226 
227  QueueStatus m_status;
228  bool m_statusHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace MediaConvert
233 } // namespace Aws
Aws::MediaConvert::Model::UpdateQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQueueRequest.h:32
Aws::MediaConvert::Model::UpdateQueueRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateQueueRequest.h:60
Aws::MediaConvert::Model::UpdateQueueRequest::WithDescription
UpdateQueueRequest & WithDescription(const char *value)
Definition: UpdateQueueRequest.h:75
Aws::MediaConvert::Model::UpdateQueueRequest::WithReservationPlanSettings
UpdateQueueRequest & WithReservationPlanSettings(const ReservationPlanSettings &value)
Definition: UpdateQueueRequest.h:162
Aws::MediaConvert::Model::UpdateQueueRequest::SetReservationPlanSettings
void SetReservationPlanSettings(ReservationPlanSettings &&value)
Definition: UpdateQueueRequest.h:153
MediaConvertRequest.h
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::UpdateQueueRequest::SetStatus
void SetStatus(QueueStatus &&value)
Definition: UpdateQueueRequest.h:200
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::UpdateQueueRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateQueueRequest.h:86
Aws::MediaConvert::Model::UpdateQueueRequest::WithReservationPlanSettings
UpdateQueueRequest & WithReservationPlanSettings(ReservationPlanSettings &&value)
Definition: UpdateQueueRequest.h:171
Aws::MediaConvert::Model::UpdateQueueRequest::ReservationPlanSettingsHasBeenSet
bool ReservationPlanSettingsHasBeenSet() const
Definition: UpdateQueueRequest.h:135
Aws::MediaConvert::Model::UpdateQueueRequest::GetName
const Aws::String & GetName() const
Definition: UpdateQueueRequest.h:81
Aws::MediaConvert::Model::UpdateQueueRequest::WithDescription
UpdateQueueRequest & WithDescription(Aws::String &&value)
Definition: UpdateQueueRequest.h:70
Aws::MediaConvert::Model::UpdateQueueRequest::SetReservationPlanSettings
void SetReservationPlanSettings(const ReservationPlanSettings &value)
Definition: UpdateQueueRequest.h:144
Aws::MediaConvert::Model::UpdateQueueRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateQueueRequest.h:45
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::UpdateQueueRequest::WithStatus
UpdateQueueRequest & WithStatus(QueueStatus &&value)
Definition: UpdateQueueRequest.h:214
Aws::MediaConvert::Model::UpdateQueueRequest::WithStatus
UpdateQueueRequest & WithStatus(const QueueStatus &value)
Definition: UpdateQueueRequest.h:207
Aws::MediaConvert::Model::UpdateQueueRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateQueueRequest.h:40
Aws::MediaConvert::Model::UpdateQueueRequest
Definition: UpdateQueueRequest.h:24
Aws::MediaConvert::Model::UpdateQueueRequest::WithName
UpdateQueueRequest & WithName(Aws::String &&value)
Definition: UpdateQueueRequest.h:111
Aws::MediaConvert::Model::ReservationPlanSettings
Definition: ReservationPlanSettings.h:34
Aws::MediaConvert::Model::UpdateQueueRequest::GetReservationPlanSettings
const ReservationPlanSettings & GetReservationPlanSettings() const
Definition: UpdateQueueRequest.h:126
Aws::MediaConvert::Model::UpdateQueueRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateQueueRequest.h:55
Aws::MediaConvert::Model::UpdateQueueRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateQueueRequest.h:91
QueueStatus.h
AWSString.h
Aws::MediaConvert::Model::UpdateQueueRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateQueueRequest.h:96
Aws::MediaConvert::Model::UpdateQueueRequest::SetStatus
void SetStatus(const QueueStatus &value)
Definition: UpdateQueueRequest.h:193
Aws::MediaConvert::Model::UpdateQueueRequest::UpdateQueueRequest
UpdateQueueRequest()
Aws::MediaConvert::Model::UpdateQueueRequest::WithName
UpdateQueueRequest & WithName(const char *value)
Definition: UpdateQueueRequest.h:116
Aws::MediaConvert::Model::UpdateQueueRequest::WithName
UpdateQueueRequest & WithName(const Aws::String &value)
Definition: UpdateQueueRequest.h:106
ReservationPlanSettings.h
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::UpdateQueueRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateQueueRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::UpdateQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConvert::Model::QueueStatus
QueueStatus
Definition: QueueStatus.h:17
Aws::MediaConvert::Model::UpdateQueueRequest::WithDescription
UpdateQueueRequest & WithDescription(const Aws::String &value)
Definition: UpdateQueueRequest.h:65
Aws::MediaConvert::Model::UpdateQueueRequest::GetStatus
const QueueStatus & GetStatus() const
Definition: UpdateQueueRequest.h:179
Aws::MediaConvert::Model::UpdateQueueRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UpdateQueueRequest.h:186
Aws::MediaConvert::Model::UpdateQueueRequest::SetName
void SetName(const char *value)
Definition: UpdateQueueRequest.h:101