AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueueResult.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/deadline/model/JobAttachmentSettings.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/deadline/model/JobRunAsUser.h>
15#include <aws/core/utils/DateTime.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace deadline
31{
32namespace Model
33{
35 {
36 public:
37 AWS_DEADLINE_API GetQueueResult();
40
41
43
46 inline const Aws::String& GetQueueId() const{ return m_queueId; }
47 inline void SetQueueId(const Aws::String& value) { m_queueId = value; }
48 inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); }
49 inline void SetQueueId(const char* value) { m_queueId.assign(value); }
50 inline GetQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
51 inline GetQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
52 inline GetQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;}
54
56
61 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
62 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
63 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
64 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
65 inline GetQueueResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
66 inline GetQueueResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
67 inline GetQueueResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
69
71
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline void SetDescription(const Aws::String& value) { m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_description.assign(value); }
80 inline GetQueueResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline GetQueueResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline GetQueueResult& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetFarmId() const{ return m_farmId; }
90 inline void SetFarmId(const Aws::String& value) { m_farmId = value; }
91 inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); }
92 inline void SetFarmId(const char* value) { m_farmId.assign(value); }
93 inline GetQueueResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
94 inline GetQueueResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
95 inline GetQueueResult& WithFarmId(const char* value) { SetFarmId(value); return *this;}
97
99
105 inline const QueueStatus& GetStatus() const{ return m_status; }
106 inline void SetStatus(const QueueStatus& value) { m_status = value; }
107 inline void SetStatus(QueueStatus&& value) { m_status = std::move(value); }
108 inline GetQueueResult& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
109 inline GetQueueResult& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
111
113
116 inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; }
117 inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetAction = value; }
118 inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetAction = std::move(value); }
122
124
127 inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; }
128 inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReason = value; }
129 inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReason = std::move(value); }
130 inline GetQueueResult& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;}
131 inline GetQueueResult& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;}
133
135
138 inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; }
139 inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettings = value; }
140 inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettings = std::move(value); }
144
146
149 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
150 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
151 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
152 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
153 inline GetQueueResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
154 inline GetQueueResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
155 inline GetQueueResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
157
159
162 inline const Aws::Vector<Aws::String>& GetRequiredFileSystemLocationNames() const{ return m_requiredFileSystemLocationNames; }
163 inline void SetRequiredFileSystemLocationNames(const Aws::Vector<Aws::String>& value) { m_requiredFileSystemLocationNames = value; }
164 inline void SetRequiredFileSystemLocationNames(Aws::Vector<Aws::String>&& value) { m_requiredFileSystemLocationNames = std::move(value); }
167 inline GetQueueResult& AddRequiredFileSystemLocationNames(const Aws::String& value) { m_requiredFileSystemLocationNames.push_back(value); return *this; }
168 inline GetQueueResult& AddRequiredFileSystemLocationNames(Aws::String&& value) { m_requiredFileSystemLocationNames.push_back(std::move(value)); return *this; }
169 inline GetQueueResult& AddRequiredFileSystemLocationNames(const char* value) { m_requiredFileSystemLocationNames.push_back(value); return *this; }
171
173
176 inline const Aws::Vector<Aws::String>& GetAllowedStorageProfileIds() const{ return m_allowedStorageProfileIds; }
177 inline void SetAllowedStorageProfileIds(const Aws::Vector<Aws::String>& value) { m_allowedStorageProfileIds = value; }
178 inline void SetAllowedStorageProfileIds(Aws::Vector<Aws::String>&& value) { m_allowedStorageProfileIds = std::move(value); }
181 inline GetQueueResult& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIds.push_back(value); return *this; }
182 inline GetQueueResult& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIds.push_back(std::move(value)); return *this; }
183 inline GetQueueResult& AddAllowedStorageProfileIds(const char* value) { m_allowedStorageProfileIds.push_back(value); return *this; }
185
187
190 inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; }
191 inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUser = value; }
192 inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUser = std::move(value); }
193 inline GetQueueResult& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;}
194 inline GetQueueResult& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;}
196
198
201 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
202 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
203 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
204 inline GetQueueResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
205 inline GetQueueResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
207
209
212 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
213 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
214 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
215 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
216 inline GetQueueResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
217 inline GetQueueResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
218 inline GetQueueResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
220
222
225 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
226 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
227 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
228 inline GetQueueResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
229 inline GetQueueResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
231
233
236 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
237 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
238 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
239 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
240 inline GetQueueResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
241 inline GetQueueResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
242 inline GetQueueResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
244
246
247 inline const Aws::String& GetRequestId() const{ return m_requestId; }
248 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
249 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
250 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
251 inline GetQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
252 inline GetQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
253 inline GetQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
255 private:
256
257 Aws::String m_queueId;
258
259 Aws::String m_displayName;
260
261 Aws::String m_description;
262
263 Aws::String m_farmId;
264
265 QueueStatus m_status;
266
267 DefaultQueueBudgetAction m_defaultBudgetAction;
268
269 QueueBlockedReason m_blockedReason;
270
271 JobAttachmentSettings m_jobAttachmentSettings;
272
273 Aws::String m_roleArn;
274
275 Aws::Vector<Aws::String> m_requiredFileSystemLocationNames;
276
277 Aws::Vector<Aws::String> m_allowedStorageProfileIds;
278
279 JobRunAsUser m_jobRunAsUser;
280
281 Aws::Utils::DateTime m_createdAt;
282
283 Aws::String m_createdBy;
284
285 Aws::Utils::DateTime m_updatedAt;
286
287 Aws::String m_updatedBy;
288
289 Aws::String m_requestId;
290 };
291
292} // namespace Model
293} // namespace deadline
294} // namespace Aws
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetQueueId(const Aws::String &value)
void SetFarmId(const char *value)
void SetFarmId(const Aws::String &value)
const QueueStatus & GetStatus() const
GetQueueResult & WithFarmId(const char *value)
GetQueueResult & WithDefaultBudgetAction(const DefaultQueueBudgetAction &value)
void SetStatus(QueueStatus &&value)
const JobRunAsUser & GetJobRunAsUser() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetQueueResult & AddRequiredFileSystemLocationNames(const Aws::String &value)
GetQueueResult & WithJobRunAsUser(JobRunAsUser &&value)
GetQueueResult & WithRoleArn(const char *value)
const Aws::String & GetDescription() const
void SetRequestId(const char *value)
void SetAllowedStorageProfileIds(const Aws::Vector< Aws::String > &value)
GetQueueResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetQueueId(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
GetQueueResult & WithRoleArn(Aws::String &&value)
GetQueueResult & WithJobAttachmentSettings(const JobAttachmentSettings &value)
void SetDescription(Aws::String &&value)
GetQueueResult & WithUpdatedBy(Aws::String &&value)
GetQueueResult & AddRequiredFileSystemLocationNames(Aws::String &&value)
void SetCreatedBy(const char *value)
GetQueueResult & WithCreatedBy(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const DefaultQueueBudgetAction & GetDefaultBudgetAction() const
GetQueueResult & WithDisplayName(const char *value)
GetQueueResult & WithRequestId(Aws::String &&value)
GetQueueResult & WithCreatedBy(const Aws::String &value)
GetQueueResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const char *value)
void SetDisplayName(const Aws::String &value)
GetQueueResult & WithFarmId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDisplayName(Aws::String &&value)
GetQueueResult & WithRoleArn(const Aws::String &value)
GetQueueResult & WithUpdatedBy(const char *value)
GetQueueResult & WithDisplayName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedBy(const Aws::String &value)
void SetRequiredFileSystemLocationNames(const Aws::Vector< Aws::String > &value)
GetQueueResult & WithStatus(QueueStatus &&value)
GetQueueResult & WithDescription(Aws::String &&value)
GetQueueResult & WithQueueId(const char *value)
const Aws::Vector< Aws::String > & GetRequiredFileSystemLocationNames() const
AWS_DEADLINE_API GetQueueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueueId(const char *value)
const Aws::String & GetUpdatedBy() const
GetQueueResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const QueueStatus &value)
void SetJobAttachmentSettings(const JobAttachmentSettings &value)
void SetUpdatedBy(const char *value)
void SetDescription(const Aws::String &value)
GetQueueResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetQueueResult & WithStatus(const QueueStatus &value)
void SetCreatedBy(Aws::String &&value)
void SetJobAttachmentSettings(JobAttachmentSettings &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetQueueResult & WithUpdatedBy(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetQueueResult & WithDescription(const Aws::String &value)
AWS_DEADLINE_API GetQueueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const QueueBlockedReason & GetBlockedReason() const
void SetDefaultBudgetAction(DefaultQueueBudgetAction &&value)
void SetUpdatedBy(Aws::String &&value)
GetQueueResult & AddAllowedStorageProfileIds(const char *value)
GetQueueResult & WithDefaultBudgetAction(DefaultQueueBudgetAction &&value)
GetQueueResult & WithJobAttachmentSettings(JobAttachmentSettings &&value)
GetQueueResult & AddAllowedStorageProfileIds(const Aws::String &value)
GetQueueResult & WithQueueId(const Aws::String &value)
void SetBlockedReason(QueueBlockedReason &&value)
GetQueueResult & AddAllowedStorageProfileIds(Aws::String &&value)
GetQueueResult & WithAllowedStorageProfileIds(Aws::Vector< Aws::String > &&value)
void SetRequestId(Aws::String &&value)
GetQueueResult & WithDescription(const char *value)
GetQueueResult & WithRequiredFileSystemLocationNames(Aws::Vector< Aws::String > &&value)
void SetDefaultBudgetAction(const DefaultQueueBudgetAction &value)
GetQueueResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetQueueId() const
GetQueueResult & WithRequiredFileSystemLocationNames(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDisplayName() const
const Aws::String & GetFarmId() const
const Aws::String & GetRoleArn() const
void SetRoleArn(Aws::String &&value)
const Aws::String & GetCreatedBy() const
void SetDisplayName(const char *value)
void SetBlockedReason(const QueueBlockedReason &value)
GetQueueResult & WithBlockedReason(QueueBlockedReason &&value)
void SetAllowedStorageProfileIds(Aws::Vector< Aws::String > &&value)
GetQueueResult & WithRequestId(const char *value)
GetQueueResult & WithJobRunAsUser(const JobRunAsUser &value)
void SetJobRunAsUser(const JobRunAsUser &value)
GetQueueResult & WithBlockedReason(const QueueBlockedReason &value)
void SetRequiredFileSystemLocationNames(Aws::Vector< Aws::String > &&value)
GetQueueResult & WithCreatedBy(Aws::String &&value)
GetQueueResult & AddRequiredFileSystemLocationNames(const char *value)
void SetUpdatedBy(const Aws::String &value)
GetQueueResult & WithAllowedStorageProfileIds(const Aws::Vector< Aws::String > &value)
const JobAttachmentSettings & GetJobAttachmentSettings() const
GetQueueResult & WithQueueId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowedStorageProfileIds() const
void SetFarmId(Aws::String &&value)
void SetJobRunAsUser(JobRunAsUser &&value)
GetQueueResult & WithDisplayName(Aws::String &&value)
GetQueueResult & WithFarmId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue