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>
30namespace WellArchitected
53 template<
typename WorkloadIdT = Aws::String>
54 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet =
true; m_workloadId = std::forward<WorkloadIdT>(value); }
55 template<
typename WorkloadIdT = Aws::String>
63 template<
typename WorkloadArnT = Aws::String>
64 void SetWorkloadArn(WorkloadArnT&& value) { m_workloadArnHasBeenSet =
true; m_workloadArn = std::forward<WorkloadArnT>(value); }
65 template<
typename WorkloadArnT = Aws::String>
73 template<
typename WorkloadNameT = Aws::String>
74 void SetWorkloadName(WorkloadNameT&& value) { m_workloadNameHasBeenSet =
true; m_workloadName = std::forward<WorkloadNameT>(value); }
75 template<
typename WorkloadNameT = Aws::String>
83 template<
typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
85 template<
typename DescriptionT = Aws::String>
101 template<
typename UpdatedAtT = Aws::Utils::DateTime>
102 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
103 template<
typename UpdatedAtT = Aws::Utils::DateTime>
111 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
112 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
113 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
115 template<
typename AccountIdsT = Aws::String>
116 Workload&
AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
return *
this; }
123 template<
typename AwsRegionsT = Aws::Vector<Aws::String>>
124 void SetAwsRegions(AwsRegionsT&& value) { m_awsRegionsHasBeenSet =
true; m_awsRegions = std::forward<AwsRegionsT>(value); }
125 template<
typename AwsRegionsT = Aws::Vector<Aws::String>>
127 template<
typename AwsRegionsT = Aws::String>
128 Workload&
AddAwsRegions(AwsRegionsT&& value) { m_awsRegionsHasBeenSet =
true; m_awsRegions.emplace_back(std::forward<AwsRegionsT>(value));
return *
this; }
135 template<
typename NonAwsRegionsT = Aws::Vector<Aws::String>>
136 void SetNonAwsRegions(NonAwsRegionsT&& value) { m_nonAwsRegionsHasBeenSet =
true; m_nonAwsRegions = std::forward<NonAwsRegionsT>(value); }
137 template<
typename NonAwsRegionsT = Aws::Vector<Aws::String>>
139 template<
typename NonAwsRegionsT = Aws::String>
140 Workload&
AddNonAwsRegions(NonAwsRegionsT&& value) { m_nonAwsRegionsHasBeenSet =
true; m_nonAwsRegions.emplace_back(std::forward<NonAwsRegionsT>(value));
return *
this; }
147 template<
typename ArchitecturalDesignT = Aws::String>
148 void SetArchitecturalDesign(ArchitecturalDesignT&& value) { m_architecturalDesignHasBeenSet =
true; m_architecturalDesign = std::forward<ArchitecturalDesignT>(value); }
149 template<
typename ArchitecturalDesignT = Aws::String>
157 template<
typename ReviewOwnerT = Aws::String>
158 void SetReviewOwner(ReviewOwnerT&& value) { m_reviewOwnerHasBeenSet =
true; m_reviewOwner = std::forward<ReviewOwnerT>(value); }
159 template<
typename ReviewOwnerT = Aws::String>
167 template<
typename ReviewRestrictionDateT = Aws::Utils::DateTime>
168 void SetReviewRestrictionDate(ReviewRestrictionDateT&& value) { m_reviewRestrictionDateHasBeenSet =
true; m_reviewRestrictionDate = std::forward<ReviewRestrictionDateT>(value); }
169 template<
typename ReviewRestrictionDateT = Aws::Utils::DateTime>
190 template<
typename IndustryTypeT = Aws::String>
191 void SetIndustryType(IndustryTypeT&& value) { m_industryTypeHasBeenSet =
true; m_industryType = std::forward<IndustryTypeT>(value); }
192 template<
typename IndustryTypeT = Aws::String>
200 template<
typename IndustryT = Aws::String>
201 void SetIndustry(IndustryT&& value) { m_industryHasBeenSet =
true; m_industry = std::forward<IndustryT>(value); }
202 template<
typename IndustryT = Aws::String>
210 template<
typename NotesT = Aws::String>
211 void SetNotes(NotesT&& value) { m_notesHasBeenSet =
true; m_notes = std::forward<NotesT>(value); }
212 template<
typename NotesT = Aws::String>
228 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
229 void SetRiskCounts(RiskCountsT&& value) { m_riskCountsHasBeenSet =
true; m_riskCounts = std::forward<RiskCountsT>(value); }
230 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
233 m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this;
241 template<
typename PillarPrioritiesT = Aws::Vector<Aws::String>>
242 void SetPillarPriorities(PillarPrioritiesT&& value) { m_pillarPrioritiesHasBeenSet =
true; m_pillarPriorities = std::forward<PillarPrioritiesT>(value); }
243 template<
typename PillarPrioritiesT = Aws::Vector<Aws::String>>
245 template<
typename PillarPrioritiesT = Aws::String>
246 Workload&
AddPillarPriorities(PillarPrioritiesT&& value) { m_pillarPrioritiesHasBeenSet =
true; m_pillarPriorities.emplace_back(std::forward<PillarPrioritiesT>(value));
return *
this; }
253 template<
typename LensesT = Aws::Vector<Aws::String>>
254 void SetLenses(LensesT&& value) { m_lensesHasBeenSet =
true; m_lenses = std::forward<LensesT>(value); }
255 template<
typename LensesT = Aws::Vector<Aws::String>>
257 template<
typename LensesT = Aws::String>
258 Workload&
AddLenses(LensesT&& value) { m_lensesHasBeenSet =
true; m_lenses.emplace_back(std::forward<LensesT>(value));
return *
this; }
265 template<
typename OwnerT = Aws::String>
266 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
267 template<
typename OwnerT = Aws::String>
277 template<
typename ShareInvitationIdT = Aws::String>
278 void SetShareInvitationId(ShareInvitationIdT&& value) { m_shareInvitationIdHasBeenSet =
true; m_shareInvitationId = std::forward<ShareInvitationIdT>(value); }
279 template<
typename ShareInvitationIdT = Aws::String>
289 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
290 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
291 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
293 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
295 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
305 template<
typename DiscoveryConfigT = WorkloadDiscoveryConfig>
306 void SetDiscoveryConfig(DiscoveryConfigT&& value) { m_discoveryConfigHasBeenSet =
true; m_discoveryConfig = std::forward<DiscoveryConfigT>(value); }
307 template<
typename DiscoveryConfigT = WorkloadDiscoveryConfig>
317 template<
typename ApplicationsT = Aws::Vector<Aws::String>>
318 void SetApplications(ApplicationsT&& value) { m_applicationsHasBeenSet =
true; m_applications = std::forward<ApplicationsT>(value); }
319 template<
typename ApplicationsT = Aws::Vector<Aws::String>>
321 template<
typename ApplicationsT = Aws::String>
322 Workload&
AddApplications(ApplicationsT&& value) { m_applicationsHasBeenSet =
true; m_applications.emplace_back(std::forward<ApplicationsT>(value));
return *
this; }
331 template<
typename ProfilesT = Aws::Vector<WorkloadProfile>>
332 void SetProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles = std::forward<ProfilesT>(value); }
333 template<
typename ProfilesT = Aws::Vector<WorkloadProfile>>
335 template<
typename ProfilesT = WorkloadProfile>
336 Workload&
AddProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles.emplace_back(std::forward<ProfilesT>(value));
return *
this; }
343 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
344 void SetPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) { m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value); }
345 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
348 m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts.emplace(key, value);
return *
this;
358 template<
typename JiraConfigurationT = WorkloadJiraConfigurationOutput>
359 void SetJiraConfiguration(JiraConfigurationT&& value) { m_jiraConfigurationHasBeenSet =
true; m_jiraConfiguration = std::forward<JiraConfigurationT>(value); }
360 template<
typename JiraConfigurationT = WorkloadJiraConfigurationOutput>
366 bool m_workloadIdHasBeenSet =
false;
369 bool m_workloadArnHasBeenSet =
false;
372 bool m_workloadNameHasBeenSet =
false;
375 bool m_descriptionHasBeenSet =
false;
378 bool m_environmentHasBeenSet =
false;
381 bool m_updatedAtHasBeenSet =
false;
384 bool m_accountIdsHasBeenSet =
false;
387 bool m_awsRegionsHasBeenSet =
false;
390 bool m_nonAwsRegionsHasBeenSet =
false;
393 bool m_architecturalDesignHasBeenSet =
false;
396 bool m_reviewOwnerHasBeenSet =
false;
399 bool m_reviewRestrictionDateHasBeenSet =
false;
401 bool m_isReviewOwnerUpdateAcknowledged{
false};
402 bool m_isReviewOwnerUpdateAcknowledgedHasBeenSet =
false;
405 bool m_industryTypeHasBeenSet =
false;
408 bool m_industryHasBeenSet =
false;
411 bool m_notesHasBeenSet =
false;
414 bool m_improvementStatusHasBeenSet =
false;
417 bool m_riskCountsHasBeenSet =
false;
420 bool m_pillarPrioritiesHasBeenSet =
false;
423 bool m_lensesHasBeenSet =
false;
426 bool m_ownerHasBeenSet =
false;
429 bool m_shareInvitationIdHasBeenSet =
false;
432 bool m_tagsHasBeenSet =
false;
434 WorkloadDiscoveryConfig m_discoveryConfig;
435 bool m_discoveryConfigHasBeenSet =
false;
438 bool m_applicationsHasBeenSet =
false;
441 bool m_profilesHasBeenSet =
false;
444 bool m_prioritizedRiskCountsHasBeenSet =
false;
446 WorkloadJiraConfigurationOutput m_jiraConfiguration;
447 bool m_jiraConfigurationHasBeenSet =
false;
void SetProfiles(ProfilesT &&value)
bool ReviewOwnerHasBeenSet() const
const WorkloadDiscoveryConfig & GetDiscoveryConfig() const
void SetReviewRestrictionDate(ReviewRestrictionDateT &&value)
void SetJiraConfiguration(JiraConfigurationT &&value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
Workload & WithDescription(DescriptionT &&value)
Workload & WithIndustryType(IndustryTypeT &&value)
bool DiscoveryConfigHasBeenSet() const
AWS_WELLARCHITECTED_API Workload()=default
bool WorkloadNameHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetNotes() const
const Aws::Vector< Aws::String > & GetNonAwsRegions() const
WorkloadImprovementStatus GetImprovementStatus() const
bool JiraConfigurationHasBeenSet() const
Workload & AddAwsRegions(AwsRegionsT &&value)
void SetTags(TagsT &&value)
void SetIndustry(IndustryT &&value)
Workload & WithIndustry(IndustryT &&value)
Workload & WithPillarPriorities(PillarPrioritiesT &&value)
bool IndustryTypeHasBeenSet() const
AWS_WELLARCHITECTED_API Workload(Aws::Utils::Json::JsonView jsonValue)
void SetWorkloadId(WorkloadIdT &&value)
const Aws::Map< Risk, int > & GetRiskCounts() const
WorkloadEnvironment GetEnvironment() const
bool ShareInvitationIdHasBeenSet() const
bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const
bool OwnerHasBeenSet() const
Workload & WithJiraConfiguration(JiraConfigurationT &&value)
const Aws::Vector< WorkloadProfile > & GetProfiles() const
bool WorkloadIdHasBeenSet() const
const Aws::String & GetShareInvitationId() const
const Aws::Vector< Aws::String > & GetApplications() const
void SetEnvironment(WorkloadEnvironment value)
Workload & WithDiscoveryConfig(DiscoveryConfigT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetWorkloadName() const
void SetWorkloadName(WorkloadNameT &&value)
Workload & WithAccountIds(AccountIdsT &&value)
Workload & AddLenses(LensesT &&value)
bool ApplicationsHasBeenSet() const
const WorkloadJiraConfigurationOutput & GetJiraConfiguration() const
const Aws::String & GetOwner() const
void SetRiskCounts(RiskCountsT &&value)
AWS_WELLARCHITECTED_API Workload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsReviewOwnerUpdateAcknowledged() const
void SetNotes(NotesT &&value)
bool LensesHasBeenSet() const
Workload & AddRiskCounts(Risk key, int value)
void SetArchitecturalDesign(ArchitecturalDesignT &&value)
void SetPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
Workload & WithAwsRegions(AwsRegionsT &&value)
const Aws::Vector< Aws::String > & GetLenses() const
bool AccountIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAccountIds() const
Workload & WithNonAwsRegions(NonAwsRegionsT &&value)
Workload & WithWorkloadName(WorkloadNameT &&value)
Workload & WithIsReviewOwnerUpdateAcknowledged(bool value)
const Aws::Vector< Aws::String > & GetAwsRegions() const
void SetDiscoveryConfig(DiscoveryConfigT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetWorkloadId() const
Workload & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetNonAwsRegions(NonAwsRegionsT &&value)
void SetReviewOwner(ReviewOwnerT &&value)
Workload & WithUpdatedAt(UpdatedAtT &&value)
Workload & WithReviewOwner(ReviewOwnerT &&value)
void SetIndustryType(IndustryTypeT &&value)
bool PrioritizedRiskCountsHasBeenSet() const
bool NonAwsRegionsHasBeenSet() const
Workload & AddPillarPriorities(PillarPrioritiesT &&value)
bool UpdatedAtHasBeenSet() const
Workload & WithRiskCounts(RiskCountsT &&value)
void SetPillarPriorities(PillarPrioritiesT &&value)
bool IndustryHasBeenSet() const
bool RiskCountsHasBeenSet() const
Workload & AddAccountIds(AccountIdsT &&value)
bool AwsRegionsHasBeenSet() const
Workload & WithImprovementStatus(WorkloadImprovementStatus value)
const Aws::String & GetIndustryType() const
Workload & WithWorkloadArn(WorkloadArnT &&value)
void SetWorkloadArn(WorkloadArnT &&value)
Workload & WithPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
Workload & WithOwner(OwnerT &&value)
Workload & WithProfiles(ProfilesT &&value)
Workload & WithReviewRestrictionDate(ReviewRestrictionDateT &&value)
void SetDescription(DescriptionT &&value)
Workload & WithLenses(LensesT &&value)
bool PillarPrioritiesHasBeenSet() const
void SetApplications(ApplicationsT &&value)
Workload & WithNotes(NotesT &&value)
const Aws::String & GetReviewOwner() const
Workload & WithWorkloadId(WorkloadIdT &&value)
bool ProfilesHasBeenSet() const
Workload & AddPrioritizedRiskCounts(Risk key, int value)
Workload & WithTags(TagsT &&value)
void SetImprovementStatus(WorkloadImprovementStatus value)
void SetIsReviewOwnerUpdateAcknowledged(bool value)
const Aws::String & GetArchitecturalDesign() const
void SetAwsRegions(AwsRegionsT &&value)
bool ReviewRestrictionDateHasBeenSet() const
bool WorkloadArnHasBeenSet() const
bool NotesHasBeenSet() const
const Aws::String & GetWorkloadArn() const
bool EnvironmentHasBeenSet() const
const Aws::Utils::DateTime & GetReviewRestrictionDate() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
Workload & WithEnvironment(WorkloadEnvironment value)
bool ImprovementStatusHasBeenSet() const
bool TagsHasBeenSet() const
void SetAccountIds(AccountIdsT &&value)
Workload & AddNonAwsRegions(NonAwsRegionsT &&value)
Workload & AddApplications(ApplicationsT &&value)
void SetShareInvitationId(ShareInvitationIdT &&value)
Workload & WithApplications(ApplicationsT &&value)
bool ArchitecturalDesignHasBeenSet() const
Workload & WithArchitecturalDesign(ArchitecturalDesignT &&value)
void SetOwner(OwnerT &&value)
const Aws::String & GetIndustry() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Workload & WithShareInvitationId(ShareInvitationIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Vector< Aws::String > & GetPillarPriorities() const
void SetLenses(LensesT &&value)
Workload & AddProfiles(ProfilesT &&value)
WorkloadImprovementStatus
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