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/WorkloadImprovementStatus.h>
14#include <aws/wellarchitected/model/WorkloadProfile.h>
25namespace WellArchitected {
44 template <
typename WorkloadIdT = Aws::String>
46 m_workloadIdHasBeenSet =
true;
47 m_workloadId = std::forward<WorkloadIdT>(value);
49 template <
typename WorkloadIdT = Aws::String>
60 template <
typename WorkloadArnT = Aws::String>
62 m_workloadArnHasBeenSet =
true;
63 m_workloadArn = std::forward<WorkloadArnT>(value);
65 template <
typename WorkloadArnT = Aws::String>
76 template <
typename WorkloadNameT = Aws::String>
78 m_workloadNameHasBeenSet =
true;
79 m_workloadName = std::forward<WorkloadNameT>(value);
81 template <
typename WorkloadNameT = Aws::String>
92 template <
typename OwnerT = Aws::String>
94 m_ownerHasBeenSet =
true;
95 m_owner = std::forward<OwnerT>(value);
97 template <
typename OwnerT = Aws::String>
99 SetOwner(std::forward<OwnerT>(value));
110 template <
typename UpdatedAtT = Aws::Utils::DateTime>
112 m_updatedAtHasBeenSet =
true;
113 m_updatedAt = std::forward<UpdatedAtT>(value);
115 template <
typename UpdatedAtT = Aws::Utils::DateTime>
126 template <
typename LensesT = Aws::Vector<Aws::String>>
128 m_lensesHasBeenSet =
true;
129 m_lenses = std::forward<LensesT>(value);
131 template <
typename LensesT = Aws::Vector<Aws::String>>
136 template <
typename LensesT = Aws::String>
138 m_lensesHasBeenSet =
true;
139 m_lenses.emplace_back(std::forward<LensesT>(value));
148 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
150 m_riskCountsHasBeenSet =
true;
151 m_riskCounts = std::forward<RiskCountsT>(value);
153 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
159 m_riskCountsHasBeenSet =
true;
160 m_riskCounts.emplace(key, value);
170 m_improvementStatusHasBeenSet =
true;
171 m_improvementStatus = value;
185 template <
typename ProfilesT = Aws::Vector<WorkloadProfile>>
187 m_profilesHasBeenSet =
true;
188 m_profiles = std::forward<ProfilesT>(value);
190 template <
typename ProfilesT = Aws::Vector<WorkloadProfile>>
195 template <
typename ProfilesT = WorkloadProfile>
197 m_profilesHasBeenSet =
true;
198 m_profiles.emplace_back(std::forward<ProfilesT>(value));
207 template <
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
209 m_prioritizedRiskCountsHasBeenSet =
true;
210 m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value);
212 template <
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
218 m_prioritizedRiskCountsHasBeenSet =
true;
219 m_prioritizedRiskCounts.emplace(key, value);
243 bool m_workloadIdHasBeenSet =
false;
244 bool m_workloadArnHasBeenSet =
false;
245 bool m_workloadNameHasBeenSet =
false;
246 bool m_ownerHasBeenSet =
false;
247 bool m_updatedAtHasBeenSet =
false;
248 bool m_lensesHasBeenSet =
false;
249 bool m_riskCountsHasBeenSet =
false;
250 bool m_improvementStatusHasBeenSet =
false;
251 bool m_profilesHasBeenSet =
false;
252 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