7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/resiliencehub/model/ResiliencyScoreType.h>
10#include <aws/resiliencehub/model/ScoringComponentResiliencyScore.h>
11#include <aws/resiliencehub/model/DisruptionType.h>
24namespace ResilienceHub
81 inline double GetScore()
const{
return m_score; }
83 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
89 bool m_componentScoreHasBeenSet =
false;
92 bool m_disruptionScoreHasBeenSet =
false;
95 bool m_scoreHasBeenSet =
false;
ResiliencyScore & AddDisruptionScore(const DisruptionType &key, double value)
void SetScore(double value)
ResiliencyScore & WithComponentScore(const Aws::Map< ResiliencyScoreType, ScoringComponentResiliencyScore > &value)
const Aws::Map< DisruptionType, double > & GetDisruptionScore() const
bool ComponentScoreHasBeenSet() const
void SetDisruptionScore(Aws::Map< DisruptionType, double > &&value)
void SetComponentScore(Aws::Map< ResiliencyScoreType, ScoringComponentResiliencyScore > &&value)
ResiliencyScore & AddDisruptionScore(DisruptionType &&key, double value)
ResiliencyScore & AddComponentScore(ResiliencyScoreType &&key, const ScoringComponentResiliencyScore &value)
ResiliencyScore & WithScore(double value)
ResiliencyScore & WithDisruptionScore(Aws::Map< DisruptionType, double > &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDisruptionScore(const Aws::Map< DisruptionType, double > &value)
bool DisruptionScoreHasBeenSet() const
AWS_RESILIENCEHUB_API ResiliencyScore & operator=(Aws::Utils::Json::JsonView jsonValue)
ResiliencyScore & AddComponentScore(const ResiliencyScoreType &key, ScoringComponentResiliencyScore &&value)
ResiliencyScore & WithComponentScore(Aws::Map< ResiliencyScoreType, ScoringComponentResiliencyScore > &&value)
AWS_RESILIENCEHUB_API ResiliencyScore(Aws::Utils::Json::JsonView jsonValue)
bool ScoreHasBeenSet() const
ResiliencyScore & AddComponentScore(const ResiliencyScoreType &key, const ScoringComponentResiliencyScore &value)
AWS_RESILIENCEHUB_API ResiliencyScore()
ResiliencyScore & WithDisruptionScore(const Aws::Map< DisruptionType, double > &value)
const Aws::Map< ResiliencyScoreType, ScoringComponentResiliencyScore > & GetComponentScore() const
void SetComponentScore(const Aws::Map< ResiliencyScoreType, ScoringComponentResiliencyScore > &value)
ResiliencyScore & AddComponentScore(ResiliencyScoreType &&key, ScoringComponentResiliencyScore &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue