7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/LensStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/wellarchitected/model/Risk.h>
14#include <aws/wellarchitected/model/WorkloadProfile.h>
27namespace WellArchitected
50 template<
typename LensAliasT = Aws::String>
51 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet =
true; m_lensAlias = std::forward<LensAliasT>(value); }
52 template<
typename LensAliasT = Aws::String>
62 template<
typename LensArnT = Aws::String>
63 void SetLensArn(LensArnT&& value) { m_lensArnHasBeenSet =
true; m_lensArn = std::forward<LensArnT>(value); }
64 template<
typename LensArnT = Aws::String>
74 template<
typename LensVersionT = Aws::String>
75 void SetLensVersion(LensVersionT&& value) { m_lensVersionHasBeenSet =
true; m_lensVersion = std::forward<LensVersionT>(value); }
76 template<
typename LensVersionT = Aws::String>
84 template<
typename LensNameT = Aws::String>
85 void SetLensName(LensNameT&& value) { m_lensNameHasBeenSet =
true; m_lensName = std::forward<LensNameT>(value); }
86 template<
typename LensNameT = Aws::String>
104 template<
typename UpdatedAtT = Aws::Utils::DateTime>
105 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
106 template<
typename UpdatedAtT = Aws::Utils::DateTime>
114 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
115 void SetRiskCounts(RiskCountsT&& value) { m_riskCountsHasBeenSet =
true; m_riskCounts = std::forward<RiskCountsT>(value); }
116 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
119 m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this;
129 template<
typename ProfilesT = Aws::Vector<WorkloadProfile>>
130 void SetProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles = std::forward<ProfilesT>(value); }
131 template<
typename ProfilesT = Aws::Vector<WorkloadProfile>>
133 template<
typename ProfilesT = WorkloadProfile>
134 LensReviewSummary&
AddProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles.emplace_back(std::forward<ProfilesT>(value));
return *
this; }
141 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
142 void SetPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) { m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value); }
143 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
146 m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts.emplace(key, value);
return *
this;
152 bool m_lensAliasHasBeenSet =
false;
155 bool m_lensArnHasBeenSet =
false;
158 bool m_lensVersionHasBeenSet =
false;
161 bool m_lensNameHasBeenSet =
false;
164 bool m_lensStatusHasBeenSet =
false;
167 bool m_updatedAtHasBeenSet =
false;
170 bool m_riskCountsHasBeenSet =
false;
173 bool m_profilesHasBeenSet =
false;
176 bool m_prioritizedRiskCountsHasBeenSet =
false;
LensReviewSummary & WithLensArn(LensArnT &&value)
LensReviewSummary & WithLensStatus(LensStatus value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< WorkloadProfile > & GetProfiles() const
LensReviewSummary & WithPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
void SetProfiles(ProfilesT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLensArn(LensArnT &&value)
void SetLensName(LensNameT &&value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
bool RiskCountsHasBeenSet() const
AWS_WELLARCHITECTED_API LensReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Risk, int > & GetRiskCounts() const
void SetLensVersion(LensVersionT &&value)
LensReviewSummary & WithLensVersion(LensVersionT &&value)
const Aws::String & GetLensArn() const
LensReviewSummary & AddProfiles(ProfilesT &&value)
LensReviewSummary & AddPrioritizedRiskCounts(Risk key, int value)
void SetLensStatus(LensStatus value)
LensReviewSummary & WithLensName(LensNameT &&value)
bool ProfilesHasBeenSet() const
void SetLensAlias(LensAliasT &&value)
LensReviewSummary & WithProfiles(ProfilesT &&value)
LensStatus GetLensStatus() const
void SetPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
const Aws::String & GetLensName() const
bool LensAliasHasBeenSet() const
bool LensVersionHasBeenSet() const
bool LensArnHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const Aws::String & GetLensAlias() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool PrioritizedRiskCountsHasBeenSet() const
LensReviewSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetLensVersion() const
LensReviewSummary & WithLensAlias(LensAliasT &&value)
void SetRiskCounts(RiskCountsT &&value)
LensReviewSummary & WithRiskCounts(RiskCountsT &&value)
bool LensStatusHasBeenSet() const
LensReviewSummary & AddRiskCounts(Risk key, int value)
bool LensNameHasBeenSet() const
AWS_WELLARCHITECTED_API LensReviewSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API LensReviewSummary()=default
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