7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/resiliencehub/model/Cost.h>
11#include <aws/resiliencehub/model/ResiliencyScore.h>
12#include <aws/resiliencehub/model/ComplianceStatus.h>
13#include <aws/resiliencehub/model/DisruptionType.h>
14#include <aws/resiliencehub/model/DisruptionCompliance.h>
27namespace ResilienceHub
55 inline void SetAppComponentName(
const char* value) { m_appComponentNameHasBeenSet =
true; m_appComponentName.assign(value); }
84 inline void SetCost(
const Cost& value) { m_costHasBeenSet =
true; m_cost = value; }
85 inline void SetCost(
Cost&& value) { m_costHasBeenSet =
true; m_cost = std::move(value); }
98 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
130 bool m_appComponentNameHasBeenSet =
false;
133 bool m_complianceHasBeenSet =
false;
136 bool m_costHasBeenSet =
false;
139 bool m_messageHasBeenSet =
false;
142 bool m_resiliencyScoreHasBeenSet =
false;
145 bool m_statusHasBeenSet =
false;
const Cost & GetCost() const
AppComponentCompliance & AddCompliance(const DisruptionType &key, const DisruptionCompliance &value)
void SetCompliance(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
void SetCost(Cost &&value)
void SetResiliencyScore(const ResiliencyScore &value)
AppComponentCompliance & WithCompliance(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
AppComponentCompliance & WithAppComponentName(Aws::String &&value)
AppComponentCompliance & WithCost(const Cost &value)
AppComponentCompliance & WithMessage(const char *value)
AppComponentCompliance & WithMessage(Aws::String &&value)
AppComponentCompliance & WithAppComponentName(const Aws::String &value)
void SetStatus(const ComplianceStatus &value)
AppComponentCompliance & WithCompliance(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
AWS_RESILIENCEHUB_API AppComponentCompliance()
void SetMessage(const char *value)
void SetAppComponentName(Aws::String &&value)
bool AppComponentNameHasBeenSet() const
void SetMessage(Aws::String &&value)
void SetStatus(ComplianceStatus &&value)
void SetCompliance(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
AWS_RESILIENCEHUB_API AppComponentCompliance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API AppComponentCompliance(Aws::Utils::Json::JsonView jsonValue)
void SetCost(const Cost &value)
void SetResiliencyScore(ResiliencyScore &&value)
AppComponentCompliance & WithMessage(const Aws::String &value)
const Aws::String & GetAppComponentName() const
void SetAppComponentName(const Aws::String &value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetCompliance() const
AppComponentCompliance & AddCompliance(DisruptionType &&key, const DisruptionCompliance &value)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AppComponentCompliance & WithResiliencyScore(ResiliencyScore &&value)
AppComponentCompliance & WithAppComponentName(const char *value)
AppComponentCompliance & AddCompliance(DisruptionType &&key, DisruptionCompliance &&value)
void SetAppComponentName(const char *value)
bool ComplianceHasBeenSet() const
AppComponentCompliance & WithStatus(ComplianceStatus &&value)
void SetMessage(const Aws::String &value)
const ResiliencyScore & GetResiliencyScore() const
bool StatusHasBeenSet() const
AppComponentCompliance & AddCompliance(const DisruptionType &key, DisruptionCompliance &&value)
AppComponentCompliance & WithStatus(const ComplianceStatus &value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppComponentCompliance & WithResiliencyScore(const ResiliencyScore &value)
AppComponentCompliance & WithCost(Cost &&value)
bool ResiliencyScoreHasBeenSet() const
const ComplianceStatus & GetStatus() const
bool CostHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue