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));
108 template <
typename UpdatedAtT = Aws::Utils::DateTime>
110 m_updatedAtHasBeenSet =
true;
111 m_updatedAt = std::forward<UpdatedAtT>(value);
113 template <
typename UpdatedAtT = Aws::Utils::DateTime>
124 template <
typename LensesT = Aws::Vector<Aws::String>>
126 m_lensesHasBeenSet =
true;
127 m_lenses = std::forward<LensesT>(value);
129 template <
typename LensesT = Aws::Vector<Aws::String>>
134 template <
typename LensesT = Aws::String>
136 m_lensesHasBeenSet =
true;
137 m_lenses.emplace_back(std::forward<LensesT>(value));
146 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
148 m_riskCountsHasBeenSet =
true;
149 m_riskCounts = std::forward<RiskCountsT>(value);
151 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
157 m_riskCountsHasBeenSet =
true;
158 m_riskCounts.emplace(key, value);
168 m_improvementStatusHasBeenSet =
true;
169 m_improvementStatus = value;
183 template <
typename ProfilesT = Aws::Vector<WorkloadProfile>>
185 m_profilesHasBeenSet =
true;
186 m_profiles = std::forward<ProfilesT>(value);
188 template <
typename ProfilesT = Aws::Vector<WorkloadProfile>>
193 template <
typename ProfilesT = WorkloadProfile>
195 m_profilesHasBeenSet =
true;
196 m_profiles.emplace_back(std::forward<ProfilesT>(value));
205 template <
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
207 m_prioritizedRiskCountsHasBeenSet =
true;
208 m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value);
210 template <
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
216 m_prioritizedRiskCountsHasBeenSet =
true;
217 m_prioritizedRiskCounts.emplace(key, value);
241 bool m_workloadIdHasBeenSet =
false;
242 bool m_workloadArnHasBeenSet =
false;
243 bool m_workloadNameHasBeenSet =
false;
244 bool m_ownerHasBeenSet =
false;
245 bool m_updatedAtHasBeenSet =
false;
246 bool m_lensesHasBeenSet =
false;
247 bool m_riskCountsHasBeenSet =
false;
248 bool m_improvementStatusHasBeenSet =
false;
249 bool m_profilesHasBeenSet =
false;
250 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