7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/wellarchitected/model/PillarMetric.h>
12#include <aws/wellarchitected/model/Risk.h>
25namespace WellArchitected
52 inline void SetLensArn(
const char* value) { m_lensArnHasBeenSet =
true; m_lensArn.assign(value); }
80 inline LensMetric&
AddRiskCounts(
const Risk& key,
int value) { m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this; }
81 inline LensMetric&
AddRiskCounts(
Risk&& key,
int value) { m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(std::move(key), value);
return *
this; }
86 bool m_lensArnHasBeenSet =
false;
89 bool m_pillarsHasBeenSet =
false;
92 bool m_riskCountsHasBeenSet =
false;
void SetPillars(const Aws::Vector< PillarMetric > &value)
LensMetric & AddRiskCounts(const Risk &key, int value)
void SetRiskCounts(Aws::Map< Risk, int > &&value)
void SetLensArn(const Aws::String &value)
LensMetric & WithRiskCounts(Aws::Map< Risk, int > &&value)
AWS_WELLARCHITECTED_API LensMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
LensMetric & WithPillars(const Aws::Vector< PillarMetric > &value)
const Aws::Map< Risk, int > & GetRiskCounts() const
bool PillarsHasBeenSet() const
LensMetric & WithPillars(Aws::Vector< PillarMetric > &&value)
AWS_WELLARCHITECTED_API LensMetric()
LensMetric & AddRiskCounts(Risk &&key, int value)
LensMetric & WithLensArn(const char *value)
const Aws::Vector< PillarMetric > & GetPillars() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLensArn(Aws::String &&value)
LensMetric & AddPillars(const PillarMetric &value)
void SetPillars(Aws::Vector< PillarMetric > &&value)
LensMetric & WithLensArn(const Aws::String &value)
AWS_WELLARCHITECTED_API LensMetric(Aws::Utils::Json::JsonView jsonValue)
void SetRiskCounts(const Aws::Map< Risk, int > &value)
LensMetric & AddPillars(PillarMetric &&value)
bool LensArnHasBeenSet() const
LensMetric & WithRiskCounts(const Aws::Map< Risk, int > &value)
LensMetric & WithLensArn(Aws::String &&value)
bool RiskCountsHasBeenSet() const
void SetLensArn(const char *value)
const Aws::String & GetLensArn() const
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