AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisruptionCompliance.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/model/ComplianceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ResilienceHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_RESILIENCEHUB_API DisruptionCompliance();
37 AWS_RESILIENCEHUB_API DisruptionCompliance(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetAchievableRpoInSecs() const{ return m_achievableRpoInSecs; }
47 inline bool AchievableRpoInSecsHasBeenSet() const { return m_achievableRpoInSecsHasBeenSet; }
48 inline void SetAchievableRpoInSecs(int value) { m_achievableRpoInSecsHasBeenSet = true; m_achievableRpoInSecs = value; }
49 inline DisruptionCompliance& WithAchievableRpoInSecs(int value) { SetAchievableRpoInSecs(value); return *this;}
51
53
56 inline int GetAchievableRtoInSecs() const{ return m_achievableRtoInSecs; }
57 inline bool AchievableRtoInSecsHasBeenSet() const { return m_achievableRtoInSecsHasBeenSet; }
58 inline void SetAchievableRtoInSecs(int value) { m_achievableRtoInSecsHasBeenSet = true; m_achievableRtoInSecs = value; }
59 inline DisruptionCompliance& WithAchievableRtoInSecs(int value) { SetAchievableRtoInSecs(value); return *this;}
61
63
66 inline const ComplianceStatus& GetComplianceStatus() const{ return m_complianceStatus; }
67 inline bool ComplianceStatusHasBeenSet() const { return m_complianceStatusHasBeenSet; }
68 inline void SetComplianceStatus(const ComplianceStatus& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = value; }
69 inline void SetComplianceStatus(ComplianceStatus&& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = std::move(value); }
71 inline DisruptionCompliance& WithComplianceStatus(ComplianceStatus&& value) { SetComplianceStatus(std::move(value)); return *this;}
73
75
78 inline int GetCurrentRpoInSecs() const{ return m_currentRpoInSecs; }
79 inline bool CurrentRpoInSecsHasBeenSet() const { return m_currentRpoInSecsHasBeenSet; }
80 inline void SetCurrentRpoInSecs(int value) { m_currentRpoInSecsHasBeenSet = true; m_currentRpoInSecs = value; }
81 inline DisruptionCompliance& WithCurrentRpoInSecs(int value) { SetCurrentRpoInSecs(value); return *this;}
83
85
88 inline int GetCurrentRtoInSecs() const{ return m_currentRtoInSecs; }
89 inline bool CurrentRtoInSecsHasBeenSet() const { return m_currentRtoInSecsHasBeenSet; }
90 inline void SetCurrentRtoInSecs(int value) { m_currentRtoInSecsHasBeenSet = true; m_currentRtoInSecs = value; }
91 inline DisruptionCompliance& WithCurrentRtoInSecs(int value) { SetCurrentRtoInSecs(value); return *this;}
93
95
98 inline const Aws::String& GetMessage() const{ return m_message; }
99 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
100 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
101 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
102 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
103 inline DisruptionCompliance& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
104 inline DisruptionCompliance& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
105 inline DisruptionCompliance& WithMessage(const char* value) { SetMessage(value); return *this;}
107
109
112 inline const Aws::String& GetRpoDescription() const{ return m_rpoDescription; }
113 inline bool RpoDescriptionHasBeenSet() const { return m_rpoDescriptionHasBeenSet; }
114 inline void SetRpoDescription(const Aws::String& value) { m_rpoDescriptionHasBeenSet = true; m_rpoDescription = value; }
115 inline void SetRpoDescription(Aws::String&& value) { m_rpoDescriptionHasBeenSet = true; m_rpoDescription = std::move(value); }
116 inline void SetRpoDescription(const char* value) { m_rpoDescriptionHasBeenSet = true; m_rpoDescription.assign(value); }
117 inline DisruptionCompliance& WithRpoDescription(const Aws::String& value) { SetRpoDescription(value); return *this;}
118 inline DisruptionCompliance& WithRpoDescription(Aws::String&& value) { SetRpoDescription(std::move(value)); return *this;}
119 inline DisruptionCompliance& WithRpoDescription(const char* value) { SetRpoDescription(value); return *this;}
121
123
126 inline const Aws::String& GetRpoReferenceId() const{ return m_rpoReferenceId; }
127 inline bool RpoReferenceIdHasBeenSet() const { return m_rpoReferenceIdHasBeenSet; }
128 inline void SetRpoReferenceId(const Aws::String& value) { m_rpoReferenceIdHasBeenSet = true; m_rpoReferenceId = value; }
129 inline void SetRpoReferenceId(Aws::String&& value) { m_rpoReferenceIdHasBeenSet = true; m_rpoReferenceId = std::move(value); }
130 inline void SetRpoReferenceId(const char* value) { m_rpoReferenceIdHasBeenSet = true; m_rpoReferenceId.assign(value); }
131 inline DisruptionCompliance& WithRpoReferenceId(const Aws::String& value) { SetRpoReferenceId(value); return *this;}
132 inline DisruptionCompliance& WithRpoReferenceId(Aws::String&& value) { SetRpoReferenceId(std::move(value)); return *this;}
133 inline DisruptionCompliance& WithRpoReferenceId(const char* value) { SetRpoReferenceId(value); return *this;}
135
137
140 inline const Aws::String& GetRtoDescription() const{ return m_rtoDescription; }
141 inline bool RtoDescriptionHasBeenSet() const { return m_rtoDescriptionHasBeenSet; }
142 inline void SetRtoDescription(const Aws::String& value) { m_rtoDescriptionHasBeenSet = true; m_rtoDescription = value; }
143 inline void SetRtoDescription(Aws::String&& value) { m_rtoDescriptionHasBeenSet = true; m_rtoDescription = std::move(value); }
144 inline void SetRtoDescription(const char* value) { m_rtoDescriptionHasBeenSet = true; m_rtoDescription.assign(value); }
145 inline DisruptionCompliance& WithRtoDescription(const Aws::String& value) { SetRtoDescription(value); return *this;}
146 inline DisruptionCompliance& WithRtoDescription(Aws::String&& value) { SetRtoDescription(std::move(value)); return *this;}
147 inline DisruptionCompliance& WithRtoDescription(const char* value) { SetRtoDescription(value); return *this;}
149
151
154 inline const Aws::String& GetRtoReferenceId() const{ return m_rtoReferenceId; }
155 inline bool RtoReferenceIdHasBeenSet() const { return m_rtoReferenceIdHasBeenSet; }
156 inline void SetRtoReferenceId(const Aws::String& value) { m_rtoReferenceIdHasBeenSet = true; m_rtoReferenceId = value; }
157 inline void SetRtoReferenceId(Aws::String&& value) { m_rtoReferenceIdHasBeenSet = true; m_rtoReferenceId = std::move(value); }
158 inline void SetRtoReferenceId(const char* value) { m_rtoReferenceIdHasBeenSet = true; m_rtoReferenceId.assign(value); }
159 inline DisruptionCompliance& WithRtoReferenceId(const Aws::String& value) { SetRtoReferenceId(value); return *this;}
160 inline DisruptionCompliance& WithRtoReferenceId(Aws::String&& value) { SetRtoReferenceId(std::move(value)); return *this;}
161 inline DisruptionCompliance& WithRtoReferenceId(const char* value) { SetRtoReferenceId(value); return *this;}
163 private:
164
165 int m_achievableRpoInSecs;
166 bool m_achievableRpoInSecsHasBeenSet = false;
167
168 int m_achievableRtoInSecs;
169 bool m_achievableRtoInSecsHasBeenSet = false;
170
171 ComplianceStatus m_complianceStatus;
172 bool m_complianceStatusHasBeenSet = false;
173
174 int m_currentRpoInSecs;
175 bool m_currentRpoInSecsHasBeenSet = false;
176
177 int m_currentRtoInSecs;
178 bool m_currentRtoInSecsHasBeenSet = false;
179
180 Aws::String m_message;
181 bool m_messageHasBeenSet = false;
182
183 Aws::String m_rpoDescription;
184 bool m_rpoDescriptionHasBeenSet = false;
185
186 Aws::String m_rpoReferenceId;
187 bool m_rpoReferenceIdHasBeenSet = false;
188
189 Aws::String m_rtoDescription;
190 bool m_rtoDescriptionHasBeenSet = false;
191
192 Aws::String m_rtoReferenceId;
193 bool m_rtoReferenceIdHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace ResilienceHub
198} // namespace Aws
DisruptionCompliance & WithMessage(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DisruptionCompliance & WithRpoReferenceId(const Aws::String &value)
DisruptionCompliance & WithAchievableRtoInSecs(int 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)
DisruptionCompliance & WithRpoReferenceId(Aws::String &&value)
DisruptionCompliance & WithRpoDescription(const char *value)
DisruptionCompliance & WithCurrentRpoInSecs(int value)
DisruptionCompliance & WithRtoReferenceId(const Aws::String &value)
void SetComplianceStatus(const ComplianceStatus &value)
DisruptionCompliance & WithAchievableRpoInSecs(int value)
DisruptionCompliance & WithComplianceStatus(ComplianceStatus &&value)
DisruptionCompliance & WithRtoDescription(const char *value)
DisruptionCompliance & WithMessage(const char *value)
DisruptionCompliance & WithRtoDescription(const Aws::String &value)
DisruptionCompliance & WithCurrentRtoInSecs(int value)
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
DisruptionCompliance & WithRtoDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue