AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetQueueId() const { return m_queueId; }
47 template<typename QueueIdT = Aws::String>
48 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
49 template<typename QueueIdT = Aws::String>
50 GetQueueResult& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
52
54
59 inline const Aws::String& GetDisplayName() const { return m_displayName; }
60 template<typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
62 template<typename DisplayNameT = Aws::String>
63 GetQueueResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
65
67
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 GetQueueResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetFarmId() const { return m_farmId; }
84 template<typename FarmIdT = Aws::String>
85 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet = true; m_farmId = std::forward<FarmIdT>(value); }
86 template<typename FarmIdT = Aws::String>
87 GetQueueResult& WithFarmId(FarmIdT&& value) { SetFarmId(std::forward<FarmIdT>(value)); return *this;}
89
91
97 inline QueueStatus GetStatus() const { return m_status; }
98 inline void SetStatus(QueueStatus value) { m_statusHasBeenSet = true; m_status = value; }
99 inline GetQueueResult& WithStatus(QueueStatus value) { SetStatus(value); return *this;}
101
103
106 inline DefaultQueueBudgetAction GetDefaultBudgetAction() const { return m_defaultBudgetAction; }
107 inline void SetDefaultBudgetAction(DefaultQueueBudgetAction value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; }
110
112
115 inline QueueBlockedReason GetBlockedReason() const { return m_blockedReason; }
116 inline void SetBlockedReason(QueueBlockedReason value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; }
119
121
124 inline const JobAttachmentSettings& GetJobAttachmentSettings() const { return m_jobAttachmentSettings; }
125 template<typename JobAttachmentSettingsT = JobAttachmentSettings>
126 void SetJobAttachmentSettings(JobAttachmentSettingsT&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::forward<JobAttachmentSettingsT>(value); }
127 template<typename JobAttachmentSettingsT = JobAttachmentSettings>
128 GetQueueResult& WithJobAttachmentSettings(JobAttachmentSettingsT&& value) { SetJobAttachmentSettings(std::forward<JobAttachmentSettingsT>(value)); return *this;}
130
132
135 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
136 template<typename RoleArnT = Aws::String>
137 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
138 template<typename RoleArnT = Aws::String>
139 GetQueueResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
141
143
146 inline const Aws::Vector<Aws::String>& GetRequiredFileSystemLocationNames() const { return m_requiredFileSystemLocationNames; }
147 template<typename RequiredFileSystemLocationNamesT = Aws::Vector<Aws::String>>
148 void SetRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT&& value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames = std::forward<RequiredFileSystemLocationNamesT>(value); }
149 template<typename RequiredFileSystemLocationNamesT = Aws::Vector<Aws::String>>
150 GetQueueResult& WithRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT&& value) { SetRequiredFileSystemLocationNames(std::forward<RequiredFileSystemLocationNamesT>(value)); return *this;}
151 template<typename RequiredFileSystemLocationNamesT = Aws::String>
152 GetQueueResult& AddRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT&& value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames.emplace_back(std::forward<RequiredFileSystemLocationNamesT>(value)); return *this; }
154
156
159 inline const Aws::Vector<Aws::String>& GetAllowedStorageProfileIds() const { return m_allowedStorageProfileIds; }
160 template<typename AllowedStorageProfileIdsT = Aws::Vector<Aws::String>>
161 void SetAllowedStorageProfileIds(AllowedStorageProfileIdsT&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = std::forward<AllowedStorageProfileIdsT>(value); }
162 template<typename AllowedStorageProfileIdsT = Aws::Vector<Aws::String>>
163 GetQueueResult& WithAllowedStorageProfileIds(AllowedStorageProfileIdsT&& value) { SetAllowedStorageProfileIds(std::forward<AllowedStorageProfileIdsT>(value)); return *this;}
164 template<typename AllowedStorageProfileIdsT = Aws::String>
165 GetQueueResult& AddAllowedStorageProfileIds(AllowedStorageProfileIdsT&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.emplace_back(std::forward<AllowedStorageProfileIdsT>(value)); return *this; }
167
169
172 inline const JobRunAsUser& GetJobRunAsUser() const { return m_jobRunAsUser; }
173 template<typename JobRunAsUserT = JobRunAsUser>
174 void SetJobRunAsUser(JobRunAsUserT&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::forward<JobRunAsUserT>(value); }
175 template<typename JobRunAsUserT = JobRunAsUser>
176 GetQueueResult& WithJobRunAsUser(JobRunAsUserT&& value) { SetJobRunAsUser(std::forward<JobRunAsUserT>(value)); return *this;}
178
180
183 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
184 template<typename CreatedAtT = Aws::Utils::DateTime>
185 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
186 template<typename CreatedAtT = Aws::Utils::DateTime>
187 GetQueueResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
189
191
194 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
195 template<typename CreatedByT = Aws::String>
196 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
197 template<typename CreatedByT = Aws::String>
198 GetQueueResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
200
202
205 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
206 template<typename UpdatedAtT = Aws::Utils::DateTime>
207 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
208 template<typename UpdatedAtT = Aws::Utils::DateTime>
209 GetQueueResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
211
213
216 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
217 template<typename UpdatedByT = Aws::String>
218 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
219 template<typename UpdatedByT = Aws::String>
220 GetQueueResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
222
224
225 inline const Aws::String& GetRequestId() const { return m_requestId; }
226 template<typename RequestIdT = Aws::String>
227 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
228 template<typename RequestIdT = Aws::String>
229 GetQueueResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
231 private:
232
233 Aws::String m_queueId;
234 bool m_queueIdHasBeenSet = false;
235
236 Aws::String m_displayName;
237 bool m_displayNameHasBeenSet = false;
238
239 Aws::String m_description;
240 bool m_descriptionHasBeenSet = false;
241
242 Aws::String m_farmId;
243 bool m_farmIdHasBeenSet = false;
244
246 bool m_statusHasBeenSet = false;
247
249 bool m_defaultBudgetActionHasBeenSet = false;
250
252 bool m_blockedReasonHasBeenSet = false;
253
254 JobAttachmentSettings m_jobAttachmentSettings;
255 bool m_jobAttachmentSettingsHasBeenSet = false;
256
257 Aws::String m_roleArn;
258 bool m_roleArnHasBeenSet = false;
259
260 Aws::Vector<Aws::String> m_requiredFileSystemLocationNames;
261 bool m_requiredFileSystemLocationNamesHasBeenSet = false;
262
263 Aws::Vector<Aws::String> m_allowedStorageProfileIds;
264 bool m_allowedStorageProfileIdsHasBeenSet = false;
265
266 JobRunAsUser m_jobRunAsUser;
267 bool m_jobRunAsUserHasBeenSet = false;
268
269 Aws::Utils::DateTime m_createdAt{};
270 bool m_createdAtHasBeenSet = false;
271
272 Aws::String m_createdBy;
273 bool m_createdByHasBeenSet = false;
274
275 Aws::Utils::DateTime m_updatedAt{};
276 bool m_updatedAtHasBeenSet = false;
277
278 Aws::String m_updatedBy;
279 bool m_updatedByHasBeenSet = false;
280
281 Aws::String m_requestId;
282 bool m_requestIdHasBeenSet = false;
283 };
284
285} // namespace Model
286} // namespace deadline
287} // namespace Aws
GetQueueResult & WithStatus(QueueStatus value)
void SetStatus(QueueStatus value)
const JobRunAsUser & GetJobRunAsUser() const
AWS_DEADLINE_API GetQueueResult()=default
void SetUpdatedBy(UpdatedByT &&value)
GetQueueResult & WithUpdatedBy(UpdatedByT &&value)
QueueBlockedReason GetBlockedReason() const
void SetDefaultBudgetAction(DefaultQueueBudgetAction value)
const Aws::String & GetDescription() const
GetQueueResult & WithBlockedReason(QueueBlockedReason value)
GetQueueResult & WithUpdatedAt(UpdatedAtT &&value)
GetQueueResult & WithDescription(DescriptionT &&value)
GetQueueResult & WithRequestId(RequestIdT &&value)
void SetRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT &&value)
GetQueueResult & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetQueueResult & AddRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT &&value)
GetQueueResult & WithRoleArn(RoleArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Aws::String > & GetRequiredFileSystemLocationNames() const
AWS_DEADLINE_API GetQueueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetUpdatedBy() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetQueueResult & WithCreatedAt(CreatedAtT &&value)
GetQueueResult & WithDisplayName(DisplayNameT &&value)
GetQueueResult & WithJobRunAsUser(JobRunAsUserT &&value)
GetQueueResult & WithDefaultBudgetAction(DefaultQueueBudgetAction value)
AWS_DEADLINE_API GetQueueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueResult & WithJobAttachmentSettings(JobAttachmentSettingsT &&value)
GetQueueResult & WithFarmId(FarmIdT &&value)
void SetJobRunAsUser(JobRunAsUserT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetQueueId() const
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetFarmId() const
const Aws::String & GetRoleArn() const
const Aws::String & GetCreatedBy() const
GetQueueResult & WithQueueId(QueueIdT &&value)
DefaultQueueBudgetAction GetDefaultBudgetAction() const
GetQueueResult & WithAllowedStorageProfileIds(AllowedStorageProfileIdsT &&value)
void SetAllowedStorageProfileIds(AllowedStorageProfileIdsT &&value)
void SetDescription(DescriptionT &&value)
const JobAttachmentSettings & GetJobAttachmentSettings() const
const Aws::Vector< Aws::String > & GetAllowedStorageProfileIds() const
GetQueueResult & AddAllowedStorageProfileIds(AllowedStorageProfileIdsT &&value)
GetQueueResult & WithRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT &&value)
void SetJobAttachmentSettings(JobAttachmentSettingsT &&value)
void SetBlockedReason(QueueBlockedReason value)
void SetRequestId(RequestIdT &&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