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/core/utils/memory/stl/AWSVector.h>
14#include <aws/resiliencehub/model/PermissionModel.h>
15#include <aws/resiliencehub/model/AppStatusType.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/resiliencehub/model/EventSubscription.h>
30namespace ResilienceHub
43 AWS_RESILIENCEHUB_API
App();
63 inline void SetAppArn(
const char* value) { m_appArnHasBeenSet =
true; m_appArn.assign(value); }
93 inline void SetAwsApplicationArn(
const char* value) { m_awsApplicationArnHasBeenSet =
true; m_awsApplicationArn.assign(value); }
131 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
210 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
244 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
256 inline void SetResiliencyScore(
double value) { m_resiliencyScoreHasBeenSet =
true; m_resiliencyScore = value; }
266 inline void SetRpoInSecs(
int value) { m_rpoInSecsHasBeenSet =
true; m_rpoInSecs = value; }
276 inline void SetRtoInSecs(
int value) { m_rtoInSecsHasBeenSet =
true; m_rtoInSecs = value; }
307 inline App&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
308 inline App&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
309 inline App&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
314 bool m_appArnHasBeenSet =
false;
317 bool m_assessmentScheduleHasBeenSet =
false;
320 bool m_awsApplicationArnHasBeenSet =
false;
323 bool m_complianceStatusHasBeenSet =
false;
326 bool m_creationTimeHasBeenSet =
false;
329 bool m_descriptionHasBeenSet =
false;
332 bool m_driftStatusHasBeenSet =
false;
335 bool m_eventSubscriptionsHasBeenSet =
false;
338 bool m_lastAppComplianceEvaluationTimeHasBeenSet =
false;
341 bool m_lastDriftEvaluationTimeHasBeenSet =
false;
344 bool m_lastResiliencyScoreEvaluationTimeHasBeenSet =
false;
347 bool m_nameHasBeenSet =
false;
350 bool m_permissionModelHasBeenSet =
false;
353 bool m_policyArnHasBeenSet =
false;
355 double m_resiliencyScore;
356 bool m_resiliencyScoreHasBeenSet =
false;
359 bool m_rpoInSecsHasBeenSet =
false;
362 bool m_rtoInSecsHasBeenSet =
false;
365 bool m_statusHasBeenSet =
false;
368 bool m_tagsHasBeenSet =
false;
App & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
App & WithLastDriftEvaluationTime(const Aws::Utils::DateTime &value)
App & WithLastAppComplianceEvaluationTime(const Aws::Utils::DateTime &value)
App & WithPolicyArn(const char *value)
const Aws::String & GetAppArn() const
void SetPolicyArn(Aws::String &&value)
App & WithPermissionModel(const PermissionModel &value)
void SetAppArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
bool ComplianceStatusHasBeenSet() const
const Aws::String & GetName() const
void SetStatus(const AppStatusType &value)
void SetAwsApplicationArn(const Aws::String &value)
App & WithLastResiliencyScoreEvaluationTime(Aws::Utils::DateTime &&value)
App & WithResiliencyScore(double value)
bool RpoInSecsHasBeenSet() const
App & WithRtoInSecs(int value)
const Aws::Utils::DateTime & GetCreationTime() const
bool TagsHasBeenSet() const
App & WithDescription(const char *value)
const Aws::String & GetPolicyArn() const
App & WithAppArn(Aws::String &&value)
App & WithDriftStatus(AppDriftStatusType &&value)
void SetComplianceStatus(AppComplianceStatusType &&value)
void SetLastAppComplianceEvaluationTime(Aws::Utils::DateTime &&value)
App & WithEventSubscriptions(const Aws::Vector< EventSubscription > &value)
App & AddEventSubscriptions(EventSubscription &&value)
AWS_RESILIENCEHUB_API App()
void SetPermissionModel(PermissionModel &&value)
const AppComplianceStatusType & GetComplianceStatus() const
void SetResiliencyScore(double value)
const Aws::Utils::DateTime & GetLastAppComplianceEvaluationTime() const
App & WithAwsApplicationArn(const Aws::String &value)
void SetRpoInSecs(int value)
bool EventSubscriptionsHasBeenSet() const
void SetAppArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetLastAppComplianceEvaluationTime(const Aws::Utils::DateTime &value)
void SetComplianceStatus(const AppComplianceStatusType &value)
AWS_RESILIENCEHUB_API App & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
App & WithCreationTime(Aws::Utils::DateTime &&value)
App & AddEventSubscriptions(const EventSubscription &value)
App & WithLastResiliencyScoreEvaluationTime(const Aws::Utils::DateTime &value)
const AppDriftStatusType & GetDriftStatus() const
const Aws::Utils::DateTime & GetLastResiliencyScoreEvaluationTime() const
App & WithAssessmentSchedule(AppAssessmentScheduleType &&value)
App & WithStatus(const AppStatusType &value)
App & WithAppArn(const char *value)
const Aws::Utils::DateTime & GetLastDriftEvaluationTime() const
bool StatusHasBeenSet() const
void SetDriftStatus(const AppDriftStatusType &value)
void SetRtoInSecs(int value)
AWS_RESILIENCEHUB_API App(Aws::Utils::Json::JsonView jsonValue)
App & WithComplianceStatus(const AppComplianceStatusType &value)
void SetDescription(Aws::String &&value)
App & WithPolicyArn(const Aws::String &value)
App & WithStatus(AppStatusType &&value)
void SetLastResiliencyScoreEvaluationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< EventSubscription > & GetEventSubscriptions() const
const AppStatusType & GetStatus() const
bool RtoInSecsHasBeenSet() const
App & WithEventSubscriptions(Aws::Vector< EventSubscription > &&value)
App & WithDriftStatus(const AppDriftStatusType &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool NameHasBeenSet() const
bool ResiliencyScoreHasBeenSet() const
bool LastAppComplianceEvaluationTimeHasBeenSet() const
void SetLastResiliencyScoreEvaluationTime(const Aws::Utils::DateTime &value)
void SetEventSubscriptions(Aws::Vector< EventSubscription > &&value)
void SetStatus(AppStatusType &&value)
void SetPolicyArn(const Aws::String &value)
App & WithPermissionModel(PermissionModel &&value)
bool AssessmentScheduleHasBeenSet() const
void SetAwsApplicationArn(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const PermissionModel & GetPermissionModel() const
void SetDriftStatus(AppDriftStatusType &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAppArn(const char *value)
App & AddTags(const Aws::String &key, const Aws::String &value)
bool LastResiliencyScoreEvaluationTimeHasBeenSet() const
bool AppArnHasBeenSet() const
App & WithDescription(const Aws::String &value)
App & WithRpoInSecs(int value)
App & WithLastDriftEvaluationTime(Aws::Utils::DateTime &&value)
App & AddTags(Aws::String &&key, const char *value)
void SetAwsApplicationArn(const char *value)
void SetPermissionModel(const PermissionModel &value)
void SetName(Aws::String &&value)
App & WithComplianceStatus(AppComplianceStatusType &&value)
const Aws::String & GetAwsApplicationArn() const
App & WithAppArn(const Aws::String &value)
App & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetPolicyArn(const char *value)
double GetResiliencyScore() const
bool DriftStatusHasBeenSet() const
void SetLastDriftEvaluationTime(Aws::Utils::DateTime &&value)
App & WithAwsApplicationArn(const char *value)
App & AddTags(Aws::String &&key, Aws::String &&value)
void SetAssessmentSchedule(AppAssessmentScheduleType &&value)
bool DescriptionHasBeenSet() const
App & WithAwsApplicationArn(Aws::String &&value)
void SetLastDriftEvaluationTime(const Aws::Utils::DateTime &value)
App & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool PolicyArnHasBeenSet() const
App & WithName(const Aws::String &value)
bool AwsApplicationArnHasBeenSet() const
App & WithLastAppComplianceEvaluationTime(Aws::Utils::DateTime &&value)
App & WithName(Aws::String &&value)
App & WithName(const char *value)
void SetDescription(const char *value)
void SetAssessmentSchedule(const AppAssessmentScheduleType &value)
const AppAssessmentScheduleType & GetAssessmentSchedule() const
App & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
App & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetDescription() const
bool LastDriftEvaluationTimeHasBeenSet() const
void SetName(const Aws::String &value)
void SetEventSubscriptions(const Aws::Vector< EventSubscription > &value)
App & WithAssessmentSchedule(const AppAssessmentScheduleType &value)
App & WithPolicyArn(Aws::String &&value)
bool PermissionModelHasBeenSet() const
bool CreationTimeHasBeenSet() const
App & AddTags(Aws::String &&key, const Aws::String &value)
App & WithDescription(Aws::String &&value)
App & AddTags(const char *key, const char *value)
AppAssessmentScheduleType
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue