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/LensStatus.h>
13#include <aws/wellarchitected/model/Risk.h>
14#include <aws/wellarchitected/model/WorkloadProfile.h>
25namespace WellArchitected {
44 template <
typename LensAliasT = Aws::String>
46 m_lensAliasHasBeenSet =
true;
47 m_lensAlias = std::forward<LensAliasT>(value);
49 template <
typename LensAliasT = Aws::String>
62 template <
typename LensArnT = Aws::String>
64 m_lensArnHasBeenSet =
true;
65 m_lensArn = std::forward<LensArnT>(value);
67 template <
typename LensArnT = Aws::String>
80 template <
typename LensVersionT = Aws::String>
82 m_lensVersionHasBeenSet =
true;
83 m_lensVersion = std::forward<LensVersionT>(value);
85 template <
typename LensVersionT = Aws::String>
96 template <
typename LensNameT = Aws::String>
98 m_lensNameHasBeenSet =
true;
99 m_lensName = std::forward<LensNameT>(value);
101 template <
typename LensNameT = Aws::String>
115 m_lensStatusHasBeenSet =
true;
116 m_lensStatus = value;
128 template <
typename UpdatedAtT = Aws::Utils::DateTime>
130 m_updatedAtHasBeenSet =
true;
131 m_updatedAt = std::forward<UpdatedAtT>(value);
133 template <
typename UpdatedAtT = Aws::Utils::DateTime>
144 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
146 m_riskCountsHasBeenSet =
true;
147 m_riskCounts = std::forward<RiskCountsT>(value);
149 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
155 m_riskCountsHasBeenSet =
true;
156 m_riskCounts.emplace(key, value);
167 template <
typename ProfilesT = Aws::Vector<WorkloadProfile>>
169 m_profilesHasBeenSet =
true;
170 m_profiles = std::forward<ProfilesT>(value);
172 template <
typename ProfilesT = Aws::Vector<WorkloadProfile>>
177 template <
typename ProfilesT = WorkloadProfile>
179 m_profilesHasBeenSet =
true;
180 m_profiles.emplace_back(std::forward<ProfilesT>(value));
189 template <
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
191 m_prioritizedRiskCountsHasBeenSet =
true;
192 m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value);
194 template <
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
200 m_prioritizedRiskCountsHasBeenSet =
true;
201 m_prioritizedRiskCounts.emplace(key, value);
223 bool m_lensAliasHasBeenSet =
false;
224 bool m_lensArnHasBeenSet =
false;
225 bool m_lensVersionHasBeenSet =
false;
226 bool m_lensNameHasBeenSet =
false;
227 bool m_lensStatusHasBeenSet =
false;
228 bool m_updatedAtHasBeenSet =
false;
229 bool m_riskCountsHasBeenSet =
false;
230 bool m_profilesHasBeenSet =
false;
231 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