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/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/DefaultQueueBudgetAction.h>
11#include <aws/deadline/model/JobAttachmentSettings.h>
12#include <aws/deadline/model/JobRunAsUser.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace deadline
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DEADLINE_API UpdateQueueRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateQueue"; }
36
37 AWS_DEADLINE_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline UpdateQueueRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline UpdateQueueRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline UpdateQueueRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
60 inline const Aws::String& GetFarmId() const{ return m_farmId; }
61 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
62 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
63 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
64 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
65 inline UpdateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
66 inline UpdateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
67 inline UpdateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
69
71
74 inline const Aws::String& GetQueueId() const{ return m_queueId; }
75 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
76 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
77 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
78 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
79 inline UpdateQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
80 inline UpdateQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
81 inline UpdateQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
83
85
91 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
92 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
93 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
94 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
95 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
96 inline UpdateQueueRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
97 inline UpdateQueueRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
98 inline UpdateQueueRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
100
102
108 inline const Aws::String& GetDescription() const{ return m_description; }
109 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
111 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
112 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
113 inline UpdateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 inline UpdateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 inline UpdateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
117
119
123 inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; }
124 inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; }
125 inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; }
126 inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); }
130
132
135 inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; }
136 inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; }
137 inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; }
138 inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); }
142
144
147 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
148 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
149 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
150 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
151 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
152 inline UpdateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
153 inline UpdateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
154 inline UpdateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
156
158
161 inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; }
162 inline bool JobRunAsUserHasBeenSet() const { return m_jobRunAsUserHasBeenSet; }
163 inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = value; }
164 inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::move(value); }
165 inline UpdateQueueRequest& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;}
166 inline UpdateQueueRequest& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;}
168
170
173 inline const Aws::Vector<Aws::String>& GetRequiredFileSystemLocationNamesToAdd() const{ return m_requiredFileSystemLocationNamesToAdd; }
174 inline bool RequiredFileSystemLocationNamesToAddHasBeenSet() const { return m_requiredFileSystemLocationNamesToAddHasBeenSet; }
175 inline void SetRequiredFileSystemLocationNamesToAdd(const Aws::Vector<Aws::String>& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd = value; }
176 inline void SetRequiredFileSystemLocationNamesToAdd(Aws::Vector<Aws::String>&& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd = std::move(value); }
179 inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToAdd(const Aws::String& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd.push_back(value); return *this; }
180 inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToAdd(Aws::String&& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd.push_back(std::move(value)); return *this; }
181 inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToAdd(const char* value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd.push_back(value); return *this; }
183
185
188 inline const Aws::Vector<Aws::String>& GetRequiredFileSystemLocationNamesToRemove() const{ return m_requiredFileSystemLocationNamesToRemove; }
189 inline bool RequiredFileSystemLocationNamesToRemoveHasBeenSet() const { return m_requiredFileSystemLocationNamesToRemoveHasBeenSet; }
190 inline void SetRequiredFileSystemLocationNamesToRemove(const Aws::Vector<Aws::String>& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove = value; }
191 inline void SetRequiredFileSystemLocationNamesToRemove(Aws::Vector<Aws::String>&& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove = std::move(value); }
194 inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToRemove(const Aws::String& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove.push_back(value); return *this; }
195 inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToRemove(Aws::String&& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove.push_back(std::move(value)); return *this; }
196 inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToRemove(const char* value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove.push_back(value); return *this; }
198
200
203 inline const Aws::Vector<Aws::String>& GetAllowedStorageProfileIdsToAdd() const{ return m_allowedStorageProfileIdsToAdd; }
204 inline bool AllowedStorageProfileIdsToAddHasBeenSet() const { return m_allowedStorageProfileIdsToAddHasBeenSet; }
205 inline void SetAllowedStorageProfileIdsToAdd(const Aws::Vector<Aws::String>& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = value; }
206 inline void SetAllowedStorageProfileIdsToAdd(Aws::Vector<Aws::String>&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = std::move(value); }
209 inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const Aws::String& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; }
210 inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(Aws::String&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(std::move(value)); return *this; }
211 inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const char* value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; }
213
215
218 inline const Aws::Vector<Aws::String>& GetAllowedStorageProfileIdsToRemove() const{ return m_allowedStorageProfileIdsToRemove; }
219 inline bool AllowedStorageProfileIdsToRemoveHasBeenSet() const { return m_allowedStorageProfileIdsToRemoveHasBeenSet; }
220 inline void SetAllowedStorageProfileIdsToRemove(const Aws::Vector<Aws::String>& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = value; }
221 inline void SetAllowedStorageProfileIdsToRemove(Aws::Vector<Aws::String>&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = std::move(value); }
224 inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const Aws::String& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; }
225 inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(Aws::String&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(std::move(value)); return *this; }
226 inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const char* value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; }
228 private:
229
230 Aws::String m_clientToken;
231 bool m_clientTokenHasBeenSet = false;
232
233 Aws::String m_farmId;
234 bool m_farmIdHasBeenSet = false;
235
236 Aws::String m_queueId;
237 bool m_queueIdHasBeenSet = false;
238
239 Aws::String m_displayName;
240 bool m_displayNameHasBeenSet = false;
241
242 Aws::String m_description;
243 bool m_descriptionHasBeenSet = false;
244
245 DefaultQueueBudgetAction m_defaultBudgetAction;
246 bool m_defaultBudgetActionHasBeenSet = false;
247
248 JobAttachmentSettings m_jobAttachmentSettings;
249 bool m_jobAttachmentSettingsHasBeenSet = false;
250
251 Aws::String m_roleArn;
252 bool m_roleArnHasBeenSet = false;
253
254 JobRunAsUser m_jobRunAsUser;
255 bool m_jobRunAsUserHasBeenSet = false;
256
257 Aws::Vector<Aws::String> m_requiredFileSystemLocationNamesToAdd;
258 bool m_requiredFileSystemLocationNamesToAddHasBeenSet = false;
259
260 Aws::Vector<Aws::String> m_requiredFileSystemLocationNamesToRemove;
261 bool m_requiredFileSystemLocationNamesToRemoveHasBeenSet = false;
262
263 Aws::Vector<Aws::String> m_allowedStorageProfileIdsToAdd;
264 bool m_allowedStorageProfileIdsToAddHasBeenSet = false;
265
266 Aws::Vector<Aws::String> m_allowedStorageProfileIdsToRemove;
267 bool m_allowedStorageProfileIdsToRemoveHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace deadline
272} // namespace Aws
const Aws::String & GetDisplayName() const
void SetClientToken(const Aws::String &value)
void SetDefaultBudgetAction(const DefaultQueueBudgetAction &value)
UpdateQueueRequest & WithRequiredFileSystemLocationNamesToRemove(Aws::Vector< Aws::String > &&value)
UpdateQueueRequest & WithAllowedStorageProfileIdsToRemove(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAllowedStorageProfileIdsToAdd() const
UpdateQueueRequest & WithDescription(Aws::String &&value)
UpdateQueueRequest & WithDisplayName(const Aws::String &value)
UpdateQueueRequest & AddRequiredFileSystemLocationNamesToRemove(const Aws::String &value)
void SetDefaultBudgetAction(DefaultQueueBudgetAction &&value)
UpdateQueueRequest & WithRoleArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowedStorageProfileIdsToRemove() const
UpdateQueueRequest & WithAllowedStorageProfileIdsToAdd(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
UpdateQueueRequest & AddRequiredFileSystemLocationNamesToAdd(Aws::String &&value)
UpdateQueueRequest & WithJobRunAsUser(JobRunAsUser &&value)
UpdateQueueRequest & WithDescription(const Aws::String &value)
void SetJobRunAsUser(const JobRunAsUser &value)
UpdateQueueRequest & AddRequiredFileSystemLocationNamesToAdd(const Aws::String &value)
UpdateQueueRequest & WithRequiredFileSystemLocationNamesToAdd(Aws::Vector< Aws::String > &&value)
UpdateQueueRequest & WithRequiredFileSystemLocationNamesToAdd(const Aws::Vector< Aws::String > &value)
UpdateQueueRequest & WithRoleArn(const Aws::String &value)
void SetJobAttachmentSettings(const JobAttachmentSettings &value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRoleArn(const Aws::String &value)
UpdateQueueRequest & AddAllowedStorageProfileIdsToRemove(Aws::String &&value)
UpdateQueueRequest & AddRequiredFileSystemLocationNamesToAdd(const char *value)
UpdateQueueRequest & WithJobAttachmentSettings(const JobAttachmentSettings &value)
UpdateQueueRequest & AddAllowedStorageProfileIdsToAdd(const char *value)
UpdateQueueRequest & AddAllowedStorageProfileIdsToRemove(const char *value)
UpdateQueueRequest & WithClientToken(const char *value)
UpdateQueueRequest & AddRequiredFileSystemLocationNamesToRemove(Aws::String &&value)
UpdateQueueRequest & WithAllowedStorageProfileIdsToAdd(Aws::Vector< Aws::String > &&value)
const DefaultQueueBudgetAction & GetDefaultBudgetAction() const
void SetAllowedStorageProfileIdsToAdd(const Aws::Vector< Aws::String > &value)
void SetDescription(const Aws::String &value)
UpdateQueueRequest & WithDisplayName(Aws::String &&value)
UpdateQueueRequest & AddRequiredFileSystemLocationNamesToRemove(const char *value)
const Aws::Vector< Aws::String > & GetRequiredFileSystemLocationNamesToAdd() const
UpdateQueueRequest & WithDescription(const char *value)
UpdateQueueRequest & WithFarmId(const Aws::String &value)
UpdateQueueRequest & AddAllowedStorageProfileIdsToAdd(const Aws::String &value)
void SetJobAttachmentSettings(JobAttachmentSettings &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateQueueRequest & WithAllowedStorageProfileIdsToRemove(Aws::Vector< Aws::String > &&value)
UpdateQueueRequest & WithClientToken(const Aws::String &value)
UpdateQueueRequest & WithFarmId(const char *value)
const Aws::Vector< Aws::String > & GetRequiredFileSystemLocationNamesToRemove() const
const Aws::String & GetClientToken() const
void SetAllowedStorageProfileIdsToRemove(const Aws::Vector< Aws::String > &value)
void SetAllowedStorageProfileIdsToAdd(Aws::Vector< Aws::String > &&value)
void SetRequiredFileSystemLocationNamesToAdd(Aws::Vector< Aws::String > &&value)
UpdateQueueRequest & WithDefaultBudgetAction(DefaultQueueBudgetAction &&value)
void SetAllowedStorageProfileIdsToRemove(Aws::Vector< Aws::String > &&value)
UpdateQueueRequest & WithDefaultBudgetAction(const DefaultQueueBudgetAction &value)
UpdateQueueRequest & WithJobAttachmentSettings(JobAttachmentSettings &&value)
UpdateQueueRequest & WithRoleArn(const char *value)
void SetDisplayName(const Aws::String &value)
UpdateQueueRequest & WithJobRunAsUser(const JobRunAsUser &value)
void SetFarmId(const Aws::String &value)
UpdateQueueRequest & WithDisplayName(const char *value)
UpdateQueueRequest & WithQueueId(Aws::String &&value)
void SetRequiredFileSystemLocationNamesToRemove(Aws::Vector< Aws::String > &&value)
void SetQueueId(const Aws::String &value)
const JobRunAsUser & GetJobRunAsUser() const
void SetRequiredFileSystemLocationNamesToRemove(const Aws::Vector< Aws::String > &value)
void SetRequiredFileSystemLocationNamesToAdd(const Aws::Vector< Aws::String > &value)
UpdateQueueRequest & WithRequiredFileSystemLocationNamesToRemove(const Aws::Vector< Aws::String > &value)
UpdateQueueRequest & WithFarmId(Aws::String &&value)
UpdateQueueRequest & WithQueueId(const char *value)
UpdateQueueRequest & AddAllowedStorageProfileIdsToAdd(Aws::String &&value)
UpdateQueueRequest & WithQueueId(const Aws::String &value)
UpdateQueueRequest & WithClientToken(Aws::String &&value)
const JobAttachmentSettings & GetJobAttachmentSettings() const
UpdateQueueRequest & AddAllowedStorageProfileIdsToRemove(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector