AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
Workload.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
12#include <aws/wellarchitected/model/Risk.h>
13#include <aws/wellarchitected/model/WorkloadDiscoveryConfig.h>
14#include <aws/wellarchitected/model/WorkloadEnvironment.h>
15#include <aws/wellarchitected/model/WorkloadImprovementStatus.h>
16#include <aws/wellarchitected/model/WorkloadJiraConfigurationOutput.h>
17#include <aws/wellarchitected/model/WorkloadProfile.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace WellArchitected {
29namespace Model {
30
36class Workload {
37 public:
38 AWS_WELLARCHITECTED_API Workload() = default;
39 AWS_WELLARCHITECTED_API Workload(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Workload& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
45 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
46 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
47 template <typename WorkloadIdT = Aws::String>
48 void SetWorkloadId(WorkloadIdT&& value) {
49 m_workloadIdHasBeenSet = true;
50 m_workloadId = std::forward<WorkloadIdT>(value);
51 }
52 template <typename WorkloadIdT = Aws::String>
53 Workload& WithWorkloadId(WorkloadIdT&& value) {
54 SetWorkloadId(std::forward<WorkloadIdT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::String& GetWorkloadArn() const { return m_workloadArn; }
62 inline bool WorkloadArnHasBeenSet() const { return m_workloadArnHasBeenSet; }
63 template <typename WorkloadArnT = Aws::String>
64 void SetWorkloadArn(WorkloadArnT&& value) {
65 m_workloadArnHasBeenSet = true;
66 m_workloadArn = std::forward<WorkloadArnT>(value);
67 }
68 template <typename WorkloadArnT = Aws::String>
69 Workload& WithWorkloadArn(WorkloadArnT&& value) {
70 SetWorkloadArn(std::forward<WorkloadArnT>(value));
71 return *this;
72 }
74
76
77 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
78 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
79 template <typename WorkloadNameT = Aws::String>
80 void SetWorkloadName(WorkloadNameT&& value) {
81 m_workloadNameHasBeenSet = true;
82 m_workloadName = std::forward<WorkloadNameT>(value);
83 }
84 template <typename WorkloadNameT = Aws::String>
85 Workload& WithWorkloadName(WorkloadNameT&& value) {
86 SetWorkloadName(std::forward<WorkloadNameT>(value));
87 return *this;
88 }
90
92
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 Workload& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
109 inline WorkloadEnvironment GetEnvironment() const { return m_environment; }
110 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
112 m_environmentHasBeenSet = true;
113 m_environment = value;
114 }
116 SetEnvironment(value);
117 return *this;
118 }
120
122
123 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
124 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
125 template <typename UpdatedAtT = Aws::Utils::DateTime>
126 void SetUpdatedAt(UpdatedAtT&& value) {
127 m_updatedAtHasBeenSet = true;
128 m_updatedAt = std::forward<UpdatedAtT>(value);
129 }
130 template <typename UpdatedAtT = Aws::Utils::DateTime>
131 Workload& WithUpdatedAt(UpdatedAtT&& value) {
132 SetUpdatedAt(std::forward<UpdatedAtT>(value));
133 return *this;
134 }
136
138
139 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
140 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
141 template <typename AccountIdsT = Aws::Vector<Aws::String>>
142 void SetAccountIds(AccountIdsT&& value) {
143 m_accountIdsHasBeenSet = true;
144 m_accountIds = std::forward<AccountIdsT>(value);
145 }
146 template <typename AccountIdsT = Aws::Vector<Aws::String>>
147 Workload& WithAccountIds(AccountIdsT&& value) {
148 SetAccountIds(std::forward<AccountIdsT>(value));
149 return *this;
150 }
151 template <typename AccountIdsT = Aws::String>
152 Workload& AddAccountIds(AccountIdsT&& value) {
153 m_accountIdsHasBeenSet = true;
154 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
155 return *this;
156 }
158
160
161 inline const Aws::Vector<Aws::String>& GetAwsRegions() const { return m_awsRegions; }
162 inline bool AwsRegionsHasBeenSet() const { return m_awsRegionsHasBeenSet; }
163 template <typename AwsRegionsT = Aws::Vector<Aws::String>>
164 void SetAwsRegions(AwsRegionsT&& value) {
165 m_awsRegionsHasBeenSet = true;
166 m_awsRegions = std::forward<AwsRegionsT>(value);
167 }
168 template <typename AwsRegionsT = Aws::Vector<Aws::String>>
169 Workload& WithAwsRegions(AwsRegionsT&& value) {
170 SetAwsRegions(std::forward<AwsRegionsT>(value));
171 return *this;
172 }
173 template <typename AwsRegionsT = Aws::String>
174 Workload& AddAwsRegions(AwsRegionsT&& value) {
175 m_awsRegionsHasBeenSet = true;
176 m_awsRegions.emplace_back(std::forward<AwsRegionsT>(value));
177 return *this;
178 }
180
182
183 inline const Aws::Vector<Aws::String>& GetNonAwsRegions() const { return m_nonAwsRegions; }
184 inline bool NonAwsRegionsHasBeenSet() const { return m_nonAwsRegionsHasBeenSet; }
185 template <typename NonAwsRegionsT = Aws::Vector<Aws::String>>
186 void SetNonAwsRegions(NonAwsRegionsT&& value) {
187 m_nonAwsRegionsHasBeenSet = true;
188 m_nonAwsRegions = std::forward<NonAwsRegionsT>(value);
189 }
190 template <typename NonAwsRegionsT = Aws::Vector<Aws::String>>
191 Workload& WithNonAwsRegions(NonAwsRegionsT&& value) {
192 SetNonAwsRegions(std::forward<NonAwsRegionsT>(value));
193 return *this;
194 }
195 template <typename NonAwsRegionsT = Aws::String>
196 Workload& AddNonAwsRegions(NonAwsRegionsT&& value) {
197 m_nonAwsRegionsHasBeenSet = true;
198 m_nonAwsRegions.emplace_back(std::forward<NonAwsRegionsT>(value));
199 return *this;
200 }
202
204
205 inline const Aws::String& GetArchitecturalDesign() const { return m_architecturalDesign; }
206 inline bool ArchitecturalDesignHasBeenSet() const { return m_architecturalDesignHasBeenSet; }
207 template <typename ArchitecturalDesignT = Aws::String>
208 void SetArchitecturalDesign(ArchitecturalDesignT&& value) {
209 m_architecturalDesignHasBeenSet = true;
210 m_architecturalDesign = std::forward<ArchitecturalDesignT>(value);
211 }
212 template <typename ArchitecturalDesignT = Aws::String>
213 Workload& WithArchitecturalDesign(ArchitecturalDesignT&& value) {
214 SetArchitecturalDesign(std::forward<ArchitecturalDesignT>(value));
215 return *this;
216 }
218
220
221 inline const Aws::String& GetReviewOwner() const { return m_reviewOwner; }
222 inline bool ReviewOwnerHasBeenSet() const { return m_reviewOwnerHasBeenSet; }
223 template <typename ReviewOwnerT = Aws::String>
224 void SetReviewOwner(ReviewOwnerT&& value) {
225 m_reviewOwnerHasBeenSet = true;
226 m_reviewOwner = std::forward<ReviewOwnerT>(value);
227 }
228 template <typename ReviewOwnerT = Aws::String>
229 Workload& WithReviewOwner(ReviewOwnerT&& value) {
230 SetReviewOwner(std::forward<ReviewOwnerT>(value));
231 return *this;
232 }
234
236
237 inline const Aws::Utils::DateTime& GetReviewRestrictionDate() const { return m_reviewRestrictionDate; }
238 inline bool ReviewRestrictionDateHasBeenSet() const { return m_reviewRestrictionDateHasBeenSet; }
239 template <typename ReviewRestrictionDateT = Aws::Utils::DateTime>
240 void SetReviewRestrictionDate(ReviewRestrictionDateT&& value) {
241 m_reviewRestrictionDateHasBeenSet = true;
242 m_reviewRestrictionDate = std::forward<ReviewRestrictionDateT>(value);
243 }
244 template <typename ReviewRestrictionDateT = Aws::Utils::DateTime>
245 Workload& WithReviewRestrictionDate(ReviewRestrictionDateT&& value) {
246 SetReviewRestrictionDate(std::forward<ReviewRestrictionDateT>(value));
247 return *this;
248 }
250
252
258 inline bool GetIsReviewOwnerUpdateAcknowledged() const { return m_isReviewOwnerUpdateAcknowledged; }
259 inline bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const { return m_isReviewOwnerUpdateAcknowledgedHasBeenSet; }
260 inline void SetIsReviewOwnerUpdateAcknowledged(bool value) {
261 m_isReviewOwnerUpdateAcknowledgedHasBeenSet = true;
262 m_isReviewOwnerUpdateAcknowledged = value;
263 }
266 return *this;
267 }
269
271
272 inline const Aws::String& GetIndustryType() const { return m_industryType; }
273 inline bool IndustryTypeHasBeenSet() const { return m_industryTypeHasBeenSet; }
274 template <typename IndustryTypeT = Aws::String>
275 void SetIndustryType(IndustryTypeT&& value) {
276 m_industryTypeHasBeenSet = true;
277 m_industryType = std::forward<IndustryTypeT>(value);
278 }
279 template <typename IndustryTypeT = Aws::String>
280 Workload& WithIndustryType(IndustryTypeT&& value) {
281 SetIndustryType(std::forward<IndustryTypeT>(value));
282 return *this;
283 }
285
287
288 inline const Aws::String& GetIndustry() const { return m_industry; }
289 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
290 template <typename IndustryT = Aws::String>
291 void SetIndustry(IndustryT&& value) {
292 m_industryHasBeenSet = true;
293 m_industry = std::forward<IndustryT>(value);
294 }
295 template <typename IndustryT = Aws::String>
296 Workload& WithIndustry(IndustryT&& value) {
297 SetIndustry(std::forward<IndustryT>(value));
298 return *this;
299 }
301
303
304 inline const Aws::String& GetNotes() const { return m_notes; }
305 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
306 template <typename NotesT = Aws::String>
307 void SetNotes(NotesT&& value) {
308 m_notesHasBeenSet = true;
309 m_notes = std::forward<NotesT>(value);
310 }
311 template <typename NotesT = Aws::String>
312 Workload& WithNotes(NotesT&& value) {
313 SetNotes(std::forward<NotesT>(value));
314 return *this;
315 }
317
319
320 inline WorkloadImprovementStatus GetImprovementStatus() const { return m_improvementStatus; }
321 inline bool ImprovementStatusHasBeenSet() const { return m_improvementStatusHasBeenSet; }
323 m_improvementStatusHasBeenSet = true;
324 m_improvementStatus = value;
325 }
328 return *this;
329 }
331
333
334 inline const Aws::Map<Risk, int>& GetRiskCounts() const { return m_riskCounts; }
335 inline bool RiskCountsHasBeenSet() const { return m_riskCountsHasBeenSet; }
336 template <typename RiskCountsT = Aws::Map<Risk, int>>
337 void SetRiskCounts(RiskCountsT&& value) {
338 m_riskCountsHasBeenSet = true;
339 m_riskCounts = std::forward<RiskCountsT>(value);
340 }
341 template <typename RiskCountsT = Aws::Map<Risk, int>>
342 Workload& WithRiskCounts(RiskCountsT&& value) {
343 SetRiskCounts(std::forward<RiskCountsT>(value));
344 return *this;
345 }
346 inline Workload& AddRiskCounts(Risk key, int value) {
347 m_riskCountsHasBeenSet = true;
348 m_riskCounts.emplace(key, value);
349 return *this;
350 }
352
354
355 inline const Aws::Vector<Aws::String>& GetPillarPriorities() const { return m_pillarPriorities; }
356 inline bool PillarPrioritiesHasBeenSet() const { return m_pillarPrioritiesHasBeenSet; }
357 template <typename PillarPrioritiesT = Aws::Vector<Aws::String>>
358 void SetPillarPriorities(PillarPrioritiesT&& value) {
359 m_pillarPrioritiesHasBeenSet = true;
360 m_pillarPriorities = std::forward<PillarPrioritiesT>(value);
361 }
362 template <typename PillarPrioritiesT = Aws::Vector<Aws::String>>
363 Workload& WithPillarPriorities(PillarPrioritiesT&& value) {
364 SetPillarPriorities(std::forward<PillarPrioritiesT>(value));
365 return *this;
366 }
367 template <typename PillarPrioritiesT = Aws::String>
368 Workload& AddPillarPriorities(PillarPrioritiesT&& value) {
369 m_pillarPrioritiesHasBeenSet = true;
370 m_pillarPriorities.emplace_back(std::forward<PillarPrioritiesT>(value));
371 return *this;
372 }
374
376
377 inline const Aws::Vector<Aws::String>& GetLenses() const { return m_lenses; }
378 inline bool LensesHasBeenSet() const { return m_lensesHasBeenSet; }
379 template <typename LensesT = Aws::Vector<Aws::String>>
380 void SetLenses(LensesT&& value) {
381 m_lensesHasBeenSet = true;
382 m_lenses = std::forward<LensesT>(value);
383 }
384 template <typename LensesT = Aws::Vector<Aws::String>>
385 Workload& WithLenses(LensesT&& value) {
386 SetLenses(std::forward<LensesT>(value));
387 return *this;
388 }
389 template <typename LensesT = Aws::String>
390 Workload& AddLenses(LensesT&& value) {
391 m_lensesHasBeenSet = true;
392 m_lenses.emplace_back(std::forward<LensesT>(value));
393 return *this;
394 }
396
398
399 inline const Aws::String& GetOwner() const { return m_owner; }
400 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
401 template <typename OwnerT = Aws::String>
402 void SetOwner(OwnerT&& value) {
403 m_ownerHasBeenSet = true;
404 m_owner = std::forward<OwnerT>(value);
405 }
406 template <typename OwnerT = Aws::String>
407 Workload& WithOwner(OwnerT&& value) {
408 SetOwner(std::forward<OwnerT>(value));
409 return *this;
410 }
412
414
417 inline const Aws::String& GetShareInvitationId() const { return m_shareInvitationId; }
418 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
419 template <typename ShareInvitationIdT = Aws::String>
420 void SetShareInvitationId(ShareInvitationIdT&& value) {
421 m_shareInvitationIdHasBeenSet = true;
422 m_shareInvitationId = std::forward<ShareInvitationIdT>(value);
423 }
424 template <typename ShareInvitationIdT = Aws::String>
425 Workload& WithShareInvitationId(ShareInvitationIdT&& value) {
426 SetShareInvitationId(std::forward<ShareInvitationIdT>(value));
427 return *this;
428 }
430
432
435 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
436 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
437 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
438 void SetTags(TagsT&& value) {
439 m_tagsHasBeenSet = true;
440 m_tags = std::forward<TagsT>(value);
441 }
442 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
443 Workload& WithTags(TagsT&& value) {
444 SetTags(std::forward<TagsT>(value));
445 return *this;
446 }
447 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
448 Workload& AddTags(TagsKeyT&& key, TagsValueT&& value) {
449 m_tagsHasBeenSet = true;
450 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
451 return *this;
452 }
454
456
459 inline const WorkloadDiscoveryConfig& GetDiscoveryConfig() const { return m_discoveryConfig; }
460 inline bool DiscoveryConfigHasBeenSet() const { return m_discoveryConfigHasBeenSet; }
461 template <typename DiscoveryConfigT = WorkloadDiscoveryConfig>
462 void SetDiscoveryConfig(DiscoveryConfigT&& value) {
463 m_discoveryConfigHasBeenSet = true;
464 m_discoveryConfig = std::forward<DiscoveryConfigT>(value);
465 }
466 template <typename DiscoveryConfigT = WorkloadDiscoveryConfig>
467 Workload& WithDiscoveryConfig(DiscoveryConfigT&& value) {
468 SetDiscoveryConfig(std::forward<DiscoveryConfigT>(value));
469 return *this;
470 }
472
474
477 inline const Aws::Vector<Aws::String>& GetApplications() const { return m_applications; }
478 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
479 template <typename ApplicationsT = Aws::Vector<Aws::String>>
480 void SetApplications(ApplicationsT&& value) {
481 m_applicationsHasBeenSet = true;
482 m_applications = std::forward<ApplicationsT>(value);
483 }
484 template <typename ApplicationsT = Aws::Vector<Aws::String>>
485 Workload& WithApplications(ApplicationsT&& value) {
486 SetApplications(std::forward<ApplicationsT>(value));
487 return *this;
488 }
489 template <typename ApplicationsT = Aws::String>
490 Workload& AddApplications(ApplicationsT&& value) {
491 m_applicationsHasBeenSet = true;
492 m_applications.emplace_back(std::forward<ApplicationsT>(value));
493 return *this;
494 }
496
498
501 inline const Aws::Vector<WorkloadProfile>& GetProfiles() const { return m_profiles; }
502 inline bool ProfilesHasBeenSet() const { return m_profilesHasBeenSet; }
503 template <typename ProfilesT = Aws::Vector<WorkloadProfile>>
504 void SetProfiles(ProfilesT&& value) {
505 m_profilesHasBeenSet = true;
506 m_profiles = std::forward<ProfilesT>(value);
507 }
508 template <typename ProfilesT = Aws::Vector<WorkloadProfile>>
509 Workload& WithProfiles(ProfilesT&& value) {
510 SetProfiles(std::forward<ProfilesT>(value));
511 return *this;
512 }
513 template <typename ProfilesT = WorkloadProfile>
514 Workload& AddProfiles(ProfilesT&& value) {
515 m_profilesHasBeenSet = true;
516 m_profiles.emplace_back(std::forward<ProfilesT>(value));
517 return *this;
518 }
520
522
523 inline const Aws::Map<Risk, int>& GetPrioritizedRiskCounts() const { return m_prioritizedRiskCounts; }
524 inline bool PrioritizedRiskCountsHasBeenSet() const { return m_prioritizedRiskCountsHasBeenSet; }
525 template <typename PrioritizedRiskCountsT = Aws::Map<Risk, int>>
526 void SetPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) {
527 m_prioritizedRiskCountsHasBeenSet = true;
528 m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value);
529 }
530 template <typename PrioritizedRiskCountsT = Aws::Map<Risk, int>>
531 Workload& WithPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) {
532 SetPrioritizedRiskCounts(std::forward<PrioritizedRiskCountsT>(value));
533 return *this;
534 }
535 inline Workload& AddPrioritizedRiskCounts(Risk key, int value) {
536 m_prioritizedRiskCountsHasBeenSet = true;
537 m_prioritizedRiskCounts.emplace(key, value);
538 return *this;
539 }
541
543
546 inline const WorkloadJiraConfigurationOutput& GetJiraConfiguration() const { return m_jiraConfiguration; }
547 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
548 template <typename JiraConfigurationT = WorkloadJiraConfigurationOutput>
549 void SetJiraConfiguration(JiraConfigurationT&& value) {
550 m_jiraConfigurationHasBeenSet = true;
551 m_jiraConfiguration = std::forward<JiraConfigurationT>(value);
552 }
553 template <typename JiraConfigurationT = WorkloadJiraConfigurationOutput>
554 Workload& WithJiraConfiguration(JiraConfigurationT&& value) {
555 SetJiraConfiguration(std::forward<JiraConfigurationT>(value));
556 return *this;
557 }
559 private:
560 Aws::String m_workloadId;
561
562 Aws::String m_workloadArn;
563
564 Aws::String m_workloadName;
565
566 Aws::String m_description;
567
569
570 Aws::Utils::DateTime m_updatedAt{};
571
572 Aws::Vector<Aws::String> m_accountIds;
573
574 Aws::Vector<Aws::String> m_awsRegions;
575
576 Aws::Vector<Aws::String> m_nonAwsRegions;
577
578 Aws::String m_architecturalDesign;
579
580 Aws::String m_reviewOwner;
581
582 Aws::Utils::DateTime m_reviewRestrictionDate{};
583
584 bool m_isReviewOwnerUpdateAcknowledged{false};
585
586 Aws::String m_industryType;
587
588 Aws::String m_industry;
589
590 Aws::String m_notes;
591
593
594 Aws::Map<Risk, int> m_riskCounts;
595
596 Aws::Vector<Aws::String> m_pillarPriorities;
597
599
600 Aws::String m_owner;
601
602 Aws::String m_shareInvitationId;
603
605
606 WorkloadDiscoveryConfig m_discoveryConfig;
607
608 Aws::Vector<Aws::String> m_applications;
609
611
612 Aws::Map<Risk, int> m_prioritizedRiskCounts;
613
614 WorkloadJiraConfigurationOutput m_jiraConfiguration;
615 bool m_workloadIdHasBeenSet = false;
616 bool m_workloadArnHasBeenSet = false;
617 bool m_workloadNameHasBeenSet = false;
618 bool m_descriptionHasBeenSet = false;
619 bool m_environmentHasBeenSet = false;
620 bool m_updatedAtHasBeenSet = false;
621 bool m_accountIdsHasBeenSet = false;
622 bool m_awsRegionsHasBeenSet = false;
623 bool m_nonAwsRegionsHasBeenSet = false;
624 bool m_architecturalDesignHasBeenSet = false;
625 bool m_reviewOwnerHasBeenSet = false;
626 bool m_reviewRestrictionDateHasBeenSet = false;
627 bool m_isReviewOwnerUpdateAcknowledgedHasBeenSet = false;
628 bool m_industryTypeHasBeenSet = false;
629 bool m_industryHasBeenSet = false;
630 bool m_notesHasBeenSet = false;
631 bool m_improvementStatusHasBeenSet = false;
632 bool m_riskCountsHasBeenSet = false;
633 bool m_pillarPrioritiesHasBeenSet = false;
634 bool m_lensesHasBeenSet = false;
635 bool m_ownerHasBeenSet = false;
636 bool m_shareInvitationIdHasBeenSet = false;
637 bool m_tagsHasBeenSet = false;
638 bool m_discoveryConfigHasBeenSet = false;
639 bool m_applicationsHasBeenSet = false;
640 bool m_profilesHasBeenSet = false;
641 bool m_prioritizedRiskCountsHasBeenSet = false;
642 bool m_jiraConfigurationHasBeenSet = false;
643};
644
645} // namespace Model
646} // namespace WellArchitected
647} // namespace Aws
void SetProfiles(ProfilesT &&value)
Definition Workload.h:504
const WorkloadDiscoveryConfig & GetDiscoveryConfig() const
Definition Workload.h:459
void SetReviewRestrictionDate(ReviewRestrictionDateT &&value)
Definition Workload.h:240
void SetJiraConfiguration(JiraConfigurationT &&value)
Definition Workload.h:549
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
Definition Workload.h:523
Workload & WithDescription(DescriptionT &&value)
Definition Workload.h:101
Workload & WithIndustryType(IndustryTypeT &&value)
Definition Workload.h:280
AWS_WELLARCHITECTED_API Workload()=default
const Aws::String & GetDescription() const
Definition Workload.h:93
const Aws::String & GetNotes() const
Definition Workload.h:304
const Aws::Vector< Aws::String > & GetNonAwsRegions() const
Definition Workload.h:183
WorkloadImprovementStatus GetImprovementStatus() const
Definition Workload.h:320
Workload & AddAwsRegions(AwsRegionsT &&value)
Definition Workload.h:174
void SetIndustry(IndustryT &&value)
Definition Workload.h:291
Workload & WithIndustry(IndustryT &&value)
Definition Workload.h:296
Workload & WithPillarPriorities(PillarPrioritiesT &&value)
Definition Workload.h:363
AWS_WELLARCHITECTED_API Workload(Aws::Utils::Json::JsonView jsonValue)
void SetWorkloadId(WorkloadIdT &&value)
Definition Workload.h:48
const Aws::Map< Risk, int > & GetRiskCounts() const
Definition Workload.h:334
WorkloadEnvironment GetEnvironment() const
Definition Workload.h:109
bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const
Definition Workload.h:259
Workload & WithJiraConfiguration(JiraConfigurationT &&value)
Definition Workload.h:554
const Aws::Vector< WorkloadProfile > & GetProfiles() const
Definition Workload.h:501
const Aws::String & GetShareInvitationId() const
Definition Workload.h:417
const Aws::Vector< Aws::String > & GetApplications() const
Definition Workload.h:477
void SetEnvironment(WorkloadEnvironment value)
Definition Workload.h:111
Workload & WithDiscoveryConfig(DiscoveryConfigT &&value)
Definition Workload.h:467
const Aws::String & GetWorkloadName() const
Definition Workload.h:77
void SetWorkloadName(WorkloadNameT &&value)
Definition Workload.h:80
Workload & WithAccountIds(AccountIdsT &&value)
Definition Workload.h:147
Workload & AddLenses(LensesT &&value)
Definition Workload.h:390
const WorkloadJiraConfigurationOutput & GetJiraConfiguration() const
Definition Workload.h:546
const Aws::String & GetOwner() const
Definition Workload.h:399
void SetRiskCounts(RiskCountsT &&value)
Definition Workload.h:337
AWS_WELLARCHITECTED_API Workload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsReviewOwnerUpdateAcknowledged() const
Definition Workload.h:258
Workload & AddRiskCounts(Risk key, int value)
Definition Workload.h:346
void SetArchitecturalDesign(ArchitecturalDesignT &&value)
Definition Workload.h:208
void SetPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
Definition Workload.h:526
Workload & WithAwsRegions(AwsRegionsT &&value)
Definition Workload.h:169
const Aws::Vector< Aws::String > & GetLenses() const
Definition Workload.h:377
const Aws::Vector< Aws::String > & GetAccountIds() const
Definition Workload.h:139
Workload & WithNonAwsRegions(NonAwsRegionsT &&value)
Definition Workload.h:191
Workload & WithWorkloadName(WorkloadNameT &&value)
Definition Workload.h:85
Workload & WithIsReviewOwnerUpdateAcknowledged(bool value)
Definition Workload.h:264
const Aws::Vector< Aws::String > & GetAwsRegions() const
Definition Workload.h:161
void SetDiscoveryConfig(DiscoveryConfigT &&value)
Definition Workload.h:462
void SetUpdatedAt(UpdatedAtT &&value)
Definition Workload.h:126
const Aws::String & GetWorkloadId() const
Definition Workload.h:45
Workload & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Workload.h:448
void SetNonAwsRegions(NonAwsRegionsT &&value)
Definition Workload.h:186
void SetReviewOwner(ReviewOwnerT &&value)
Definition Workload.h:224
Workload & WithUpdatedAt(UpdatedAtT &&value)
Definition Workload.h:131
Workload & WithReviewOwner(ReviewOwnerT &&value)
Definition Workload.h:229
void SetIndustryType(IndustryTypeT &&value)
Definition Workload.h:275
Workload & AddPillarPriorities(PillarPrioritiesT &&value)
Definition Workload.h:368
Workload & WithRiskCounts(RiskCountsT &&value)
Definition Workload.h:342
void SetPillarPriorities(PillarPrioritiesT &&value)
Definition Workload.h:358
Workload & AddAccountIds(AccountIdsT &&value)
Definition Workload.h:152
Workload & WithImprovementStatus(WorkloadImprovementStatus value)
Definition Workload.h:326
const Aws::String & GetIndustryType() const
Definition Workload.h:272
Workload & WithWorkloadArn(WorkloadArnT &&value)
Definition Workload.h:69
void SetWorkloadArn(WorkloadArnT &&value)
Definition Workload.h:64
Workload & WithPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
Definition Workload.h:531
Workload & WithOwner(OwnerT &&value)
Definition Workload.h:407
Workload & WithProfiles(ProfilesT &&value)
Definition Workload.h:509
Workload & WithReviewRestrictionDate(ReviewRestrictionDateT &&value)
Definition Workload.h:245
void SetDescription(DescriptionT &&value)
Definition Workload.h:96
Workload & WithLenses(LensesT &&value)
Definition Workload.h:385
void SetApplications(ApplicationsT &&value)
Definition Workload.h:480
Workload & WithNotes(NotesT &&value)
Definition Workload.h:312
const Aws::String & GetReviewOwner() const
Definition Workload.h:221
Workload & WithWorkloadId(WorkloadIdT &&value)
Definition Workload.h:53
Workload & AddPrioritizedRiskCounts(Risk key, int value)
Definition Workload.h:535
Workload & WithTags(TagsT &&value)
Definition Workload.h:443
void SetImprovementStatus(WorkloadImprovementStatus value)
Definition Workload.h:322
void SetIsReviewOwnerUpdateAcknowledged(bool value)
Definition Workload.h:260
const Aws::String & GetArchitecturalDesign() const
Definition Workload.h:205
void SetAwsRegions(AwsRegionsT &&value)
Definition Workload.h:164
const Aws::String & GetWorkloadArn() const
Definition Workload.h:61
const Aws::Utils::DateTime & GetReviewRestrictionDate() const
Definition Workload.h:237
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
Workload & WithEnvironment(WorkloadEnvironment value)
Definition Workload.h:115
void SetAccountIds(AccountIdsT &&value)
Definition Workload.h:142
Workload & AddNonAwsRegions(NonAwsRegionsT &&value)
Definition Workload.h:196
Workload & AddApplications(ApplicationsT &&value)
Definition Workload.h:490
void SetShareInvitationId(ShareInvitationIdT &&value)
Definition Workload.h:420
Workload & WithApplications(ApplicationsT &&value)
Definition Workload.h:485
Workload & WithArchitecturalDesign(ArchitecturalDesignT &&value)
Definition Workload.h:213
const Aws::String & GetIndustry() const
Definition Workload.h:288
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Workload.h:435
Workload & WithShareInvitationId(ShareInvitationIdT &&value)
Definition Workload.h:425
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Workload.h:123
const Aws::Vector< Aws::String > & GetPillarPriorities() const
Definition Workload.h:355
void SetLenses(LensesT &&value)
Definition Workload.h:380
Workload & AddProfiles(ProfilesT &&value)
Definition Workload.h:514
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