AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Workload.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/WorkloadEnvironment.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/wellarchitected/model/WorkloadImprovementStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/wellarchitected/model/WorkloadDiscoveryConfig.h>
15#include <aws/wellarchitected/model/WorkloadJiraConfigurationOutput.h>
16#include <aws/wellarchitected/model/Risk.h>
17#include <aws/wellarchitected/model/WorkloadProfile.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace WellArchitected
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_WELLARCHITECTED_API Workload();
44 AWS_WELLARCHITECTED_API Workload(Aws::Utils::Json::JsonView jsonValue);
45 AWS_WELLARCHITECTED_API Workload& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
51 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
52 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
53 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
54 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
55 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
56 inline Workload& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
57 inline Workload& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
58 inline Workload& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
60
62
63 inline const Aws::String& GetWorkloadArn() const{ return m_workloadArn; }
64 inline bool WorkloadArnHasBeenSet() const { return m_workloadArnHasBeenSet; }
65 inline void SetWorkloadArn(const Aws::String& value) { m_workloadArnHasBeenSet = true; m_workloadArn = value; }
66 inline void SetWorkloadArn(Aws::String&& value) { m_workloadArnHasBeenSet = true; m_workloadArn = std::move(value); }
67 inline void SetWorkloadArn(const char* value) { m_workloadArnHasBeenSet = true; m_workloadArn.assign(value); }
68 inline Workload& WithWorkloadArn(const Aws::String& value) { SetWorkloadArn(value); return *this;}
69 inline Workload& WithWorkloadArn(Aws::String&& value) { SetWorkloadArn(std::move(value)); return *this;}
70 inline Workload& WithWorkloadArn(const char* value) { SetWorkloadArn(value); return *this;}
72
74
75 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
76 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
77 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
78 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
79 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
80 inline Workload& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
81 inline Workload& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
82 inline Workload& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
84
86
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline Workload& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline Workload& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline Workload& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
99 inline const WorkloadEnvironment& GetEnvironment() const{ return m_environment; }
100 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
101 inline void SetEnvironment(const WorkloadEnvironment& value) { m_environmentHasBeenSet = true; m_environment = value; }
102 inline void SetEnvironment(WorkloadEnvironment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
103 inline Workload& WithEnvironment(const WorkloadEnvironment& value) { SetEnvironment(value); return *this;}
104 inline Workload& WithEnvironment(WorkloadEnvironment&& value) { SetEnvironment(std::move(value)); return *this;}
106
108
109 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
110 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
111 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
112 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
113 inline Workload& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
114 inline Workload& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
116
118
119 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
120 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
121 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
122 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
123 inline Workload& WithAccountIds(const Aws::Vector<Aws::String>& value) { SetAccountIds(value); return *this;}
124 inline Workload& WithAccountIds(Aws::Vector<Aws::String>&& value) { SetAccountIds(std::move(value)); return *this;}
125 inline Workload& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
126 inline Workload& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
127 inline Workload& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
129
131
132 inline const Aws::Vector<Aws::String>& GetAwsRegions() const{ return m_awsRegions; }
133 inline bool AwsRegionsHasBeenSet() const { return m_awsRegionsHasBeenSet; }
134 inline void SetAwsRegions(const Aws::Vector<Aws::String>& value) { m_awsRegionsHasBeenSet = true; m_awsRegions = value; }
135 inline void SetAwsRegions(Aws::Vector<Aws::String>&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions = std::move(value); }
136 inline Workload& WithAwsRegions(const Aws::Vector<Aws::String>& value) { SetAwsRegions(value); return *this;}
137 inline Workload& WithAwsRegions(Aws::Vector<Aws::String>&& value) { SetAwsRegions(std::move(value)); return *this;}
138 inline Workload& AddAwsRegions(const Aws::String& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; }
139 inline Workload& AddAwsRegions(Aws::String&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(std::move(value)); return *this; }
140 inline Workload& AddAwsRegions(const char* value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; }
142
144
145 inline const Aws::Vector<Aws::String>& GetNonAwsRegions() const{ return m_nonAwsRegions; }
146 inline bool NonAwsRegionsHasBeenSet() const { return m_nonAwsRegionsHasBeenSet; }
147 inline void SetNonAwsRegions(const Aws::Vector<Aws::String>& value) { m_nonAwsRegionsHasBeenSet = true; m_nonAwsRegions = value; }
148 inline void SetNonAwsRegions(Aws::Vector<Aws::String>&& value) { m_nonAwsRegionsHasBeenSet = true; m_nonAwsRegions = std::move(value); }
149 inline Workload& WithNonAwsRegions(const Aws::Vector<Aws::String>& value) { SetNonAwsRegions(value); return *this;}
150 inline Workload& WithNonAwsRegions(Aws::Vector<Aws::String>&& value) { SetNonAwsRegions(std::move(value)); return *this;}
151 inline Workload& AddNonAwsRegions(const Aws::String& value) { m_nonAwsRegionsHasBeenSet = true; m_nonAwsRegions.push_back(value); return *this; }
152 inline Workload& AddNonAwsRegions(Aws::String&& value) { m_nonAwsRegionsHasBeenSet = true; m_nonAwsRegions.push_back(std::move(value)); return *this; }
153 inline Workload& AddNonAwsRegions(const char* value) { m_nonAwsRegionsHasBeenSet = true; m_nonAwsRegions.push_back(value); return *this; }
155
157
158 inline const Aws::String& GetArchitecturalDesign() const{ return m_architecturalDesign; }
159 inline bool ArchitecturalDesignHasBeenSet() const { return m_architecturalDesignHasBeenSet; }
160 inline void SetArchitecturalDesign(const Aws::String& value) { m_architecturalDesignHasBeenSet = true; m_architecturalDesign = value; }
161 inline void SetArchitecturalDesign(Aws::String&& value) { m_architecturalDesignHasBeenSet = true; m_architecturalDesign = std::move(value); }
162 inline void SetArchitecturalDesign(const char* value) { m_architecturalDesignHasBeenSet = true; m_architecturalDesign.assign(value); }
163 inline Workload& WithArchitecturalDesign(const Aws::String& value) { SetArchitecturalDesign(value); return *this;}
164 inline Workload& WithArchitecturalDesign(Aws::String&& value) { SetArchitecturalDesign(std::move(value)); return *this;}
165 inline Workload& WithArchitecturalDesign(const char* value) { SetArchitecturalDesign(value); return *this;}
167
169
170 inline const Aws::String& GetReviewOwner() const{ return m_reviewOwner; }
171 inline bool ReviewOwnerHasBeenSet() const { return m_reviewOwnerHasBeenSet; }
172 inline void SetReviewOwner(const Aws::String& value) { m_reviewOwnerHasBeenSet = true; m_reviewOwner = value; }
173 inline void SetReviewOwner(Aws::String&& value) { m_reviewOwnerHasBeenSet = true; m_reviewOwner = std::move(value); }
174 inline void SetReviewOwner(const char* value) { m_reviewOwnerHasBeenSet = true; m_reviewOwner.assign(value); }
175 inline Workload& WithReviewOwner(const Aws::String& value) { SetReviewOwner(value); return *this;}
176 inline Workload& WithReviewOwner(Aws::String&& value) { SetReviewOwner(std::move(value)); return *this;}
177 inline Workload& WithReviewOwner(const char* value) { SetReviewOwner(value); return *this;}
179
181
182 inline const Aws::Utils::DateTime& GetReviewRestrictionDate() const{ return m_reviewRestrictionDate; }
183 inline bool ReviewRestrictionDateHasBeenSet() const { return m_reviewRestrictionDateHasBeenSet; }
184 inline void SetReviewRestrictionDate(const Aws::Utils::DateTime& value) { m_reviewRestrictionDateHasBeenSet = true; m_reviewRestrictionDate = value; }
185 inline void SetReviewRestrictionDate(Aws::Utils::DateTime&& value) { m_reviewRestrictionDateHasBeenSet = true; m_reviewRestrictionDate = std::move(value); }
187 inline Workload& WithReviewRestrictionDate(Aws::Utils::DateTime&& value) { SetReviewRestrictionDate(std::move(value)); return *this;}
189
191
197 inline bool GetIsReviewOwnerUpdateAcknowledged() const{ return m_isReviewOwnerUpdateAcknowledged; }
198 inline bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const { return m_isReviewOwnerUpdateAcknowledgedHasBeenSet; }
199 inline void SetIsReviewOwnerUpdateAcknowledged(bool value) { m_isReviewOwnerUpdateAcknowledgedHasBeenSet = true; m_isReviewOwnerUpdateAcknowledged = value; }
202
204
205 inline const Aws::String& GetIndustryType() const{ return m_industryType; }
206 inline bool IndustryTypeHasBeenSet() const { return m_industryTypeHasBeenSet; }
207 inline void SetIndustryType(const Aws::String& value) { m_industryTypeHasBeenSet = true; m_industryType = value; }
208 inline void SetIndustryType(Aws::String&& value) { m_industryTypeHasBeenSet = true; m_industryType = std::move(value); }
209 inline void SetIndustryType(const char* value) { m_industryTypeHasBeenSet = true; m_industryType.assign(value); }
210 inline Workload& WithIndustryType(const Aws::String& value) { SetIndustryType(value); return *this;}
211 inline Workload& WithIndustryType(Aws::String&& value) { SetIndustryType(std::move(value)); return *this;}
212 inline Workload& WithIndustryType(const char* value) { SetIndustryType(value); return *this;}
214
216
217 inline const Aws::String& GetIndustry() const{ return m_industry; }
218 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
219 inline void SetIndustry(const Aws::String& value) { m_industryHasBeenSet = true; m_industry = value; }
220 inline void SetIndustry(Aws::String&& value) { m_industryHasBeenSet = true; m_industry = std::move(value); }
221 inline void SetIndustry(const char* value) { m_industryHasBeenSet = true; m_industry.assign(value); }
222 inline Workload& WithIndustry(const Aws::String& value) { SetIndustry(value); return *this;}
223 inline Workload& WithIndustry(Aws::String&& value) { SetIndustry(std::move(value)); return *this;}
224 inline Workload& WithIndustry(const char* value) { SetIndustry(value); return *this;}
226
228
229 inline const Aws::String& GetNotes() const{ return m_notes; }
230 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
231 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
232 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
233 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
234 inline Workload& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
235 inline Workload& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
236 inline Workload& WithNotes(const char* value) { SetNotes(value); return *this;}
238
240
241 inline const WorkloadImprovementStatus& GetImprovementStatus() const{ return m_improvementStatus; }
242 inline bool ImprovementStatusHasBeenSet() const { return m_improvementStatusHasBeenSet; }
243 inline void SetImprovementStatus(const WorkloadImprovementStatus& value) { m_improvementStatusHasBeenSet = true; m_improvementStatus = value; }
244 inline void SetImprovementStatus(WorkloadImprovementStatus&& value) { m_improvementStatusHasBeenSet = true; m_improvementStatus = std::move(value); }
246 inline Workload& WithImprovementStatus(WorkloadImprovementStatus&& value) { SetImprovementStatus(std::move(value)); return *this;}
248
250
251 inline const Aws::Map<Risk, int>& GetRiskCounts() const{ return m_riskCounts; }
252 inline bool RiskCountsHasBeenSet() const { return m_riskCountsHasBeenSet; }
253 inline void SetRiskCounts(const Aws::Map<Risk, int>& value) { m_riskCountsHasBeenSet = true; m_riskCounts = value; }
254 inline void SetRiskCounts(Aws::Map<Risk, int>&& value) { m_riskCountsHasBeenSet = true; m_riskCounts = std::move(value); }
255 inline Workload& WithRiskCounts(const Aws::Map<Risk, int>& value) { SetRiskCounts(value); return *this;}
256 inline Workload& WithRiskCounts(Aws::Map<Risk, int>&& value) { SetRiskCounts(std::move(value)); return *this;}
257 inline Workload& AddRiskCounts(const Risk& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(key, value); return *this; }
258 inline Workload& AddRiskCounts(Risk&& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(std::move(key), value); return *this; }
260
262
263 inline const Aws::Vector<Aws::String>& GetPillarPriorities() const{ return m_pillarPriorities; }
264 inline bool PillarPrioritiesHasBeenSet() const { return m_pillarPrioritiesHasBeenSet; }
265 inline void SetPillarPriorities(const Aws::Vector<Aws::String>& value) { m_pillarPrioritiesHasBeenSet = true; m_pillarPriorities = value; }
266 inline void SetPillarPriorities(Aws::Vector<Aws::String>&& value) { m_pillarPrioritiesHasBeenSet = true; m_pillarPriorities = std::move(value); }
267 inline Workload& WithPillarPriorities(const Aws::Vector<Aws::String>& value) { SetPillarPriorities(value); return *this;}
268 inline Workload& WithPillarPriorities(Aws::Vector<Aws::String>&& value) { SetPillarPriorities(std::move(value)); return *this;}
269 inline Workload& AddPillarPriorities(const Aws::String& value) { m_pillarPrioritiesHasBeenSet = true; m_pillarPriorities.push_back(value); return *this; }
270 inline Workload& AddPillarPriorities(Aws::String&& value) { m_pillarPrioritiesHasBeenSet = true; m_pillarPriorities.push_back(std::move(value)); return *this; }
271 inline Workload& AddPillarPriorities(const char* value) { m_pillarPrioritiesHasBeenSet = true; m_pillarPriorities.push_back(value); return *this; }
273
275
276 inline const Aws::Vector<Aws::String>& GetLenses() const{ return m_lenses; }
277 inline bool LensesHasBeenSet() const { return m_lensesHasBeenSet; }
278 inline void SetLenses(const Aws::Vector<Aws::String>& value) { m_lensesHasBeenSet = true; m_lenses = value; }
279 inline void SetLenses(Aws::Vector<Aws::String>&& value) { m_lensesHasBeenSet = true; m_lenses = std::move(value); }
280 inline Workload& WithLenses(const Aws::Vector<Aws::String>& value) { SetLenses(value); return *this;}
281 inline Workload& WithLenses(Aws::Vector<Aws::String>&& value) { SetLenses(std::move(value)); return *this;}
282 inline Workload& AddLenses(const Aws::String& value) { m_lensesHasBeenSet = true; m_lenses.push_back(value); return *this; }
283 inline Workload& AddLenses(Aws::String&& value) { m_lensesHasBeenSet = true; m_lenses.push_back(std::move(value)); return *this; }
284 inline Workload& AddLenses(const char* value) { m_lensesHasBeenSet = true; m_lenses.push_back(value); return *this; }
286
288
289 inline const Aws::String& GetOwner() const{ return m_owner; }
290 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
291 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
292 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
293 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
294 inline Workload& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
295 inline Workload& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
296 inline Workload& WithOwner(const char* value) { SetOwner(value); return *this;}
298
300
303 inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; }
304 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
305 inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; }
306 inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); }
307 inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); }
308 inline Workload& WithShareInvitationId(const Aws::String& value) { SetShareInvitationId(value); return *this;}
309 inline Workload& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;}
310 inline Workload& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;}
312
314
317 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
318 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
319 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
320 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
321 inline Workload& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
322 inline Workload& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
323 inline Workload& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
324 inline Workload& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
325 inline Workload& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
326 inline Workload& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
327 inline Workload& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
328 inline Workload& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
329 inline Workload& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
331
333
336 inline const WorkloadDiscoveryConfig& GetDiscoveryConfig() const{ return m_discoveryConfig; }
337 inline bool DiscoveryConfigHasBeenSet() const { return m_discoveryConfigHasBeenSet; }
338 inline void SetDiscoveryConfig(const WorkloadDiscoveryConfig& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = value; }
339 inline void SetDiscoveryConfig(WorkloadDiscoveryConfig&& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = std::move(value); }
340 inline Workload& WithDiscoveryConfig(const WorkloadDiscoveryConfig& value) { SetDiscoveryConfig(value); return *this;}
341 inline Workload& WithDiscoveryConfig(WorkloadDiscoveryConfig&& value) { SetDiscoveryConfig(std::move(value)); return *this;}
343
345
348 inline const Aws::Vector<Aws::String>& GetApplications() const{ return m_applications; }
349 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
350 inline void SetApplications(const Aws::Vector<Aws::String>& value) { m_applicationsHasBeenSet = true; m_applications = value; }
351 inline void SetApplications(Aws::Vector<Aws::String>&& value) { m_applicationsHasBeenSet = true; m_applications = std::move(value); }
352 inline Workload& WithApplications(const Aws::Vector<Aws::String>& value) { SetApplications(value); return *this;}
353 inline Workload& WithApplications(Aws::Vector<Aws::String>&& value) { SetApplications(std::move(value)); return *this;}
354 inline Workload& AddApplications(const Aws::String& value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; }
355 inline Workload& AddApplications(Aws::String&& value) { m_applicationsHasBeenSet = true; m_applications.push_back(std::move(value)); return *this; }
356 inline Workload& AddApplications(const char* value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; }
358
360
363 inline const Aws::Vector<WorkloadProfile>& GetProfiles() const{ return m_profiles; }
364 inline bool ProfilesHasBeenSet() const { return m_profilesHasBeenSet; }
365 inline void SetProfiles(const Aws::Vector<WorkloadProfile>& value) { m_profilesHasBeenSet = true; m_profiles = value; }
366 inline void SetProfiles(Aws::Vector<WorkloadProfile>&& value) { m_profilesHasBeenSet = true; m_profiles = std::move(value); }
367 inline Workload& WithProfiles(const Aws::Vector<WorkloadProfile>& value) { SetProfiles(value); return *this;}
368 inline Workload& WithProfiles(Aws::Vector<WorkloadProfile>&& value) { SetProfiles(std::move(value)); return *this;}
369 inline Workload& AddProfiles(const WorkloadProfile& value) { m_profilesHasBeenSet = true; m_profiles.push_back(value); return *this; }
370 inline Workload& AddProfiles(WorkloadProfile&& value) { m_profilesHasBeenSet = true; m_profiles.push_back(std::move(value)); return *this; }
372
374
375 inline const Aws::Map<Risk, int>& GetPrioritizedRiskCounts() const{ return m_prioritizedRiskCounts; }
376 inline bool PrioritizedRiskCountsHasBeenSet() const { return m_prioritizedRiskCountsHasBeenSet; }
377 inline void SetPrioritizedRiskCounts(const Aws::Map<Risk, int>& value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts = value; }
378 inline void SetPrioritizedRiskCounts(Aws::Map<Risk, int>&& value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts = std::move(value); }
380 inline Workload& WithPrioritizedRiskCounts(Aws::Map<Risk, int>&& value) { SetPrioritizedRiskCounts(std::move(value)); return *this;}
381 inline Workload& AddPrioritizedRiskCounts(const Risk& key, int value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts.emplace(key, value); return *this; }
382 inline Workload& AddPrioritizedRiskCounts(Risk&& key, int value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts.emplace(std::move(key), value); return *this; }
384
386
389 inline const WorkloadJiraConfigurationOutput& GetJiraConfiguration() const{ return m_jiraConfiguration; }
390 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
391 inline void SetJiraConfiguration(const WorkloadJiraConfigurationOutput& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = value; }
392 inline void SetJiraConfiguration(WorkloadJiraConfigurationOutput&& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = std::move(value); }
394 inline Workload& WithJiraConfiguration(WorkloadJiraConfigurationOutput&& value) { SetJiraConfiguration(std::move(value)); return *this;}
396 private:
397
398 Aws::String m_workloadId;
399 bool m_workloadIdHasBeenSet = false;
400
401 Aws::String m_workloadArn;
402 bool m_workloadArnHasBeenSet = false;
403
404 Aws::String m_workloadName;
405 bool m_workloadNameHasBeenSet = false;
406
407 Aws::String m_description;
408 bool m_descriptionHasBeenSet = false;
409
410 WorkloadEnvironment m_environment;
411 bool m_environmentHasBeenSet = false;
412
413 Aws::Utils::DateTime m_updatedAt;
414 bool m_updatedAtHasBeenSet = false;
415
416 Aws::Vector<Aws::String> m_accountIds;
417 bool m_accountIdsHasBeenSet = false;
418
419 Aws::Vector<Aws::String> m_awsRegions;
420 bool m_awsRegionsHasBeenSet = false;
421
422 Aws::Vector<Aws::String> m_nonAwsRegions;
423 bool m_nonAwsRegionsHasBeenSet = false;
424
425 Aws::String m_architecturalDesign;
426 bool m_architecturalDesignHasBeenSet = false;
427
428 Aws::String m_reviewOwner;
429 bool m_reviewOwnerHasBeenSet = false;
430
431 Aws::Utils::DateTime m_reviewRestrictionDate;
432 bool m_reviewRestrictionDateHasBeenSet = false;
433
434 bool m_isReviewOwnerUpdateAcknowledged;
435 bool m_isReviewOwnerUpdateAcknowledgedHasBeenSet = false;
436
437 Aws::String m_industryType;
438 bool m_industryTypeHasBeenSet = false;
439
440 Aws::String m_industry;
441 bool m_industryHasBeenSet = false;
442
443 Aws::String m_notes;
444 bool m_notesHasBeenSet = false;
445
446 WorkloadImprovementStatus m_improvementStatus;
447 bool m_improvementStatusHasBeenSet = false;
448
449 Aws::Map<Risk, int> m_riskCounts;
450 bool m_riskCountsHasBeenSet = false;
451
452 Aws::Vector<Aws::String> m_pillarPriorities;
453 bool m_pillarPrioritiesHasBeenSet = false;
454
456 bool m_lensesHasBeenSet = false;
457
458 Aws::String m_owner;
459 bool m_ownerHasBeenSet = false;
460
461 Aws::String m_shareInvitationId;
462 bool m_shareInvitationIdHasBeenSet = false;
463
465 bool m_tagsHasBeenSet = false;
466
467 WorkloadDiscoveryConfig m_discoveryConfig;
468 bool m_discoveryConfigHasBeenSet = false;
469
470 Aws::Vector<Aws::String> m_applications;
471 bool m_applicationsHasBeenSet = false;
472
474 bool m_profilesHasBeenSet = false;
475
476 Aws::Map<Risk, int> m_prioritizedRiskCounts;
477 bool m_prioritizedRiskCountsHasBeenSet = false;
478
479 WorkloadJiraConfigurationOutput m_jiraConfiguration;
480 bool m_jiraConfigurationHasBeenSet = false;
481 };
482
483} // namespace Model
484} // namespace WellArchitected
485} // namespace Aws
const WorkloadDiscoveryConfig & GetDiscoveryConfig() const
Definition Workload.h:336
Workload & WithPillarPriorities(Aws::Vector< Aws::String > &&value)
Definition Workload.h:268
Workload & AddTags(const Aws::String &key, const Aws::String &value)
Definition Workload.h:323
Workload & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Workload.h:321
Workload & WithDescription(const Aws::String &value)
Definition Workload.h:92
Workload & WithWorkloadArn(const char *value)
Definition Workload.h:70
void SetWorkloadArn(const Aws::String &value)
Definition Workload.h:65
Workload & WithAccountIds(const Aws::Vector< Aws::String > &value)
Definition Workload.h:123
Workload & WithIndustry(Aws::String &&value)
Definition Workload.h:223
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
Definition Workload.h:375
void SetIndustryType(const char *value)
Definition Workload.h:209
void SetWorkloadName(const char *value)
Definition Workload.h:79
Workload & WithRiskCounts(Aws::Map< Risk, int > &&value)
Definition Workload.h:256
Workload & WithProfiles(Aws::Vector< WorkloadProfile > &&value)
Definition Workload.h:368
void SetDiscoveryConfig(const WorkloadDiscoveryConfig &value)
Definition Workload.h:338
void SetIndustryType(Aws::String &&value)
Definition Workload.h:208
AWS_WELLARCHITECTED_API Workload()
Workload & AddAccountIds(const char *value)
Definition Workload.h:127
const Aws::String & GetDescription() const
Definition Workload.h:87
void SetImprovementStatus(WorkloadImprovementStatus &&value)
Definition Workload.h:244
void SetProfiles(Aws::Vector< WorkloadProfile > &&value)
Definition Workload.h:366
const Aws::String & GetNotes() const
Definition Workload.h:229
void SetAwsRegions(Aws::Vector< Aws::String > &&value)
Definition Workload.h:135
void SetWorkloadId(const Aws::String &value)
Definition Workload.h:53
const Aws::Vector< Aws::String > & GetNonAwsRegions() const
Definition Workload.h:145
Workload & WithArchitecturalDesign(const char *value)
Definition Workload.h:165
Workload & WithJiraConfiguration(WorkloadJiraConfigurationOutput &&value)
Definition Workload.h:394
Workload & WithDiscoveryConfig(WorkloadDiscoveryConfig &&value)
Definition Workload.h:341
Workload & WithReviewOwner(const char *value)
Definition Workload.h:177
Workload & AddPrioritizedRiskCounts(const Risk &key, int value)
Definition Workload.h:381
Workload & AddNonAwsRegions(const Aws::String &value)
Definition Workload.h:151
void SetImprovementStatus(const WorkloadImprovementStatus &value)
Definition Workload.h:243
void SetPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
Definition Workload.h:378
Workload & AddRiskCounts(const Risk &key, int value)
Definition Workload.h:257
AWS_WELLARCHITECTED_API Workload(Aws::Utils::Json::JsonView jsonValue)
Workload & WithWorkloadName(const char *value)
Definition Workload.h:82
const Aws::Map< Risk, int > & GetRiskCounts() const
Definition Workload.h:251
bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const
Definition Workload.h:198
void SetArchitecturalDesign(const char *value)
Definition Workload.h:162
void SetPillarPriorities(const Aws::Vector< Aws::String > &value)
Definition Workload.h:265
Workload & AddTags(const char *key, const char *value)
Definition Workload.h:329
const Aws::Vector< WorkloadProfile > & GetProfiles() const
Definition Workload.h:363
const Aws::String & GetShareInvitationId() const
Definition Workload.h:303
void SetAccountIds(Aws::Vector< Aws::String > &&value)
Definition Workload.h:122
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Workload.h:319
const Aws::Vector< Aws::String > & GetApplications() const
Definition Workload.h:348
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Workload.h:320
void SetIndustryType(const Aws::String &value)
Definition Workload.h:207
Workload & WithLenses(const Aws::Vector< Aws::String > &value)
Definition Workload.h:280
Workload & WithIndustryType(Aws::String &&value)
Definition Workload.h:211
void SetWorkloadId(Aws::String &&value)
Definition Workload.h:54
const Aws::String & GetWorkloadName() const
Definition Workload.h:75
Workload & AddTags(Aws::String &&key, const char *value)
Definition Workload.h:328
Workload & AddAwsRegions(const char *value)
Definition Workload.h:140
Workload & AddNonAwsRegions(const char *value)
Definition Workload.h:153
Workload & WithIndustry(const char *value)
Definition Workload.h:224
void SetPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
Definition Workload.h:377
Workload & AddPillarPriorities(const char *value)
Definition Workload.h:271
const WorkloadJiraConfigurationOutput & GetJiraConfiguration() const
Definition Workload.h:389
void SetIndustry(Aws::String &&value)
Definition Workload.h:220
Workload & WithReviewRestrictionDate(Aws::Utils::DateTime &&value)
Definition Workload.h:187
const Aws::String & GetOwner() const
Definition Workload.h:289
Workload & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Workload.h:322
Workload & AddAwsRegions(Aws::String &&value)
Definition Workload.h:139
Workload & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Workload.h:113
Workload & AddApplications(Aws::String &&value)
Definition Workload.h:355
Workload & WithReviewOwner(const Aws::String &value)
Definition Workload.h:175
Workload & AddProfiles(WorkloadProfile &&value)
Definition Workload.h:370
AWS_WELLARCHITECTED_API Workload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsReviewOwnerUpdateAcknowledged() const
Definition Workload.h:197
void SetWorkloadName(const Aws::String &value)
Definition Workload.h:77
void SetReviewOwner(Aws::String &&value)
Definition Workload.h:173
Workload & AddPrioritizedRiskCounts(Risk &&key, int value)
Definition Workload.h:382
Workload & AddNonAwsRegions(Aws::String &&value)
Definition Workload.h:152
void SetArchitecturalDesign(Aws::String &&value)
Definition Workload.h:161
Workload & AddLenses(const char *value)
Definition Workload.h:284
const Aws::Vector< Aws::String > & GetLenses() const
Definition Workload.h:276
const Aws::Vector< Aws::String > & GetAccountIds() const
Definition Workload.h:119
void SetOwner(const char *value)
Definition Workload.h:293
Workload & AddTags(const Aws::String &key, Aws::String &&value)
Definition Workload.h:325
Workload & WithEnvironment(WorkloadEnvironment &&value)
Definition Workload.h:104
Workload & WithIndustryType(const char *value)
Definition Workload.h:212
Workload & WithIsReviewOwnerUpdateAcknowledged(bool value)
Definition Workload.h:200
const Aws::Vector< Aws::String > & GetAwsRegions() const
Definition Workload.h:132
const Aws::String & GetWorkloadId() const
Definition Workload.h:51
void SetOwner(const Aws::String &value)
Definition Workload.h:291
void SetShareInvitationId(const Aws::String &value)
Definition Workload.h:305
Workload & WithProfiles(const Aws::Vector< WorkloadProfile > &value)
Definition Workload.h:367
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Workload.h:111
Workload & WithOwner(const char *value)
Definition Workload.h:296
Workload & WithShareInvitationId(const Aws::String &value)
Definition Workload.h:308
void SetReviewRestrictionDate(Aws::Utils::DateTime &&value)
Definition Workload.h:185
Workload & WithOwner(const Aws::String &value)
Definition Workload.h:294
void SetLenses(const Aws::Vector< Aws::String > &value)
Definition Workload.h:278
Workload & WithDescription(Aws::String &&value)
Definition Workload.h:93
void SetDescription(const Aws::String &value)
Definition Workload.h:89
void SetWorkloadArn(Aws::String &&value)
Definition Workload.h:66
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Workload.h:112
Workload & AddTags(const char *key, Aws::String &&value)
Definition Workload.h:327
void SetEnvironment(const WorkloadEnvironment &value)
Definition Workload.h:101
Workload & WithReviewRestrictionDate(const Aws::Utils::DateTime &value)
Definition Workload.h:186
Workload & WithWorkloadId(Aws::String &&value)
Definition Workload.h:57
void SetIndustry(const Aws::String &value)
Definition Workload.h:219
Workload & WithNotes(const char *value)
Definition Workload.h:236
void SetJiraConfiguration(WorkloadJiraConfigurationOutput &&value)
Definition Workload.h:392
Workload & WithIndustryType(const Aws::String &value)
Definition Workload.h:210
Workload & WithOwner(Aws::String &&value)
Definition Workload.h:295
void SetApplications(Aws::Vector< Aws::String > &&value)
Definition Workload.h:351
Workload & WithWorkloadName(const Aws::String &value)
Definition Workload.h:80
Workload & WithRiskCounts(const Aws::Map< Risk, int > &value)
Definition Workload.h:255
void SetOwner(Aws::String &&value)
Definition Workload.h:292
Workload & WithAccountIds(Aws::Vector< Aws::String > &&value)
Definition Workload.h:124
Workload & AddLenses(const Aws::String &value)
Definition Workload.h:282
void SetIndustry(const char *value)
Definition Workload.h:221
const Aws::String & GetIndustryType() const
Definition Workload.h:205
Workload & WithWorkloadArn(Aws::String &&value)
Definition Workload.h:69
void SetReviewRestrictionDate(const Aws::Utils::DateTime &value)
Definition Workload.h:184
void SetNotes(Aws::String &&value)
Definition Workload.h:232
Workload & WithJiraConfiguration(const WorkloadJiraConfigurationOutput &value)
Definition Workload.h:393
void SetArchitecturalDesign(const Aws::String &value)
Definition Workload.h:160
const WorkloadEnvironment & GetEnvironment() const
Definition Workload.h:99
void SetApplications(const Aws::Vector< Aws::String > &value)
Definition Workload.h:350
Workload & AddRiskCounts(Risk &&key, int value)
Definition Workload.h:258
void SetAccountIds(const Aws::Vector< Aws::String > &value)
Definition Workload.h:121
Workload & WithWorkloadArn(const Aws::String &value)
Definition Workload.h:68
Workload & WithPillarPriorities(const Aws::Vector< Aws::String > &value)
Definition Workload.h:267
Workload & WithAwsRegions(const Aws::Vector< Aws::String > &value)
Definition Workload.h:136
Workload & WithImprovementStatus(WorkloadImprovementStatus &&value)
Definition Workload.h:246
Workload & WithWorkloadId(const Aws::String &value)
Definition Workload.h:56
void SetLenses(Aws::Vector< Aws::String > &&value)
Definition Workload.h:279
void SetNonAwsRegions(Aws::Vector< Aws::String > &&value)
Definition Workload.h:148
void SetDiscoveryConfig(WorkloadDiscoveryConfig &&value)
Definition Workload.h:339
Workload & WithArchitecturalDesign(const Aws::String &value)
Definition Workload.h:163
const Aws::String & GetReviewOwner() const
Definition Workload.h:170
Workload & WithNotes(Aws::String &&value)
Definition Workload.h:235
Workload & WithIndustry(const Aws::String &value)
Definition Workload.h:222
void SetReviewOwner(const char *value)
Definition Workload.h:174
void SetShareInvitationId(const char *value)
Definition Workload.h:307
void SetWorkloadName(Aws::String &&value)
Definition Workload.h:78
void SetNonAwsRegions(const Aws::Vector< Aws::String > &value)
Definition Workload.h:147
Workload & AddApplications(const char *value)
Definition Workload.h:356
Workload & WithWorkloadName(Aws::String &&value)
Definition Workload.h:81
void SetIsReviewOwnerUpdateAcknowledged(bool value)
Definition Workload.h:199
const Aws::String & GetArchitecturalDesign() const
Definition Workload.h:158
void SetProfiles(const Aws::Vector< WorkloadProfile > &value)
Definition Workload.h:365
const WorkloadImprovementStatus & GetImprovementStatus() const
Definition Workload.h:241
void SetPillarPriorities(Aws::Vector< Aws::String > &&value)
Definition Workload.h:266
void SetNotes(const Aws::String &value)
Definition Workload.h:231
void SetShareInvitationId(Aws::String &&value)
Definition Workload.h:306
void SetWorkloadId(const char *value)
Definition Workload.h:55
Workload & AddTags(Aws::String &&key, const Aws::String &value)
Definition Workload.h:324
void SetEnvironment(WorkloadEnvironment &&value)
Definition Workload.h:102
Workload & AddApplications(const Aws::String &value)
Definition Workload.h:354
Workload & WithPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
Definition Workload.h:379
Workload & WithEnvironment(const WorkloadEnvironment &value)
Definition Workload.h:103
void SetNotes(const char *value)
Definition Workload.h:233
const Aws::String & GetWorkloadArn() const
Definition Workload.h:63
Workload & WithNotes(const Aws::String &value)
Definition Workload.h:234
Workload & WithApplications(Aws::Vector< Aws::String > &&value)
Definition Workload.h:353
const Aws::Utils::DateTime & GetReviewRestrictionDate() const
Definition Workload.h:182
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
Workload & AddPillarPriorities(const Aws::String &value)
Definition Workload.h:269
void SetAwsRegions(const Aws::Vector< Aws::String > &value)
Definition Workload.h:134
Workload & AddProfiles(const WorkloadProfile &value)
Definition Workload.h:369
void SetDescription(Aws::String &&value)
Definition Workload.h:90
Workload & AddAccountIds(Aws::String &&value)
Definition Workload.h:126
Workload & WithDescription(const char *value)
Definition Workload.h:94
Workload & AddTags(Aws::String &&key, Aws::String &&value)
Definition Workload.h:326
Workload & WithNonAwsRegions(const Aws::Vector< Aws::String > &value)
Definition Workload.h:149
void SetDescription(const char *value)
Definition Workload.h:91
Workload & WithShareInvitationId(Aws::String &&value)
Definition Workload.h:309
Workload & WithNonAwsRegions(Aws::Vector< Aws::String > &&value)
Definition Workload.h:150
Workload & AddPillarPriorities(Aws::String &&value)
Definition Workload.h:270
Workload & WithDiscoveryConfig(const WorkloadDiscoveryConfig &value)
Definition Workload.h:340
const Aws::String & GetIndustry() const
Definition Workload.h:217
Workload & WithLenses(Aws::Vector< Aws::String > &&value)
Definition Workload.h:281
Workload & WithReviewOwner(Aws::String &&value)
Definition Workload.h:176
void SetWorkloadArn(const char *value)
Definition Workload.h:67
void SetJiraConfiguration(const WorkloadJiraConfigurationOutput &value)
Definition Workload.h:391
Workload & WithAwsRegions(Aws::Vector< Aws::String > &&value)
Definition Workload.h:137
Workload & WithWorkloadId(const char *value)
Definition Workload.h:58
Workload & WithPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
Definition Workload.h:380
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Workload.h:317
Workload & AddAccountIds(const Aws::String &value)
Definition Workload.h:125
Workload & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Workload.h:114
void SetRiskCounts(const Aws::Map< Risk, int > &value)
Definition Workload.h:253
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Workload.h:109
const Aws::Vector< Aws::String > & GetPillarPriorities() const
Definition Workload.h:263
Workload & AddAwsRegions(const Aws::String &value)
Definition Workload.h:138
Workload & AddLenses(Aws::String &&value)
Definition Workload.h:283
Workload & WithArchitecturalDesign(Aws::String &&value)
Definition Workload.h:164
Workload & WithApplications(const Aws::Vector< Aws::String > &value)
Definition Workload.h:352
void SetRiskCounts(Aws::Map< Risk, int > &&value)
Definition Workload.h:254
Workload & WithImprovementStatus(const WorkloadImprovementStatus &value)
Definition Workload.h:245
void SetReviewOwner(const Aws::String &value)
Definition Workload.h:172
Workload & WithShareInvitationId(const char *value)
Definition Workload.h:310
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue