/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The overall resiliency score, returned as an object that includes the
* disruption score and outage score.See Also:
AWS
* API Reference
The disruption score for a valid key.
*/ inline const Aws::MapThe disruption score for a valid key.
*/ inline bool DisruptionScoreHasBeenSet() const { return m_disruptionScoreHasBeenSet; } /** *The disruption score for a valid key.
*/ inline void SetDisruptionScore(const Aws::MapThe disruption score for a valid key.
*/ inline void SetDisruptionScore(Aws::MapThe disruption score for a valid key.
*/ inline ResiliencyScore& WithDisruptionScore(const Aws::MapThe disruption score for a valid key.
*/ inline ResiliencyScore& WithDisruptionScore(Aws::MapThe disruption score for a valid key.
*/ inline ResiliencyScore& AddDisruptionScore(const DisruptionType& key, double value) { m_disruptionScoreHasBeenSet = true; m_disruptionScore.emplace(key, value); return *this; } /** *The disruption score for a valid key.
*/ inline ResiliencyScore& AddDisruptionScore(DisruptionType&& key, double value) { m_disruptionScoreHasBeenSet = true; m_disruptionScore.emplace(std::move(key), value); return *this; } /** *The outage score for a valid key.
*/ inline double GetScore() const{ return m_score; } /** *The outage score for a valid key.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The outage score for a valid key.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *The outage score for a valid key.
*/ inline ResiliencyScore& WithScore(double value) { SetScore(value); return *this;} private: Aws::Map