AWS SDK for C++

AWS SDK for C++ Version 1.11.875

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
125 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
126 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
127 template <typename UpdatedAtT = Aws::Utils::DateTime>
128 void SetUpdatedAt(UpdatedAtT&& value) {
129 m_updatedAtHasBeenSet = true;
130 m_updatedAt = std::forward<UpdatedAtT>(value);
131 }
132 template <typename UpdatedAtT = Aws::Utils::DateTime>
133 Workload& WithUpdatedAt(UpdatedAtT&& value) {
134 SetUpdatedAt(std::forward<UpdatedAtT>(value));
135 return *this;
136 }
138
140
141 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
142 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
143 template <typename AccountIdsT = Aws::Vector<Aws::String>>
144 void SetAccountIds(AccountIdsT&& value) {
145 m_accountIdsHasBeenSet = true;
146 m_accountIds = std::forward<AccountIdsT>(value);
147 }
148 template <typename AccountIdsT = Aws::Vector<Aws::String>>
149 Workload& WithAccountIds(AccountIdsT&& value) {
150 SetAccountIds(std::forward<AccountIdsT>(value));
151 return *this;
152 }
153 template <typename AccountIdsT = Aws::String>
154 Workload& AddAccountIds(AccountIdsT&& value) {
155 m_accountIdsHasBeenSet = true;
156 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
157 return *this;
158 }
160
162
163 inline const Aws::Vector<Aws::String>& GetAwsRegions() const { return m_awsRegions; }
164 inline bool AwsRegionsHasBeenSet() const { return m_awsRegionsHasBeenSet; }
165 template <typename AwsRegionsT = Aws::Vector<Aws::String>>
166 void SetAwsRegions(AwsRegionsT&& value) {
167 m_awsRegionsHasBeenSet = true;
168 m_awsRegions = std::forward<AwsRegionsT>(value);
169 }
170 template <typename AwsRegionsT = Aws::Vector<Aws::String>>
171 Workload& WithAwsRegions(AwsRegionsT&& value) {
172 SetAwsRegions(std::forward<AwsRegionsT>(value));
173 return *this;
174 }
175 template <typename AwsRegionsT = Aws::String>
176 Workload& AddAwsRegions(AwsRegionsT&& value) {
177 m_awsRegionsHasBeenSet = true;
178 m_awsRegions.emplace_back(std::forward<AwsRegionsT>(value));
179 return *this;
180 }
182
184
185 inline const Aws::Vector<Aws::String>& GetNonAwsRegions() const { return m_nonAwsRegions; }
186 inline bool NonAwsRegionsHasBeenSet() const { return m_nonAwsRegionsHasBeenSet; }
187 template <typename NonAwsRegionsT = Aws::Vector<Aws::String>>
188 void SetNonAwsRegions(NonAwsRegionsT&& value) {
189 m_nonAwsRegionsHasBeenSet = true;
190 m_nonAwsRegions = std::forward<NonAwsRegionsT>(value);
191 }
192 template <typename NonAwsRegionsT = Aws::Vector<Aws::String>>
193 Workload& WithNonAwsRegions(NonAwsRegionsT&& value) {
194 SetNonAwsRegions(std::forward<NonAwsRegionsT>(value));
195 return *this;
196 }
197 template <typename NonAwsRegionsT = Aws::String>
198 Workload& AddNonAwsRegions(NonAwsRegionsT&& value) {
199 m_nonAwsRegionsHasBeenSet = true;
200 m_nonAwsRegions.emplace_back(std::forward<NonAwsRegionsT>(value));
201 return *this;
202 }
204
206
207 inline const Aws::String& GetArchitecturalDesign() const { return m_architecturalDesign; }
208 inline bool ArchitecturalDesignHasBeenSet() const { return m_architecturalDesignHasBeenSet; }
209 template <typename ArchitecturalDesignT = Aws::String>
210 void SetArchitecturalDesign(ArchitecturalDesignT&& value) {
211 m_architecturalDesignHasBeenSet = true;
212 m_architecturalDesign = std::forward<ArchitecturalDesignT>(value);
213 }
214 template <typename ArchitecturalDesignT = Aws::String>
215 Workload& WithArchitecturalDesign(ArchitecturalDesignT&& value) {
216 SetArchitecturalDesign(std::forward<ArchitecturalDesignT>(value));
217 return *this;
218 }
220
222
223 inline const Aws::String& GetReviewOwner() const { return m_reviewOwner; }
224 inline bool ReviewOwnerHasBeenSet() const { return m_reviewOwnerHasBeenSet; }
225 template <typename ReviewOwnerT = Aws::String>
226 void SetReviewOwner(ReviewOwnerT&& value) {
227 m_reviewOwnerHasBeenSet = true;
228 m_reviewOwner = std::forward<ReviewOwnerT>(value);
229 }
230 template <typename ReviewOwnerT = Aws::String>
231 Workload& WithReviewOwner(ReviewOwnerT&& value) {
232 SetReviewOwner(std::forward<ReviewOwnerT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetReviewRestrictionDate() const { return m_reviewRestrictionDate; }
242 inline bool ReviewRestrictionDateHasBeenSet() const { return m_reviewRestrictionDateHasBeenSet; }
243 template <typename ReviewRestrictionDateT = Aws::Utils::DateTime>
244 void SetReviewRestrictionDate(ReviewRestrictionDateT&& value) {
245 m_reviewRestrictionDateHasBeenSet = true;
246 m_reviewRestrictionDate = std::forward<ReviewRestrictionDateT>(value);
247 }
248 template <typename ReviewRestrictionDateT = Aws::Utils::DateTime>
249 Workload& WithReviewRestrictionDate(ReviewRestrictionDateT&& value) {
250 SetReviewRestrictionDate(std::forward<ReviewRestrictionDateT>(value));
251 return *this;
252 }
254
256
262 inline bool GetIsReviewOwnerUpdateAcknowledged() const { return m_isReviewOwnerUpdateAcknowledged; }
263 inline bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const { return m_isReviewOwnerUpdateAcknowledgedHasBeenSet; }
264 inline void SetIsReviewOwnerUpdateAcknowledged(bool value) {
265 m_isReviewOwnerUpdateAcknowledgedHasBeenSet = true;
266 m_isReviewOwnerUpdateAcknowledged = value;
267 }
270 return *this;
271 }
273
275
276 inline const Aws::String& GetIndustryType() const { return m_industryType; }
277 inline bool IndustryTypeHasBeenSet() const { return m_industryTypeHasBeenSet; }
278 template <typename IndustryTypeT = Aws::String>
279 void SetIndustryType(IndustryTypeT&& value) {
280 m_industryTypeHasBeenSet = true;
281 m_industryType = std::forward<IndustryTypeT>(value);
282 }
283 template <typename IndustryTypeT = Aws::String>
284 Workload& WithIndustryType(IndustryTypeT&& value) {
285 SetIndustryType(std::forward<IndustryTypeT>(value));
286 return *this;
287 }
289
291
292 inline const Aws::String& GetIndustry() const { return m_industry; }
293 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
294 template <typename IndustryT = Aws::String>
295 void SetIndustry(IndustryT&& value) {
296 m_industryHasBeenSet = true;
297 m_industry = std::forward<IndustryT>(value);
298 }
299 template <typename IndustryT = Aws::String>
300 Workload& WithIndustry(IndustryT&& value) {
301 SetIndustry(std::forward<IndustryT>(value));
302 return *this;
303 }
305
307
308 inline const Aws::String& GetNotes() const { return m_notes; }
309 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
310 template <typename NotesT = Aws::String>
311 void SetNotes(NotesT&& value) {
312 m_notesHasBeenSet = true;
313 m_notes = std::forward<NotesT>(value);
314 }
315 template <typename NotesT = Aws::String>
316 Workload& WithNotes(NotesT&& value) {
317 SetNotes(std::forward<NotesT>(value));
318 return *this;
319 }
321
323
324 inline WorkloadImprovementStatus GetImprovementStatus() const { return m_improvementStatus; }
325 inline bool ImprovementStatusHasBeenSet() const { return m_improvementStatusHasBeenSet; }
327 m_improvementStatusHasBeenSet = true;
328 m_improvementStatus = value;
329 }
332 return *this;
333 }
335
337
338 inline const Aws::Map<Risk, int>& GetRiskCounts() const { return m_riskCounts; }
339 inline bool RiskCountsHasBeenSet() const { return m_riskCountsHasBeenSet; }
340 template <typename RiskCountsT = Aws::Map<Risk, int>>
341 void SetRiskCounts(RiskCountsT&& value) {
342 m_riskCountsHasBeenSet = true;
343 m_riskCounts = std::forward<RiskCountsT>(value);
344 }
345 template <typename RiskCountsT = Aws::Map<Risk, int>>
346 Workload& WithRiskCounts(RiskCountsT&& value) {
347 SetRiskCounts(std::forward<RiskCountsT>(value));
348 return *this;
349 }
350 inline Workload& AddRiskCounts(Risk key, int value) {
351 m_riskCountsHasBeenSet = true;
352 m_riskCounts.emplace(key, value);
353 return *this;
354 }
356
358
359 inline const Aws::Vector<Aws::String>& GetPillarPriorities() const { return m_pillarPriorities; }
360 inline bool PillarPrioritiesHasBeenSet() const { return m_pillarPrioritiesHasBeenSet; }
361 template <typename PillarPrioritiesT = Aws::Vector<Aws::String>>
362 void SetPillarPriorities(PillarPrioritiesT&& value) {
363 m_pillarPrioritiesHasBeenSet = true;
364 m_pillarPriorities = std::forward<PillarPrioritiesT>(value);
365 }
366 template <typename PillarPrioritiesT = Aws::Vector<Aws::String>>
367 Workload& WithPillarPriorities(PillarPrioritiesT&& value) {
368 SetPillarPriorities(std::forward<PillarPrioritiesT>(value));
369 return *this;
370 }
371 template <typename PillarPrioritiesT = Aws::String>
372 Workload& AddPillarPriorities(PillarPrioritiesT&& value) {
373 m_pillarPrioritiesHasBeenSet = true;
374 m_pillarPriorities.emplace_back(std::forward<PillarPrioritiesT>(value));
375 return *this;
376 }
378
380
381 inline const Aws::Vector<Aws::String>& GetLenses() const { return m_lenses; }
382 inline bool LensesHasBeenSet() const { return m_lensesHasBeenSet; }
383 template <typename LensesT = Aws::Vector<Aws::String>>
384 void SetLenses(LensesT&& value) {
385 m_lensesHasBeenSet = true;
386 m_lenses = std::forward<LensesT>(value);
387 }
388 template <typename LensesT = Aws::Vector<Aws::String>>
389 Workload& WithLenses(LensesT&& value) {
390 SetLenses(std::forward<LensesT>(value));
391 return *this;
392 }
393 template <typename LensesT = Aws::String>
394 Workload& AddLenses(LensesT&& value) {
395 m_lensesHasBeenSet = true;
396 m_lenses.emplace_back(std::forward<LensesT>(value));
397 return *this;
398 }
400
402
403 inline const Aws::String& GetOwner() const { return m_owner; }
404 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
405 template <typename OwnerT = Aws::String>
406 void SetOwner(OwnerT&& value) {
407 m_ownerHasBeenSet = true;
408 m_owner = std::forward<OwnerT>(value);
409 }
410 template <typename OwnerT = Aws::String>
411 Workload& WithOwner(OwnerT&& value) {
412 SetOwner(std::forward<OwnerT>(value));
413 return *this;
414 }
416
418
421 inline const Aws::String& GetShareInvitationId() const { return m_shareInvitationId; }
422 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
423 template <typename ShareInvitationIdT = Aws::String>
424 void SetShareInvitationId(ShareInvitationIdT&& value) {
425 m_shareInvitationIdHasBeenSet = true;
426 m_shareInvitationId = std::forward<ShareInvitationIdT>(value);
427 }
428 template <typename ShareInvitationIdT = Aws::String>
429 Workload& WithShareInvitationId(ShareInvitationIdT&& value) {
430 SetShareInvitationId(std::forward<ShareInvitationIdT>(value));
431 return *this;
432 }
434
436
439 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
440 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
441 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
442 void SetTags(TagsT&& value) {
443 m_tagsHasBeenSet = true;
444 m_tags = std::forward<TagsT>(value);
445 }
446 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
447 Workload& WithTags(TagsT&& value) {
448 SetTags(std::forward<TagsT>(value));
449 return *this;
450 }
451 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
452 Workload& AddTags(TagsKeyT&& key, TagsValueT&& value) {
453 m_tagsHasBeenSet = true;
454 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
455 return *this;
456 }
458
460
463 inline const WorkloadDiscoveryConfig& GetDiscoveryConfig() const { return m_discoveryConfig; }
464 inline bool DiscoveryConfigHasBeenSet() const { return m_discoveryConfigHasBeenSet; }
465 template <typename DiscoveryConfigT = WorkloadDiscoveryConfig>
466 void SetDiscoveryConfig(DiscoveryConfigT&& value) {
467 m_discoveryConfigHasBeenSet = true;
468 m_discoveryConfig = std::forward<DiscoveryConfigT>(value);
469 }
470 template <typename DiscoveryConfigT = WorkloadDiscoveryConfig>
471 Workload& WithDiscoveryConfig(DiscoveryConfigT&& value) {
472 SetDiscoveryConfig(std::forward<DiscoveryConfigT>(value));
473 return *this;
474 }
476
478
481 inline const Aws::Vector<Aws::String>& GetApplications() const { return m_applications; }
482 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
483 template <typename ApplicationsT = Aws::Vector<Aws::String>>
484 void SetApplications(ApplicationsT&& value) {
485 m_applicationsHasBeenSet = true;
486 m_applications = std::forward<ApplicationsT>(value);
487 }
488 template <typename ApplicationsT = Aws::Vector<Aws::String>>
489 Workload& WithApplications(ApplicationsT&& value) {
490 SetApplications(std::forward<ApplicationsT>(value));
491 return *this;
492 }
493 template <typename ApplicationsT = Aws::String>
494 Workload& AddApplications(ApplicationsT&& value) {
495 m_applicationsHasBeenSet = true;
496 m_applications.emplace_back(std::forward<ApplicationsT>(value));
497 return *this;
498 }
500
502
505 inline const Aws::Vector<WorkloadProfile>& GetProfiles() const { return m_profiles; }
506 inline bool ProfilesHasBeenSet() const { return m_profilesHasBeenSet; }
507 template <typename ProfilesT = Aws::Vector<WorkloadProfile>>
508 void SetProfiles(ProfilesT&& value) {
509 m_profilesHasBeenSet = true;
510 m_profiles = std::forward<ProfilesT>(value);
511 }
512 template <typename ProfilesT = Aws::Vector<WorkloadProfile>>
513 Workload& WithProfiles(ProfilesT&& value) {
514 SetProfiles(std::forward<ProfilesT>(value));
515 return *this;
516 }
517 template <typename ProfilesT = WorkloadProfile>
518 Workload& AddProfiles(ProfilesT&& value) {
519 m_profilesHasBeenSet = true;
520 m_profiles.emplace_back(std::forward<ProfilesT>(value));
521 return *this;
522 }
524
526
527 inline const Aws::Map<Risk, int>& GetPrioritizedRiskCounts() const { return m_prioritizedRiskCounts; }
528 inline bool PrioritizedRiskCountsHasBeenSet() const { return m_prioritizedRiskCountsHasBeenSet; }
529 template <typename PrioritizedRiskCountsT = Aws::Map<Risk, int>>
530 void SetPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) {
531 m_prioritizedRiskCountsHasBeenSet = true;
532 m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value);
533 }
534 template <typename PrioritizedRiskCountsT = Aws::Map<Risk, int>>
535 Workload& WithPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) {
536 SetPrioritizedRiskCounts(std::forward<PrioritizedRiskCountsT>(value));
537 return *this;
538 }
539 inline Workload& AddPrioritizedRiskCounts(Risk key, int value) {
540 m_prioritizedRiskCountsHasBeenSet = true;
541 m_prioritizedRiskCounts.emplace(key, value);
542 return *this;
543 }
545
547
550 inline const WorkloadJiraConfigurationOutput& GetJiraConfiguration() const { return m_jiraConfiguration; }
551 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
552 template <typename JiraConfigurationT = WorkloadJiraConfigurationOutput>
553 void SetJiraConfiguration(JiraConfigurationT&& value) {
554 m_jiraConfigurationHasBeenSet = true;
555 m_jiraConfiguration = std::forward<JiraConfigurationT>(value);
556 }
557 template <typename JiraConfigurationT = WorkloadJiraConfigurationOutput>
558 Workload& WithJiraConfiguration(JiraConfigurationT&& value) {
559 SetJiraConfiguration(std::forward<JiraConfigurationT>(value));
560 return *this;
561 }
563 private:
564 Aws::String m_workloadId;
565
566 Aws::String m_workloadArn;
567
568 Aws::String m_workloadName;
569
570 Aws::String m_description;
571
573
574 Aws::Utils::DateTime m_updatedAt{};
575
576 Aws::Vector<Aws::String> m_accountIds;
577
578 Aws::Vector<Aws::String> m_awsRegions;
579
580 Aws::Vector<Aws::String> m_nonAwsRegions;
581
582 Aws::String m_architecturalDesign;
583
584 Aws::String m_reviewOwner;
585
586 Aws::Utils::DateTime m_reviewRestrictionDate{};
587
588 bool m_isReviewOwnerUpdateAcknowledged{false};
589
590 Aws::String m_industryType;
591
592 Aws::String m_industry;
593
594 Aws::String m_notes;
595
597
598 Aws::Map<Risk, int> m_riskCounts;
599
600 Aws::Vector<Aws::String> m_pillarPriorities;
601
603
604 Aws::String m_owner;
605
606 Aws::String m_shareInvitationId;
607
609
610 WorkloadDiscoveryConfig m_discoveryConfig;
611
612 Aws::Vector<Aws::String> m_applications;
613
615
616 Aws::Map<Risk, int> m_prioritizedRiskCounts;
617
618 WorkloadJiraConfigurationOutput m_jiraConfiguration;
619 bool m_workloadIdHasBeenSet = false;
620 bool m_workloadArnHasBeenSet = false;
621 bool m_workloadNameHasBeenSet = false;
622 bool m_descriptionHasBeenSet = false;
623 bool m_environmentHasBeenSet = false;
624 bool m_updatedAtHasBeenSet = false;
625 bool m_accountIdsHasBeenSet = false;
626 bool m_awsRegionsHasBeenSet = false;
627 bool m_nonAwsRegionsHasBeenSet = false;
628 bool m_architecturalDesignHasBeenSet = false;
629 bool m_reviewOwnerHasBeenSet = false;
630 bool m_reviewRestrictionDateHasBeenSet = false;
631 bool m_isReviewOwnerUpdateAcknowledgedHasBeenSet = false;
632 bool m_industryTypeHasBeenSet = false;
633 bool m_industryHasBeenSet = false;
634 bool m_notesHasBeenSet = false;
635 bool m_improvementStatusHasBeenSet = false;
636 bool m_riskCountsHasBeenSet = false;
637 bool m_pillarPrioritiesHasBeenSet = false;
638 bool m_lensesHasBeenSet = false;
639 bool m_ownerHasBeenSet = false;
640 bool m_shareInvitationIdHasBeenSet = false;
641 bool m_tagsHasBeenSet = false;
642 bool m_discoveryConfigHasBeenSet = false;
643 bool m_applicationsHasBeenSet = false;
644 bool m_profilesHasBeenSet = false;
645 bool m_prioritizedRiskCountsHasBeenSet = false;
646 bool m_jiraConfigurationHasBeenSet = false;
647};
648
649} // namespace Model
650} // namespace WellArchitected
651} // namespace Aws
void SetProfiles(ProfilesT &&value)
Definition Workload.h:508
const WorkloadDiscoveryConfig & GetDiscoveryConfig() const
Definition Workload.h:463
void SetReviewRestrictionDate(ReviewRestrictionDateT &&value)
Definition Workload.h:244
void SetJiraConfiguration(JiraConfigurationT &&value)
Definition Workload.h:553
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
Definition Workload.h:527
Workload & WithDescription(DescriptionT &&value)
Definition Workload.h:101
Workload & WithIndustryType(IndustryTypeT &&value)
Definition Workload.h:284
AWS_WELLARCHITECTED_API Workload()=default
const Aws::String & GetDescription() const
Definition Workload.h:93
const Aws::String & GetNotes() const
Definition Workload.h:308
const Aws::Vector< Aws::String > & GetNonAwsRegions() const
Definition Workload.h:185
WorkloadImprovementStatus GetImprovementStatus() const
Definition Workload.h:324
Workload & AddAwsRegions(AwsRegionsT &&value)
Definition Workload.h:176
void SetIndustry(IndustryT &&value)
Definition Workload.h:295
Workload & WithIndustry(IndustryT &&value)
Definition Workload.h:300
Workload & WithPillarPriorities(PillarPrioritiesT &&value)
Definition Workload.h:367
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:338
WorkloadEnvironment GetEnvironment() const
Definition Workload.h:109
bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const
Definition Workload.h:263
Workload & WithJiraConfiguration(JiraConfigurationT &&value)
Definition Workload.h:558
const Aws::Vector< WorkloadProfile > & GetProfiles() const
Definition Workload.h:505
const Aws::String & GetShareInvitationId() const
Definition Workload.h:421
const Aws::Vector< Aws::String > & GetApplications() const
Definition Workload.h:481
void SetEnvironment(WorkloadEnvironment value)
Definition Workload.h:111
Workload & WithDiscoveryConfig(DiscoveryConfigT &&value)
Definition Workload.h:471
const Aws::String & GetWorkloadName() const
Definition Workload.h:77
void SetWorkloadName(WorkloadNameT &&value)
Definition Workload.h:80
Workload & WithAccountIds(AccountIdsT &&value)
Definition Workload.h:149
Workload & AddLenses(LensesT &&value)
Definition Workload.h:394
const WorkloadJiraConfigurationOutput & GetJiraConfiguration() const
Definition Workload.h:550
const Aws::String & GetOwner() const
Definition Workload.h:403
void SetRiskCounts(RiskCountsT &&value)
Definition Workload.h:341
AWS_WELLARCHITECTED_API Workload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsReviewOwnerUpdateAcknowledged() const
Definition Workload.h:262
Workload & AddRiskCounts(Risk key, int value)
Definition Workload.h:350
void SetArchitecturalDesign(ArchitecturalDesignT &&value)
Definition Workload.h:210
void SetPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
Definition Workload.h:530
Workload & WithAwsRegions(AwsRegionsT &&value)
Definition Workload.h:171
const Aws::Vector< Aws::String > & GetLenses() const
Definition Workload.h:381
const Aws::Vector< Aws::String > & GetAccountIds() const
Definition Workload.h:141
Workload & WithNonAwsRegions(NonAwsRegionsT &&value)
Definition Workload.h:193
Workload & WithWorkloadName(WorkloadNameT &&value)
Definition Workload.h:85
Workload & WithIsReviewOwnerUpdateAcknowledged(bool value)
Definition Workload.h:268
const Aws::Vector< Aws::String > & GetAwsRegions() const
Definition Workload.h:163
void SetDiscoveryConfig(DiscoveryConfigT &&value)
Definition Workload.h:466
void SetUpdatedAt(UpdatedAtT &&value)
Definition Workload.h:128
const Aws::String & GetWorkloadId() const
Definition Workload.h:45
Workload & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Workload.h:452
void SetNonAwsRegions(NonAwsRegionsT &&value)
Definition Workload.h:188
void SetReviewOwner(ReviewOwnerT &&value)
Definition Workload.h:226
Workload & WithUpdatedAt(UpdatedAtT &&value)
Definition Workload.h:133
Workload & WithReviewOwner(ReviewOwnerT &&value)
Definition Workload.h:231
void SetIndustryType(IndustryTypeT &&value)
Definition Workload.h:279
Workload & AddPillarPriorities(PillarPrioritiesT &&value)
Definition Workload.h:372
Workload & WithRiskCounts(RiskCountsT &&value)
Definition Workload.h:346
void SetPillarPriorities(PillarPrioritiesT &&value)
Definition Workload.h:362
Workload & AddAccountIds(AccountIdsT &&value)
Definition Workload.h:154
Workload & WithImprovementStatus(WorkloadImprovementStatus value)
Definition Workload.h:330
const Aws::String & GetIndustryType() const
Definition Workload.h:276
Workload & WithWorkloadArn(WorkloadArnT &&value)
Definition Workload.h:69
void SetWorkloadArn(WorkloadArnT &&value)
Definition Workload.h:64
Workload & WithPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
Definition Workload.h:535
Workload & WithOwner(OwnerT &&value)
Definition Workload.h:411
Workload & WithProfiles(ProfilesT &&value)
Definition Workload.h:513
Workload & WithReviewRestrictionDate(ReviewRestrictionDateT &&value)
Definition Workload.h:249
void SetDescription(DescriptionT &&value)
Definition Workload.h:96
Workload & WithLenses(LensesT &&value)
Definition Workload.h:389
void SetApplications(ApplicationsT &&value)
Definition Workload.h:484
Workload & WithNotes(NotesT &&value)
Definition Workload.h:316
const Aws::String & GetReviewOwner() const
Definition Workload.h:223
Workload & WithWorkloadId(WorkloadIdT &&value)
Definition Workload.h:53
Workload & AddPrioritizedRiskCounts(Risk key, int value)
Definition Workload.h:539
Workload & WithTags(TagsT &&value)
Definition Workload.h:447
void SetImprovementStatus(WorkloadImprovementStatus value)
Definition Workload.h:326
void SetIsReviewOwnerUpdateAcknowledged(bool value)
Definition Workload.h:264
const Aws::String & GetArchitecturalDesign() const
Definition Workload.h:207
void SetAwsRegions(AwsRegionsT &&value)
Definition Workload.h:166
const Aws::String & GetWorkloadArn() const
Definition Workload.h:61
const Aws::Utils::DateTime & GetReviewRestrictionDate() const
Definition Workload.h:241
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
Workload & WithEnvironment(WorkloadEnvironment value)
Definition Workload.h:115
void SetAccountIds(AccountIdsT &&value)
Definition Workload.h:144
Workload & AddNonAwsRegions(NonAwsRegionsT &&value)
Definition Workload.h:198
Workload & AddApplications(ApplicationsT &&value)
Definition Workload.h:494
void SetShareInvitationId(ShareInvitationIdT &&value)
Definition Workload.h:424
Workload & WithApplications(ApplicationsT &&value)
Definition Workload.h:489
Workload & WithArchitecturalDesign(ArchitecturalDesignT &&value)
Definition Workload.h:215
const Aws::String & GetIndustry() const
Definition Workload.h:292
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Workload.h:439
Workload & WithShareInvitationId(ShareInvitationIdT &&value)
Definition Workload.h:429
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Workload.h:125
const Aws::Vector< Aws::String > & GetPillarPriorities() const
Definition Workload.h:359
void SetLenses(LensesT &&value)
Definition Workload.h:384
Workload & AddProfiles(ProfilesT &&value)
Definition Workload.h:518
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