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; }
78 inline void SetCurrentRpoInSecs(
int value) { m_currentRpoInSecsHasBeenSet =
true; m_currentRpoInSecs = value; }
88 inline void SetCurrentRtoInSecs(
int value) { m_currentRtoInSecsHasBeenSet =
true; m_currentRtoInSecs = value; }
98 template<
typename MessageT = Aws::String>
99 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
100 template<
typename MessageT = Aws::String>
110 template<
typename RpoDescriptionT = Aws::String>
111 void SetRpoDescription(RpoDescriptionT&& value) { m_rpoDescriptionHasBeenSet =
true; m_rpoDescription = std::forward<RpoDescriptionT>(value); }
112 template<
typename RpoDescriptionT = Aws::String>
122 template<
typename RpoReferenceIdT = Aws::String>
123 void SetRpoReferenceId(RpoReferenceIdT&& value) { m_rpoReferenceIdHasBeenSet =
true; m_rpoReferenceId = std::forward<RpoReferenceIdT>(value); }
124 template<
typename RpoReferenceIdT = Aws::String>
134 template<
typename RtoDescriptionT = Aws::String>
135 void SetRtoDescription(RtoDescriptionT&& value) { m_rtoDescriptionHasBeenSet =
true; m_rtoDescription = std::forward<RtoDescriptionT>(value); }
136 template<
typename RtoDescriptionT = Aws::String>
146 template<
typename RtoReferenceIdT = Aws::String>
147 void SetRtoReferenceId(RtoReferenceIdT&& value) { m_rtoReferenceIdHasBeenSet =
true; m_rtoReferenceId = std::forward<RtoReferenceIdT>(value); }
148 template<
typename RtoReferenceIdT = Aws::String>
153 int m_achievableRpoInSecs{0};
154 bool m_achievableRpoInSecsHasBeenSet =
false;
156 int m_achievableRtoInSecs{0};
157 bool m_achievableRtoInSecsHasBeenSet =
false;
160 bool m_complianceStatusHasBeenSet =
false;
162 int m_currentRpoInSecs{0};
163 bool m_currentRpoInSecsHasBeenSet =
false;
165 int m_currentRtoInSecs{0};
166 bool m_currentRtoInSecsHasBeenSet =
false;
169 bool m_messageHasBeenSet =
false;
172 bool m_rpoDescriptionHasBeenSet =
false;
175 bool m_rpoReferenceIdHasBeenSet =
false;
178 bool m_rtoDescriptionHasBeenSet =
false;
181 bool m_rtoReferenceIdHasBeenSet =
false;
bool AchievableRtoInSecsHasBeenSet() const
bool MessageHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DisruptionCompliance & WithAchievableRtoInSecs(int value)
bool CurrentRtoInSecsHasBeenSet() const
const Aws::String & GetRtoDescription() const
DisruptionCompliance & WithMessage(MessageT &&value)
DisruptionCompliance & WithRtoReferenceId(RtoReferenceIdT &&value)
const Aws::String & GetRpoReferenceId() const
void SetCurrentRtoInSecs(int value)
DisruptionCompliance & WithRtoDescription(RtoDescriptionT &&value)
DisruptionCompliance & WithRpoDescription(RpoDescriptionT &&value)
AWS_RESILIENCEHUB_API DisruptionCompliance & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetAchievableRtoInSecs() const
void SetCurrentRpoInSecs(int value)
DisruptionCompliance & WithComplianceStatus(ComplianceStatus value)
void SetRtoReferenceId(RtoReferenceIdT &&value)
DisruptionCompliance & WithCurrentRpoInSecs(int value)
bool AchievableRpoInSecsHasBeenSet() const
bool RtoReferenceIdHasBeenSet() const
bool RtoDescriptionHasBeenSet() const
const Aws::String & GetRtoReferenceId() const
DisruptionCompliance & WithAchievableRpoInSecs(int value)
int GetCurrentRpoInSecs() const
int GetCurrentRtoInSecs() const
bool RpoReferenceIdHasBeenSet() const
void SetAchievableRtoInSecs(int value)
bool RpoDescriptionHasBeenSet() const
void SetRpoDescription(RpoDescriptionT &&value)
bool ComplianceStatusHasBeenSet() const
int GetAchievableRpoInSecs() const
void SetRtoDescription(RtoDescriptionT &&value)
ComplianceStatus GetComplianceStatus() const
const Aws::String & GetRpoDescription() const
DisruptionCompliance & WithCurrentRtoInSecs(int value)
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
void SetComplianceStatus(ComplianceStatus value)
AWS_RESILIENCEHUB_API DisruptionCompliance()=default
AWS_RESILIENCEHUB_API DisruptionCompliance(Aws::Utils::Json::JsonView jsonValue)
DisruptionCompliance & WithRpoReferenceId(RpoReferenceIdT &&value)
void SetRpoReferenceId(RpoReferenceIdT &&value)
void SetAchievableRpoInSecs(int value)
bool CurrentRpoInSecsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue