7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/AssessmentStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/resiliencehub/model/ComplianceStatus.h>
12#include <aws/resiliencehub/model/Cost.h>
13#include <aws/resiliencehub/model/DriftStatus.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/resiliencehub/model/AssessmentInvoker.h>
16#include <aws/resiliencehub/model/ResiliencyPolicy.h>
17#include <aws/resiliencehub/model/ResiliencyScore.h>
18#include <aws/resiliencehub/model/ResourceErrorsDetails.h>
19#include <aws/resiliencehub/model/AssessmentSummary.h>
20#include <aws/resiliencehub/model/DisruptionType.h>
21#include <aws/resiliencehub/model/DisruptionCompliance.h>
34namespace ResilienceHub
67 inline void SetAppArn(
const char* value) { m_appArnHasBeenSet =
true; m_appArn.assign(value); }
81 inline void SetAppVersion(
const char* value) { m_appVersionHasBeenSet =
true; m_appVersion.assign(value); }
100 inline void SetAssessmentArn(
const char* value) { m_assessmentArnHasBeenSet =
true; m_assessmentArn.assign(value); }
114 inline void SetAssessmentName(
const char* value) { m_assessmentNameHasBeenSet =
true; m_assessmentName.assign(value); }
166 inline void SetCost(
const Cost& value) { m_costHasBeenSet =
true; m_cost = value; }
167 inline void SetCost(
Cost&& value) { m_costHasBeenSet =
true; m_cost = std::move(value); }
217 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
304 inline AppAssessment&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
315 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
323 bool m_appArnHasBeenSet =
false;
326 bool m_appVersionHasBeenSet =
false;
329 bool m_assessmentArnHasBeenSet =
false;
332 bool m_assessmentNameHasBeenSet =
false;
335 bool m_assessmentStatusHasBeenSet =
false;
338 bool m_complianceHasBeenSet =
false;
341 bool m_complianceStatusHasBeenSet =
false;
344 bool m_costHasBeenSet =
false;
347 bool m_driftStatusHasBeenSet =
false;
350 bool m_endTimeHasBeenSet =
false;
353 bool m_invokerHasBeenSet =
false;
356 bool m_messageHasBeenSet =
false;
359 bool m_policyHasBeenSet =
false;
362 bool m_resiliencyScoreHasBeenSet =
false;
365 bool m_resourceErrorsDetailsHasBeenSet =
false;
368 bool m_startTimeHasBeenSet =
false;
371 bool m_summaryHasBeenSet =
false;
374 bool m_tagsHasBeenSet =
false;
377 bool m_versionNameHasBeenSet =
false;
void SetAssessmentName(Aws::String &&value)
void SetAppArn(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
AppAssessment & AddTags(Aws::String &&key, const char *value)
const DriftStatus & GetDriftStatus() const
bool InvokerHasBeenSet() const
void SetCompliance(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCost(Cost &&value)
void SetAssessmentStatus(const AssessmentStatus &value)
bool TagsHasBeenSet() const
void SetAssessmentName(const Aws::String &value)
AppAssessment & WithCost(const Cost &value)
AppAssessment & WithStartTime(const Aws::Utils::DateTime &value)
void SetInvoker(AssessmentInvoker &&value)
bool MessageHasBeenSet() const
bool DriftStatusHasBeenSet() const
const Aws::String & GetAssessmentArn() const
const ResiliencyPolicy & GetPolicy() const
const ComplianceStatus & GetComplianceStatus() const
void SetResourceErrorsDetails(const ResourceErrorsDetails &value)
bool ResourceErrorsDetailsHasBeenSet() const
void SetEndTime(Aws::Utils::DateTime &&value)
void SetCost(const Cost &value)
AppAssessment & AddCompliance(const DisruptionType &key, const DisruptionCompliance &value)
AppAssessment & WithCompliance(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
const ResourceErrorsDetails & GetResourceErrorsDetails() const
const Aws::String & GetMessage() const
AppAssessment & WithPolicy(const ResiliencyPolicy &value)
void SetAppVersion(Aws::String &&value)
AppAssessment & AddCompliance(const DisruptionType &key, DisruptionCompliance &&value)
void SetMessage(const char *value)
void SetResiliencyScore(ResiliencyScore &&value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetCompliance() const
AppAssessment & AddTags(const Aws::String &key, const Aws::String &value)
void SetDriftStatus(DriftStatus &&value)
AppAssessment & WithAssessmentStatus(const AssessmentStatus &value)
void SetComplianceStatus(const ComplianceStatus &value)
AppAssessment & WithAssessmentArn(const char *value)
void SetSummary(const AssessmentSummary &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetPolicy(ResiliencyPolicy &&value)
void SetMessage(const Aws::String &value)
AppAssessment & AddCompliance(DisruptionType &&key, DisruptionCompliance &&value)
const ResiliencyScore & GetResiliencyScore() const
bool AssessmentStatusHasBeenSet() const
AppAssessment & WithEndTime(Aws::Utils::DateTime &&value)
AppAssessment & WithAppVersion(const char *value)
AppAssessment & WithAssessmentName(const Aws::String &value)
AppAssessment & WithResiliencyScore(ResiliencyScore &&value)
const AssessmentSummary & GetSummary() const
const Aws::String & GetAppVersion() const
bool VersionNameHasBeenSet() const
AppAssessment & WithVersionName(const char *value)
AppAssessment & AddTags(const char *key, Aws::String &&value)
AppAssessment & WithComplianceStatus(ComplianceStatus &&value)
AppAssessment & AddTags(Aws::String &&key, const Aws::String &value)
AppAssessment & WithInvoker(const AssessmentInvoker &value)
AWS_RESILIENCEHUB_API AppAssessment()
AppAssessment & WithComplianceStatus(const ComplianceStatus &value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetAppArn() const
bool AssessmentArnHasBeenSet() const
AppAssessment & WithAssessmentName(Aws::String &&value)
AppAssessment & WithAppVersion(const Aws::String &value)
bool ResiliencyScoreHasBeenSet() const
AppAssessment & WithCost(Cost &&value)
AppAssessment & WithAppArn(const char *value)
AppAssessment & WithMessage(const Aws::String &value)
AppAssessment & WithEndTime(const Aws::Utils::DateTime &value)
AppAssessment & WithResourceErrorsDetails(ResourceErrorsDetails &&value)
void SetAssessmentArn(Aws::String &&value)
void SetResiliencyScore(const ResiliencyScore &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AppAssessment & WithPolicy(ResiliencyPolicy &&value)
AppAssessment & AddTags(const Aws::String &key, Aws::String &&value)
void SetResourceErrorsDetails(ResourceErrorsDetails &&value)
AppAssessment & WithVersionName(Aws::String &&value)
bool PolicyHasBeenSet() const
void SetDriftStatus(const DriftStatus &value)
AppAssessment & WithMessage(const char *value)
AppAssessment & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAssessmentName() const
const Aws::String & GetVersionName() const
bool AppArnHasBeenSet() const
const Cost & GetCost() const
AppAssessment & WithAppVersion(Aws::String &&value)
void SetAppArn(Aws::String &&value)
bool CostHasBeenSet() const
AppAssessment & WithAssessmentArn(Aws::String &&value)
AppAssessment & WithAssessmentStatus(AssessmentStatus &&value)
void SetSummary(AssessmentSummary &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ComplianceHasBeenSet() const
AppAssessment & WithAppArn(Aws::String &&value)
AppAssessment & WithSummary(AssessmentSummary &&value)
AppAssessment & WithResourceErrorsDetails(const ResourceErrorsDetails &value)
void SetAssessmentArn(const char *value)
const AssessmentStatus & GetAssessmentStatus() const
AppAssessment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AppAssessment & WithAssessmentArn(const Aws::String &value)
bool SummaryHasBeenSet() const
void SetAppVersion(const Aws::String &value)
AppAssessment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool AppVersionHasBeenSet() const
AppAssessment & AddTags(Aws::String &&key, Aws::String &&value)
void SetVersionName(const char *value)
AppAssessment & WithDriftStatus(DriftStatus &&value)
bool EndTimeHasBeenSet() const
AppAssessment & WithDriftStatus(const DriftStatus &value)
void SetAssessmentStatus(AssessmentStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
AppAssessment & AddCompliance(DisruptionType &&key, const DisruptionCompliance &value)
AWS_RESILIENCEHUB_API AppAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceStatus(ComplianceStatus &&value)
void SetAssessmentArn(const Aws::String &value)
void SetAppVersion(const char *value)
void SetAssessmentName(const char *value)
void SetInvoker(const AssessmentInvoker &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCompliance(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
AppAssessment & WithMessage(Aws::String &&value)
bool AssessmentNameHasBeenSet() const
void SetVersionName(const Aws::String &value)
AppAssessment & WithInvoker(AssessmentInvoker &&value)
void SetPolicy(const ResiliencyPolicy &value)
AppAssessment & WithSummary(const AssessmentSummary &value)
AppAssessment & WithVersionName(const Aws::String &value)
AppAssessment & WithCompliance(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
bool ComplianceStatusHasBeenSet() const
void SetVersionName(Aws::String &&value)
const AssessmentInvoker & GetInvoker() const
AppAssessment & WithAppArn(const Aws::String &value)
bool StartTimeHasBeenSet() const
AWS_RESILIENCEHUB_API AppAssessment(Aws::Utils::Json::JsonView jsonValue)
AppAssessment & WithResiliencyScore(const ResiliencyScore &value)
void SetAppArn(const Aws::String &value)
void SetMessage(Aws::String &&value)
AppAssessment & WithAssessmentName(const char *value)
AppAssessment & AddTags(const char *key, const char *value)
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