AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/QueueStatus.h>
10#include <aws/deadline/model/DefaultQueueBudgetAction.h>
11#include <aws/deadline/model/QueueBlockedReason.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace deadline
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DEADLINE_API QueueSummary();
39 AWS_DEADLINE_API QueueSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFarmId() const{ return m_farmId; }
49 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
50 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
51 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
52 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
53 inline QueueSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
54 inline QueueSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
55 inline QueueSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;}
57
59
62 inline const Aws::String& GetQueueId() const{ return m_queueId; }
63 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
64 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
65 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
66 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
67 inline QueueSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
68 inline QueueSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
69 inline QueueSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;}
71
73
79 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
80 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
81 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
82 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
83 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
84 inline QueueSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
85 inline QueueSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
86 inline QueueSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
88
90
93 inline const QueueStatus& GetStatus() const{ return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
97 inline QueueSummary& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
98 inline QueueSummary& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
100
102
106 inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; }
107 inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; }
108 inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; }
109 inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); }
111 inline QueueSummary& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;}
113
115
118 inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; }
119 inline bool BlockedReasonHasBeenSet() const { return m_blockedReasonHasBeenSet; }
120 inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; }
121 inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = std::move(value); }
122 inline QueueSummary& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;}
123 inline QueueSummary& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
133 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
134 inline QueueSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
135 inline QueueSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
137
139
142 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
143 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
144 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
145 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
146 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
147 inline QueueSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
148 inline QueueSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
149 inline QueueSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
157 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
158 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
159 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
160 inline QueueSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
161 inline QueueSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
163
165
168 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
169 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
170 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
171 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
172 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
173 inline QueueSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
174 inline QueueSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
175 inline QueueSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
177 private:
178
179 Aws::String m_farmId;
180 bool m_farmIdHasBeenSet = false;
181
182 Aws::String m_queueId;
183 bool m_queueIdHasBeenSet = false;
184
185 Aws::String m_displayName;
186 bool m_displayNameHasBeenSet = false;
187
188 QueueStatus m_status;
189 bool m_statusHasBeenSet = false;
190
191 DefaultQueueBudgetAction m_defaultBudgetAction;
192 bool m_defaultBudgetActionHasBeenSet = false;
193
194 QueueBlockedReason m_blockedReason;
195 bool m_blockedReasonHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt;
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::String m_createdBy;
201 bool m_createdByHasBeenSet = false;
202
203 Aws::Utils::DateTime m_updatedAt;
204 bool m_updatedAtHasBeenSet = false;
205
206 Aws::String m_updatedBy;
207 bool m_updatedByHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace deadline
212} // namespace Aws
QueueSummary & WithQueueId(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
QueueSummary & WithCreatedBy(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultBudgetAction(const DefaultQueueBudgetAction &value)
QueueSummary & WithCreatedBy(Aws::String &&value)
void SetBlockedReason(const QueueBlockedReason &value)
QueueSummary & WithStatus(QueueStatus &&value)
QueueSummary & WithDisplayName(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const DefaultQueueBudgetAction & GetDefaultBudgetAction() const
AWS_DEADLINE_API QueueSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultBudgetAction(DefaultQueueBudgetAction &&value)
void SetQueueId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetStatus(QueueStatus &&value)
void SetFarmId(const char *value)
void SetDisplayName(const Aws::String &value)
QueueSummary & WithFarmId(const Aws::String &value)
QueueSummary & WithFarmId(const char *value)
void SetBlockedReason(QueueBlockedReason &&value)
void SetUpdatedBy(const char *value)
void SetDisplayName(const char *value)
QueueSummary & WithUpdatedBy(const Aws::String &value)
void SetDisplayName(Aws::String &&value)
QueueSummary & WithFarmId(Aws::String &&value)
QueueSummary & WithQueueId(Aws::String &&value)
void SetQueueId(const Aws::String &value)
QueueSummary & WithDisplayName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetStatus(const QueueStatus &value)
const Aws::String & GetFarmId() const
QueueSummary & WithBlockedReason(QueueBlockedReason &&value)
QueueSummary & WithCreatedBy(const char *value)
QueueSummary & WithUpdatedBy(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
void SetFarmId(const Aws::String &value)
void SetCreatedBy(const char *value)
QueueSummary & WithUpdatedBy(const char *value)
const QueueBlockedReason & GetBlockedReason() const
QueueSummary & WithDefaultBudgetAction(DefaultQueueBudgetAction &&value)
void SetCreatedBy(const Aws::String &value)
const Aws::String & GetCreatedBy() const
void SetFarmId(Aws::String &&value)
QueueSummary & WithDisplayName(const Aws::String &value)
const Aws::String & GetQueueId() const
QueueSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
const QueueStatus & GetStatus() const
const Aws::String & GetUpdatedBy() const
AWS_DEADLINE_API QueueSummary(Aws::Utils::Json::JsonView jsonValue)
QueueSummary & WithBlockedReason(const QueueBlockedReason &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetQueueId(Aws::String &&value)
void SetUpdatedBy(const Aws::String &value)
QueueSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
QueueSummary & WithStatus(const QueueStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
QueueSummary & WithQueueId(const Aws::String &value)
const Aws::String & GetDisplayName() const
void SetUpdatedBy(Aws::String &&value)
QueueSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
QueueSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
QueueSummary & WithDefaultBudgetAction(const DefaultQueueBudgetAction &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue