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>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
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>
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>
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>
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>
125 template<
typename JobAttachmentSettingsT = JobAttachmentSettings>
126 void SetJobAttachmentSettings(JobAttachmentSettingsT&& value) { m_jobAttachmentSettingsHasBeenSet =
true; m_jobAttachmentSettings = std::forward<JobAttachmentSettingsT>(value); }
127 template<
typename JobAttachmentSettingsT = JobAttachmentSettings>
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>
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>>
151 template<
typename RequiredFileSystemLocationNamesT = Aws::String>
152 GetQueueResult&
AddRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT&& value) { m_requiredFileSystemLocationNamesHasBeenSet =
true; m_requiredFileSystemLocationNames.emplace_back(std::forward<RequiredFileSystemLocationNamesT>(value));
return *
this; }
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>>
164 template<
typename AllowedStorageProfileIdsT = Aws::String>
165 GetQueueResult&
AddAllowedStorageProfileIds(AllowedStorageProfileIdsT&& value) { m_allowedStorageProfileIdsHasBeenSet =
true; m_allowedStorageProfileIds.emplace_back(std::forward<AllowedStorageProfileIdsT>(value));
return *
this; }
173 template<
typename JobRunAsUserT = JobRunAsUser>
174 void SetJobRunAsUser(JobRunAsUserT&& value) { m_jobRunAsUserHasBeenSet =
true; m_jobRunAsUser = std::forward<JobRunAsUserT>(value); }
175 template<
typename JobRunAsUserT = JobRunAsUser>
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>
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>
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>
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>
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>
234 bool m_queueIdHasBeenSet =
false;
237 bool m_displayNameHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
243 bool m_farmIdHasBeenSet =
false;
246 bool m_statusHasBeenSet =
false;
249 bool m_defaultBudgetActionHasBeenSet =
false;
252 bool m_blockedReasonHasBeenSet =
false;
254 JobAttachmentSettings m_jobAttachmentSettings;
255 bool m_jobAttachmentSettingsHasBeenSet =
false;
258 bool m_roleArnHasBeenSet =
false;
261 bool m_requiredFileSystemLocationNamesHasBeenSet =
false;
264 bool m_allowedStorageProfileIdsHasBeenSet =
false;
266 JobRunAsUser m_jobRunAsUser;
267 bool m_jobRunAsUserHasBeenSet =
false;
270 bool m_createdAtHasBeenSet =
false;
273 bool m_createdByHasBeenSet =
false;
276 bool m_updatedAtHasBeenSet =
false;
279 bool m_updatedByHasBeenSet =
false;
282 bool m_requestIdHasBeenSet =
false;
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)
void SetFarmId(FarmIdT &&value)
GetQueueResult & WithCreatedBy(CreatedByT &&value)
void SetRoleArn(RoleArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetQueueResult & AddRequiredFileSystemLocationNames(RequiredFileSystemLocationNamesT &&value)
QueueStatus GetStatus() const
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 SetQueueId(QueueIdT &&value)
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