7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/AppAssessmentScheduleType.h>
10#include <aws/resiliencehub/model/AppComplianceStatusType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/resiliencehub/model/AppDriftStatusType.h>
13#include <aws/resiliencehub/model/AppStatusType.h>
26namespace ResilienceHub
57 template<
typename AppArnT = Aws::String>
58 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet =
true; m_appArn = std::forward<AppArnT>(value); }
59 template<
typename AppArnT = Aws::String>
83 template<
typename AwsApplicationArnT = Aws::String>
84 void SetAwsApplicationArn(AwsApplicationArnT&& value) { m_awsApplicationArnHasBeenSet =
true; m_awsApplicationArn = std::forward<AwsApplicationArnT>(value); }
85 template<
typename AwsApplicationArnT = Aws::String>
105 template<
typename CreationTimeT = Aws::Utils::DateTime>
106 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
107 template<
typename CreationTimeT = Aws::Utils::DateTime>
117 template<
typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
119 template<
typename DescriptionT = Aws::String>
140 template<
typename LastAppComplianceEvaluationTimeT = Aws::Utils::DateTime>
141 void SetLastAppComplianceEvaluationTime(LastAppComplianceEvaluationTimeT&& value) { m_lastAppComplianceEvaluationTimeHasBeenSet =
true; m_lastAppComplianceEvaluationTime = std::forward<LastAppComplianceEvaluationTimeT>(value); }
142 template<
typename LastAppComplianceEvaluationTimeT = Aws::Utils::DateTime>
152 template<
typename NameT = Aws::String>
153 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
154 template<
typename NameT = Aws::String>
164 inline void SetResiliencyScore(
double value) { m_resiliencyScoreHasBeenSet =
true; m_resiliencyScore = value; }
174 inline void SetRpoInSecs(
int value) { m_rpoInSecsHasBeenSet =
true; m_rpoInSecs = value; }
184 inline void SetRtoInSecs(
int value) { m_rtoInSecsHasBeenSet =
true; m_rtoInSecs = value; }
200 bool m_appArnHasBeenSet =
false;
203 bool m_assessmentScheduleHasBeenSet =
false;
206 bool m_awsApplicationArnHasBeenSet =
false;
209 bool m_complianceStatusHasBeenSet =
false;
212 bool m_creationTimeHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
218 bool m_driftStatusHasBeenSet =
false;
221 bool m_lastAppComplianceEvaluationTimeHasBeenSet =
false;
224 bool m_nameHasBeenSet =
false;
226 double m_resiliencyScore{0.0};
227 bool m_resiliencyScoreHasBeenSet =
false;
230 bool m_rpoInSecsHasBeenSet =
false;
233 bool m_rtoInSecsHasBeenSet =
false;
236 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