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/resiliencehub/model/ComplianceStatus.h>
11#include <aws/resiliencehub/model/Cost.h>
12#include <aws/resiliencehub/model/DriftStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/resiliencehub/model/AssessmentInvoker.h>
27namespace ResilienceHub
60 inline void SetAppArn(
const char* value) { m_appArnHasBeenSet =
true; m_appArn.assign(value); }
74 inline void SetAppVersion(
const char* value) { m_appVersionHasBeenSet =
true; m_appVersion.assign(value); }
93 inline void SetAssessmentArn(
const char* value) { m_assessmentArnHasBeenSet =
true; m_assessmentArn.assign(value); }
107 inline void SetAssessmentName(
const char* value) { m_assessmentNameHasBeenSet =
true; m_assessmentName.assign(value); }
143 inline void SetCost(
const Cost& value) { m_costHasBeenSet =
true; m_cost = value; }
144 inline void SetCost(
Cost&& value) { m_costHasBeenSet =
true; m_cost = std::move(value); }
194 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
206 inline void SetResiliencyScore(
double value) { m_resiliencyScoreHasBeenSet =
true; m_resiliencyScore = value; }
230 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
238 bool m_appArnHasBeenSet =
false;
241 bool m_appVersionHasBeenSet =
false;
244 bool m_assessmentArnHasBeenSet =
false;
247 bool m_assessmentNameHasBeenSet =
false;
250 bool m_assessmentStatusHasBeenSet =
false;
253 bool m_complianceStatusHasBeenSet =
false;
256 bool m_costHasBeenSet =
false;
259 bool m_driftStatusHasBeenSet =
false;
262 bool m_endTimeHasBeenSet =
false;
265 bool m_invokerHasBeenSet =
false;
268 bool m_messageHasBeenSet =
false;
270 double m_resiliencyScore;
271 bool m_resiliencyScoreHasBeenSet =
false;
274 bool m_startTimeHasBeenSet =
false;
277 bool m_versionNameHasBeenSet =
false;
void SetAssessmentName(const Aws::String &value)
AWS_RESILIENCEHUB_API AppAssessmentSummary(Aws::Utils::Json::JsonView jsonValue)
AppAssessmentSummary & WithCost(Cost &&value)
AppAssessmentSummary & WithAppVersion(const Aws::String &value)
AppAssessmentSummary & WithAssessmentName(Aws::String &&value)
AppAssessmentSummary & WithMessage(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
bool AppVersionHasBeenSet() const
AppAssessmentSummary & WithInvoker(AssessmentInvoker &&value)
AppAssessmentSummary & WithVersionName(Aws::String &&value)
void SetCost(Cost &&value)
const Aws::String & GetVersionName() const
const Aws::String & GetAppVersion() const
const Aws::String & GetMessage() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppAssessmentSummary & WithEndTime(const Aws::Utils::DateTime &value)
AppAssessmentSummary & WithAppArn(Aws::String &&value)
void SetComplianceStatus(const ComplianceStatus &value)
AppAssessmentSummary & WithAssessmentArn(const Aws::String &value)
bool CostHasBeenSet() const
bool AssessmentArnHasBeenSet() const
AppAssessmentSummary & WithInvoker(const AssessmentInvoker &value)
bool InvokerHasBeenSet() const
AppAssessmentSummary & WithDriftStatus(const DriftStatus &value)
void SetAssessmentArn(const char *value)
bool ComplianceStatusHasBeenSet() const
bool DriftStatusHasBeenSet() const
AppAssessmentSummary & WithMessage(const Aws::String &value)
AWS_RESILIENCEHUB_API AppAssessmentSummary()
void SetEndTime(Aws::Utils::DateTime &&value)
double GetResiliencyScore() const
void SetCost(const Cost &value)
AppAssessmentSummary & WithVersionName(const Aws::String &value)
const Aws::String & GetAssessmentName() const
const ComplianceStatus & GetComplianceStatus() const
AppAssessmentSummary & WithCost(const Cost &value)
AppAssessmentSummary & WithAssessmentName(const char *value)
void SetAppArn(const Aws::String &value)
bool ResiliencyScoreHasBeenSet() const
void SetAppVersion(const char *value)
void SetVersionName(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetDriftStatus(const DriftStatus &value)
void SetComplianceStatus(ComplianceStatus &&value)
const Aws::String & GetAssessmentArn() const
AppAssessmentSummary & WithAppArn(const Aws::String &value)
void SetMessage(const char *value)
AppAssessmentSummary & WithAssessmentStatus(AssessmentStatus &&value)
AppAssessmentSummary & WithAppArn(const char *value)
AppAssessmentSummary & WithStartTime(Aws::Utils::DateTime &&value)
void SetAppArn(Aws::String &&value)
void SetVersionName(Aws::String &&value)
AppAssessmentSummary & WithComplianceStatus(ComplianceStatus &&value)
void SetInvoker(const AssessmentInvoker &value)
const Aws::String & GetAppArn() const
void SetMessage(Aws::String &&value)
AppAssessmentSummary & WithAssessmentArn(const char *value)
void SetAssessmentArn(Aws::String &&value)
AppAssessmentSummary & WithEndTime(Aws::Utils::DateTime &&value)
AppAssessmentSummary & WithAssessmentArn(Aws::String &&value)
AppAssessmentSummary & WithMessage(Aws::String &&value)
const DriftStatus & GetDriftStatus() const
void SetAssessmentName(Aws::String &&value)
bool AssessmentStatusHasBeenSet() const
void SetDriftStatus(DriftStatus &&value)
const Cost & GetCost() const
AWS_RESILIENCEHUB_API AppAssessmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInvoker(AssessmentInvoker &&value)
AppAssessmentSummary & WithStartTime(const Aws::Utils::DateTime &value)
AppAssessmentSummary & WithComplianceStatus(const ComplianceStatus &value)
AppAssessmentSummary & WithAssessmentName(const Aws::String &value)
void SetResiliencyScore(double value)
AppAssessmentSummary & WithAppVersion(Aws::String &&value)
AppAssessmentSummary & WithDriftStatus(DriftStatus &&value)
bool AssessmentNameHasBeenSet() const
bool EndTimeHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetMessage(const Aws::String &value)
bool AppArnHasBeenSet() const
bool MessageHasBeenSet() const
void SetAssessmentArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
AppAssessmentSummary & WithAppVersion(const char *value)
void SetAssessmentName(const char *value)
AppAssessmentSummary & WithVersionName(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
void SetVersionName(const Aws::String &value)
void SetAppVersion(Aws::String &&value)
AppAssessmentSummary & WithAssessmentStatus(const AssessmentStatus &value)
void SetAssessmentStatus(AssessmentStatus &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetAssessmentStatus(const AssessmentStatus &value)
const AssessmentInvoker & GetInvoker() const
const AssessmentStatus & GetAssessmentStatus() const
bool VersionNameHasBeenSet() const
void SetAppArn(const char *value)
void SetAppVersion(const Aws::String &value)
AppAssessmentSummary & WithResiliencyScore(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue