7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/wellarchitected/model/WorkloadImprovementStatus.h>
13#include <aws/wellarchitected/model/Risk.h>
14#include <aws/wellarchitected/model/WorkloadProfile.h>
27namespace WellArchitected
50 template<
typename WorkloadIdT = Aws::String>
51 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet =
true; m_workloadId = std::forward<WorkloadIdT>(value); }
52 template<
typename WorkloadIdT = Aws::String>
60 template<
typename WorkloadArnT = Aws::String>
61 void SetWorkloadArn(WorkloadArnT&& value) { m_workloadArnHasBeenSet =
true; m_workloadArn = std::forward<WorkloadArnT>(value); }
62 template<
typename WorkloadArnT = Aws::String>
70 template<
typename WorkloadNameT = Aws::String>
71 void SetWorkloadName(WorkloadNameT&& value) { m_workloadNameHasBeenSet =
true; m_workloadName = std::forward<WorkloadNameT>(value); }
72 template<
typename WorkloadNameT = Aws::String>
80 template<
typename OwnerT = Aws::String>
81 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
82 template<
typename OwnerT = Aws::String>
90 template<
typename UpdatedAtT = Aws::Utils::DateTime>
91 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
92 template<
typename UpdatedAtT = Aws::Utils::DateTime>
100 template<
typename LensesT = Aws::Vector<Aws::String>>
101 void SetLenses(LensesT&& value) { m_lensesHasBeenSet =
true; m_lenses = std::forward<LensesT>(value); }
102 template<
typename LensesT = Aws::Vector<Aws::String>>
104 template<
typename LensesT = Aws::String>
105 WorkloadSummary&
AddLenses(LensesT&& value) { m_lensesHasBeenSet =
true; m_lenses.emplace_back(std::forward<LensesT>(value));
return *
this; }
112 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
113 void SetRiskCounts(RiskCountsT&& value) { m_riskCountsHasBeenSet =
true; m_riskCounts = std::forward<RiskCountsT>(value); }
114 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
117 m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this;
135 template<
typename ProfilesT = Aws::Vector<WorkloadProfile>>
136 void SetProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles = std::forward<ProfilesT>(value); }
137 template<
typename ProfilesT = Aws::Vector<WorkloadProfile>>
139 template<
typename ProfilesT = WorkloadProfile>
140 WorkloadSummary&
AddProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles.emplace_back(std::forward<ProfilesT>(value));
return *
this; }
147 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
148 void SetPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) { m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value); }
149 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
152 m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts.emplace(key, value);
return *
this;
158 bool m_workloadIdHasBeenSet =
false;
161 bool m_workloadArnHasBeenSet =
false;
164 bool m_workloadNameHasBeenSet =
false;
167 bool m_ownerHasBeenSet =
false;
170 bool m_updatedAtHasBeenSet =
false;
173 bool m_lensesHasBeenSet =
false;
176 bool m_riskCountsHasBeenSet =
false;
179 bool m_improvementStatusHasBeenSet =
false;
182 bool m_profilesHasBeenSet =
false;
185 bool m_prioritizedRiskCountsHasBeenSet =
false;
const Aws::String & GetWorkloadArn() const
const Aws::String & GetWorkloadId() const
const Aws::Vector< Aws::String > & GetLenses() const
const Aws::String & GetWorkloadName() const
WorkloadSummary & WithOwner(OwnerT &&value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
bool WorkloadArnHasBeenSet() const
WorkloadSummary & WithImprovementStatus(WorkloadImprovementStatus value)
bool UpdatedAtHasBeenSet() const
void SetLenses(LensesT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< WorkloadProfile > & GetProfiles() const
WorkloadSummary & AddLenses(LensesT &&value)
void SetImprovementStatus(WorkloadImprovementStatus value)
WorkloadSummary & AddRiskCounts(Risk key, int value)
bool RiskCountsHasBeenSet() const
WorkloadSummary & WithWorkloadArn(WorkloadArnT &&value)
WorkloadSummary & WithWorkloadId(WorkloadIdT &&value)
WorkloadSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetOwner(OwnerT &&value)
WorkloadSummary & AddPrioritizedRiskCounts(Risk key, int value)
WorkloadSummary & WithLenses(LensesT &&value)
WorkloadSummary & AddProfiles(ProfilesT &&value)
void SetRiskCounts(RiskCountsT &&value)
void SetProfiles(ProfilesT &&value)
bool ImprovementStatusHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
WorkloadImprovementStatus GetImprovementStatus() const
WorkloadSummary & WithWorkloadName(WorkloadNameT &&value)
AWS_WELLARCHITECTED_API WorkloadSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkloadSummary & WithPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
void SetWorkloadName(WorkloadNameT &&value)
const Aws::String & GetOwner() const
bool WorkloadIdHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool PrioritizedRiskCountsHasBeenSet() const
void SetPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
AWS_WELLARCHITECTED_API WorkloadSummary(Aws::Utils::Json::JsonView jsonValue)
bool ProfilesHasBeenSet() const
const Aws::Map< Risk, int > & GetRiskCounts() const
AWS_WELLARCHITECTED_API WorkloadSummary()=default
bool OwnerHasBeenSet() const
bool LensesHasBeenSet() const
WorkloadSummary & WithProfiles(ProfilesT &&value)
void SetWorkloadArn(WorkloadArnT &&value)
WorkloadSummary & WithRiskCounts(RiskCountsT &&value)
bool WorkloadNameHasBeenSet() const
void SetWorkloadId(WorkloadIdT &&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