AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQueueRequest.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/ReservationPlanSettings.h>
11#include <aws/mediaconvert/model/QueueStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaConvert
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIACONVERT_API UpdateQueueRequest();
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline UpdateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline UpdateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline UpdateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateQueueRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
73 inline const ReservationPlanSettings& GetReservationPlanSettings() const{ return m_reservationPlanSettings; }
74 inline bool ReservationPlanSettingsHasBeenSet() const { return m_reservationPlanSettingsHasBeenSet; }
75 inline void SetReservationPlanSettings(const ReservationPlanSettings& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = value; }
76 inline void SetReservationPlanSettings(ReservationPlanSettings&& value) { m_reservationPlanSettingsHasBeenSet = true; m_reservationPlanSettings = std::move(value); }
80
82
87 inline const QueueStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline UpdateQueueRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
92 inline UpdateQueueRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 ReservationPlanSettings m_reservationPlanSettings;
103 bool m_reservationPlanSettingsHasBeenSet = false;
104
105 QueueStatus m_status;
106 bool m_statusHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace MediaConvert
111} // namespace Aws
UpdateQueueRequest & WithDescription(const Aws::String &value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
UpdateQueueRequest & WithStatus(QueueStatus &&value)
UpdateQueueRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetReservationPlanSettings(const ReservationPlanSettings &value)
void SetReservationPlanSettings(ReservationPlanSettings &&value)
UpdateQueueRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateQueueRequest & WithName(const char *value)
UpdateQueueRequest & WithStatus(const QueueStatus &value)
UpdateQueueRequest & WithReservationPlanSettings(const ReservationPlanSettings &value)
UpdateQueueRequest & WithReservationPlanSettings(ReservationPlanSettings &&value)
const ReservationPlanSettings & GetReservationPlanSettings() const
UpdateQueueRequest & WithDescription(const char *value)
UpdateQueueRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String