7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10#include <aws/resiliencehub/model/AppAssessmentScheduleType.h>
11#include <aws/resiliencehub/model/AppComplianceStatusType.h>
12#include <aws/resiliencehub/model/AppDriftStatusType.h>
13#include <aws/resiliencehub/model/AppStatusType.h>
24namespace ResilienceHub {
51 template <
typename AppArnT = Aws::String>
53 m_appArnHasBeenSet =
true;
54 m_appArn = std::forward<AppArnT>(value);
56 template <
typename AppArnT = Aws::String>
70 m_assessmentScheduleHasBeenSet =
true;
71 m_assessmentSchedule = value;
89 template <
typename AwsApplicationArnT = Aws::String>
91 m_awsApplicationArnHasBeenSet =
true;
92 m_awsApplicationArn = std::forward<AwsApplicationArnT>(value);
94 template <
typename AwsApplicationArnT = Aws::String>
108 m_complianceStatusHasBeenSet =
true;
109 m_complianceStatus = value;
123 template <
typename CreationTimeT = Aws::Utils::DateTime>
125 m_creationTimeHasBeenSet =
true;
126 m_creationTime = std::forward<CreationTimeT>(value);
128 template <
typename CreationTimeT = Aws::Utils::DateTime>
141 template <
typename DescriptionT = Aws::String>
143 m_descriptionHasBeenSet =
true;
144 m_description = std::forward<DescriptionT>(value);
146 template <
typename DescriptionT = Aws::String>
161 m_driftStatusHasBeenSet =
true;
162 m_driftStatus = value;
176 template <
typename LastAppComplianceEvaluationTimeT = Aws::Utils::DateTime>
178 m_lastAppComplianceEvaluationTimeHasBeenSet =
true;
179 m_lastAppComplianceEvaluationTime = std::forward<LastAppComplianceEvaluationTimeT>(value);
181 template <
typename LastAppComplianceEvaluationTimeT = Aws::Utils::DateTime>
194 template <
typename NameT = Aws::String>
196 m_nameHasBeenSet =
true;
197 m_name = std::forward<NameT>(value);
199 template <
typename NameT = Aws::String>
201 SetName(std::forward<NameT>(value));
213 m_resiliencyScoreHasBeenSet =
true;
214 m_resiliencyScore = value;
229 m_rpoInSecsHasBeenSet =
true;
245 m_rtoInSecsHasBeenSet =
true;
261 m_statusHasBeenSet =
true;
288 double m_resiliencyScore{0.0};
295 bool m_appArnHasBeenSet =
false;
296 bool m_assessmentScheduleHasBeenSet =
false;
297 bool m_awsApplicationArnHasBeenSet =
false;
298 bool m_complianceStatusHasBeenSet =
false;
299 bool m_creationTimeHasBeenSet =
false;
300 bool m_descriptionHasBeenSet =
false;
301 bool m_driftStatusHasBeenSet =
false;
302 bool m_lastAppComplianceEvaluationTimeHasBeenSet =
false;
303 bool m_nameHasBeenSet =
false;
304 bool m_resiliencyScoreHasBeenSet =
false;
305 bool m_rpoInSecsHasBeenSet =
false;
306 bool m_rtoInSecsHasBeenSet =
false;
307 bool m_statusHasBeenSet =
false;
AppSummary & WithName(NameT &&value)
bool CreationTimeHasBeenSet() const
AppSummary & WithAssessmentSchedule(AppAssessmentScheduleType value)
bool ComplianceStatusHasBeenSet() const
bool AssessmentScheduleHasBeenSet() const
const Aws::Utils::DateTime & GetLastAppComplianceEvaluationTime() const
void SetDriftStatus(AppDriftStatusType value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_RESILIENCEHUB_API AppSummary()=default
void SetRtoInSecs(int value)
bool AwsApplicationArnHasBeenSet() const
const Aws::String & GetAppArn() const
const Aws::String & GetAwsApplicationArn() const
AppAssessmentScheduleType GetAssessmentSchedule() const
AppSummary & WithAwsApplicationArn(AwsApplicationArnT &&value)
AppSummary & WithRtoInSecs(int value)
AppSummary & WithRpoInSecs(int value)
bool DriftStatusHasBeenSet() const
AppSummary & WithDescription(DescriptionT &&value)
void SetLastAppComplianceEvaluationTime(LastAppComplianceEvaluationTimeT &&value)
bool RtoInSecsHasBeenSet() const
AppSummary & WithLastAppComplianceEvaluationTime(LastAppComplianceEvaluationTimeT &&value)
AWS_RESILIENCEHUB_API AppSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
AppSummary & WithDriftStatus(AppDriftStatusType value)
void SetCreationTime(CreationTimeT &&value)
bool ResiliencyScoreHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppComplianceStatusType GetComplianceStatus() const
void SetResiliencyScore(double value)
void SetAwsApplicationArn(AwsApplicationArnT &&value)
AppSummary & WithStatus(AppStatusType value)
void SetStatus(AppStatusType value)
void SetDescription(DescriptionT &&value)
AppDriftStatusType GetDriftStatus() const
AppSummary & WithCreationTime(CreationTimeT &&value)
AppStatusType GetStatus() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
AppSummary & WithComplianceStatus(AppComplianceStatusType value)
bool LastAppComplianceEvaluationTimeHasBeenSet() const
bool RpoInSecsHasBeenSet() const
double GetResiliencyScore() const
bool AppArnHasBeenSet() const
void SetAppArn(AppArnT &&value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
AWS_RESILIENCEHUB_API AppSummary(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceStatus(AppComplianceStatusType value)
bool DescriptionHasBeenSet() const
AppSummary & WithResiliencyScore(double value)
void SetRpoInSecs(int value)
void SetAssessmentSchedule(AppAssessmentScheduleType value)
AppSummary & WithAppArn(AppArnT &&value)
AppAssessmentScheduleType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue