7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/model/ComplianceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ResilienceHub
48 inline void SetAchievableRpoInSecs(
int value) { m_achievableRpoInSecsHasBeenSet =
true; m_achievableRpoInSecs = value; }
58 inline void SetAchievableRtoInSecs(
int value) { m_achievableRtoInSecsHasBeenSet =
true; m_achievableRtoInSecs = value; }
80 inline void SetCurrentRpoInSecs(
int value) { m_currentRpoInSecsHasBeenSet =
true; m_currentRpoInSecs = value; }
90 inline void SetCurrentRtoInSecs(
int value) { m_currentRtoInSecsHasBeenSet =
true; m_currentRtoInSecs = value; }
102 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
116 inline void SetRpoDescription(
const char* value) { m_rpoDescriptionHasBeenSet =
true; m_rpoDescription.assign(value); }
130 inline void SetRpoReferenceId(
const char* value) { m_rpoReferenceIdHasBeenSet =
true; m_rpoReferenceId.assign(value); }
144 inline void SetRtoDescription(
const char* value) { m_rtoDescriptionHasBeenSet =
true; m_rtoDescription.assign(value); }
158 inline void SetRtoReferenceId(
const char* value) { m_rtoReferenceIdHasBeenSet =
true; m_rtoReferenceId.assign(value); }
165 int m_achievableRpoInSecs;
166 bool m_achievableRpoInSecsHasBeenSet =
false;
168 int m_achievableRtoInSecs;
169 bool m_achievableRtoInSecsHasBeenSet =
false;
172 bool m_complianceStatusHasBeenSet =
false;
174 int m_currentRpoInSecs;
175 bool m_currentRpoInSecsHasBeenSet =
false;
177 int m_currentRtoInSecs;
178 bool m_currentRtoInSecsHasBeenSet =
false;
181 bool m_messageHasBeenSet =
false;
184 bool m_rpoDescriptionHasBeenSet =
false;
187 bool m_rpoReferenceIdHasBeenSet =
false;
190 bool m_rtoDescriptionHasBeenSet =
false;
193 bool m_rtoReferenceIdHasBeenSet =
false;
DisruptionCompliance & WithMessage(const Aws::String &value)
bool AchievableRtoInSecsHasBeenSet() const
bool MessageHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRpoDescription(const Aws::String &value)
DisruptionCompliance & WithRpoReferenceId(const Aws::String &value)
DisruptionCompliance & WithAchievableRtoInSecs(int value)
bool CurrentRtoInSecsHasBeenSet() const
const Aws::String & GetRtoDescription() const
const Aws::String & GetRpoReferenceId() const
void SetCurrentRtoInSecs(int value)
void SetRtoReferenceId(const char *value)
DisruptionCompliance & WithRpoDescription(const Aws::String &value)
DisruptionCompliance & WithComplianceStatus(const ComplianceStatus &value)
DisruptionCompliance & WithRtoReferenceId(const char *value)
AWS_RESILIENCEHUB_API DisruptionCompliance & operator=(Aws::Utils::Json::JsonView jsonValue)
DisruptionCompliance & WithRpoReferenceId(const char *value)
int GetAchievableRtoInSecs() const
void SetMessage(const char *value)
DisruptionCompliance & WithRpoReferenceId(Aws::String &&value)
void SetRpoReferenceId(Aws::String &&value)
void SetCurrentRpoInSecs(int value)
void SetRtoReferenceId(Aws::String &&value)
DisruptionCompliance & WithRpoDescription(const char *value)
DisruptionCompliance & WithCurrentRpoInSecs(int value)
DisruptionCompliance & WithRtoReferenceId(const Aws::String &value)
bool AchievableRpoInSecsHasBeenSet() const
bool RtoReferenceIdHasBeenSet() const
bool RtoDescriptionHasBeenSet() const
void SetMessage(const Aws::String &value)
const Aws::String & GetRtoReferenceId() const
void SetComplianceStatus(const ComplianceStatus &value)
DisruptionCompliance & WithAchievableRpoInSecs(int value)
int GetCurrentRpoInSecs() const
int GetCurrentRtoInSecs() const
void SetRpoReferenceId(const char *value)
DisruptionCompliance & WithComplianceStatus(ComplianceStatus &&value)
void SetRtoDescription(const char *value)
bool RpoReferenceIdHasBeenSet() const
DisruptionCompliance & WithRtoDescription(const char *value)
void SetMessage(Aws::String &&value)
DisruptionCompliance & WithMessage(const char *value)
void SetComplianceStatus(ComplianceStatus &&value)
void SetRtoReferenceId(const Aws::String &value)
void SetAchievableRtoInSecs(int value)
bool RpoDescriptionHasBeenSet() const
DisruptionCompliance & WithRtoDescription(const Aws::String &value)
void SetRpoDescription(const char *value)
void SetRpoDescription(Aws::String &&value)
void SetRpoReferenceId(const Aws::String &value)
bool ComplianceStatusHasBeenSet() const
int GetAchievableRpoInSecs() const
void SetRtoDescription(Aws::String &&value)
void SetRtoDescription(const Aws::String &value)
const Aws::String & GetRpoDescription() const
AWS_RESILIENCEHUB_API DisruptionCompliance()
DisruptionCompliance & WithCurrentRtoInSecs(int value)
const Aws::String & GetMessage() const
DisruptionCompliance & WithMessage(Aws::String &&value)
AWS_RESILIENCEHUB_API DisruptionCompliance(Aws::Utils::Json::JsonView jsonValue)
DisruptionCompliance & WithRtoReferenceId(Aws::String &&value)
DisruptionCompliance & WithRpoDescription(Aws::String &&value)
const ComplianceStatus & GetComplianceStatus() const
void SetAchievableRpoInSecs(int value)
DisruptionCompliance & WithRtoDescription(Aws::String &&value)
bool CurrentRpoInSecsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue