7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/MetricType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/wellarchitected/model/Risk.h>
14#include <aws/wellarchitected/model/LensMetric.h>
27namespace WellArchitected
78 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
90 inline void SetWorkloadName(
const char* value) { m_workloadNameHasBeenSet =
true; m_workloadName.assign(value); }
102 inline void SetWorkloadArn(
const char* value) { m_workloadArnHasBeenSet =
true; m_workloadArn.assign(value); }
138 inline void SetLensesAppliedCount(
int value) { m_lensesAppliedCountHasBeenSet =
true; m_lensesAppliedCount = value; }
144 bool m_metricTypeHasBeenSet =
false;
147 bool m_riskCountsHasBeenSet =
false;
150 bool m_workloadIdHasBeenSet =
false;
153 bool m_workloadNameHasBeenSet =
false;
156 bool m_workloadArnHasBeenSet =
false;
159 bool m_updatedAtHasBeenSet =
false;
162 bool m_lensesHasBeenSet =
false;
164 int m_lensesAppliedCount;
165 bool m_lensesAppliedCountHasBeenSet =
false;
const Aws::String & GetWorkloadArn() const
bool LensesAppliedCountHasBeenSet() const
ConsolidatedReportMetric & AddRiskCounts(const Risk &key, int value)
void SetMetricType(MetricType &&value)
ConsolidatedReportMetric & WithWorkloadId(Aws::String &&value)
const Aws::String & GetWorkloadName() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
bool LensesHasBeenSet() const
ConsolidatedReportMetric & WithWorkloadArn(const Aws::String &value)
void SetWorkloadId(Aws::String &&value)
AWS_WELLARCHITECTED_API ConsolidatedReportMetric()
ConsolidatedReportMetric & WithLensesAppliedCount(int value)
void SetRiskCounts(Aws::Map< Risk, int > &&value)
AWS_WELLARCHITECTED_API ConsolidatedReportMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
ConsolidatedReportMetric & WithWorkloadArn(Aws::String &&value)
ConsolidatedReportMetric & WithRiskCounts(const Aws::Map< Risk, int > &value)
const Aws::Vector< LensMetric > & GetLenses() const
int GetLensesAppliedCount() const
ConsolidatedReportMetric & WithWorkloadId(const Aws::String &value)
ConsolidatedReportMetric & AddRiskCounts(Risk &&key, int value)
ConsolidatedReportMetric & WithLenses(const Aws::Vector< LensMetric > &value)
const MetricType & GetMetricType() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ConsolidatedReportMetric & WithMetricType(const MetricType &value)
void SetWorkloadId(const char *value)
void SetLensesAppliedCount(int value)
void SetWorkloadName(const char *value)
bool WorkloadIdHasBeenSet() const
AWS_WELLARCHITECTED_API ConsolidatedReportMetric(Aws::Utils::Json::JsonView jsonValue)
ConsolidatedReportMetric & WithWorkloadArn(const char *value)
void SetWorkloadArn(const Aws::String &value)
bool WorkloadNameHasBeenSet() const
bool RiskCountsHasBeenSet() const
ConsolidatedReportMetric & WithWorkloadName(const char *value)
void SetWorkloadArn(const char *value)
void SetLenses(const Aws::Vector< LensMetric > &value)
ConsolidatedReportMetric & WithWorkloadId(const char *value)
void SetWorkloadId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetWorkloadId() const
ConsolidatedReportMetric & AddLenses(const LensMetric &value)
bool UpdatedAtHasBeenSet() const
ConsolidatedReportMetric & AddLenses(LensMetric &&value)
bool MetricTypeHasBeenSet() const
void SetMetricType(const MetricType &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetWorkloadArn(Aws::String &&value)
void SetRiskCounts(const Aws::Map< Risk, int > &value)
void SetWorkloadName(Aws::String &&value)
ConsolidatedReportMetric & WithLenses(Aws::Vector< LensMetric > &&value)
void SetLenses(Aws::Vector< LensMetric > &&value)
void SetWorkloadName(const Aws::String &value)
const Aws::Map< Risk, int > & GetRiskCounts() const
ConsolidatedReportMetric & WithWorkloadName(Aws::String &&value)
ConsolidatedReportMetric & WithWorkloadName(const Aws::String &value)
ConsolidatedReportMetric & WithUpdatedAt(Aws::Utils::DateTime &&value)
ConsolidatedReportMetric & WithMetricType(MetricType &&value)
ConsolidatedReportMetric & WithUpdatedAt(const Aws::Utils::DateTime &value)
ConsolidatedReportMetric & WithRiskCounts(Aws::Map< Risk, int > &&value)
bool WorkloadArnHasBeenSet() 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