AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigRuleEvaluationStatus.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 ConfigService
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus() = default;
42 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetConfigRuleName() const { return m_configRuleName; }
50 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
51 template<typename ConfigRuleNameT = Aws::String>
52 void SetConfigRuleName(ConfigRuleNameT&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::forward<ConfigRuleNameT>(value); }
53 template<typename ConfigRuleNameT = Aws::String>
54 ConfigRuleEvaluationStatus& WithConfigRuleName(ConfigRuleNameT&& value) { SetConfigRuleName(std::forward<ConfigRuleNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetConfigRuleArn() const { return m_configRuleArn; }
62 inline bool ConfigRuleArnHasBeenSet() const { return m_configRuleArnHasBeenSet; }
63 template<typename ConfigRuleArnT = Aws::String>
64 void SetConfigRuleArn(ConfigRuleArnT&& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = std::forward<ConfigRuleArnT>(value); }
65 template<typename ConfigRuleArnT = Aws::String>
66 ConfigRuleEvaluationStatus& WithConfigRuleArn(ConfigRuleArnT&& value) { SetConfigRuleArn(std::forward<ConfigRuleArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetConfigRuleId() const { return m_configRuleId; }
74 inline bool ConfigRuleIdHasBeenSet() const { return m_configRuleIdHasBeenSet; }
75 template<typename ConfigRuleIdT = Aws::String>
76 void SetConfigRuleId(ConfigRuleIdT&& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = std::forward<ConfigRuleIdT>(value); }
77 template<typename ConfigRuleIdT = Aws::String>
78 ConfigRuleEvaluationStatus& WithConfigRuleId(ConfigRuleIdT&& value) { SetConfigRuleId(std::forward<ConfigRuleIdT>(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetLastSuccessfulInvocationTime() const { return m_lastSuccessfulInvocationTime; }
87 inline bool LastSuccessfulInvocationTimeHasBeenSet() const { return m_lastSuccessfulInvocationTimeHasBeenSet; }
88 template<typename LastSuccessfulInvocationTimeT = Aws::Utils::DateTime>
89 void SetLastSuccessfulInvocationTime(LastSuccessfulInvocationTimeT&& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = std::forward<LastSuccessfulInvocationTimeT>(value); }
90 template<typename LastSuccessfulInvocationTimeT = Aws::Utils::DateTime>
91 ConfigRuleEvaluationStatus& WithLastSuccessfulInvocationTime(LastSuccessfulInvocationTimeT&& value) { SetLastSuccessfulInvocationTime(std::forward<LastSuccessfulInvocationTimeT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetLastFailedInvocationTime() const { return m_lastFailedInvocationTime; }
100 inline bool LastFailedInvocationTimeHasBeenSet() const { return m_lastFailedInvocationTimeHasBeenSet; }
101 template<typename LastFailedInvocationTimeT = Aws::Utils::DateTime>
102 void SetLastFailedInvocationTime(LastFailedInvocationTimeT&& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = std::forward<LastFailedInvocationTimeT>(value); }
103 template<typename LastFailedInvocationTimeT = Aws::Utils::DateTime>
104 ConfigRuleEvaluationStatus& WithLastFailedInvocationTime(LastFailedInvocationTimeT&& value) { SetLastFailedInvocationTime(std::forward<LastFailedInvocationTimeT>(value)); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetLastSuccessfulEvaluationTime() const { return m_lastSuccessfulEvaluationTime; }
113 inline bool LastSuccessfulEvaluationTimeHasBeenSet() const { return m_lastSuccessfulEvaluationTimeHasBeenSet; }
114 template<typename LastSuccessfulEvaluationTimeT = Aws::Utils::DateTime>
115 void SetLastSuccessfulEvaluationTime(LastSuccessfulEvaluationTimeT&& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = std::forward<LastSuccessfulEvaluationTimeT>(value); }
116 template<typename LastSuccessfulEvaluationTimeT = Aws::Utils::DateTime>
117 ConfigRuleEvaluationStatus& WithLastSuccessfulEvaluationTime(LastSuccessfulEvaluationTimeT&& value) { SetLastSuccessfulEvaluationTime(std::forward<LastSuccessfulEvaluationTimeT>(value)); return *this;}
119
121
125 inline const Aws::Utils::DateTime& GetLastFailedEvaluationTime() const { return m_lastFailedEvaluationTime; }
126 inline bool LastFailedEvaluationTimeHasBeenSet() const { return m_lastFailedEvaluationTimeHasBeenSet; }
127 template<typename LastFailedEvaluationTimeT = Aws::Utils::DateTime>
128 void SetLastFailedEvaluationTime(LastFailedEvaluationTimeT&& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = std::forward<LastFailedEvaluationTimeT>(value); }
129 template<typename LastFailedEvaluationTimeT = Aws::Utils::DateTime>
130 ConfigRuleEvaluationStatus& WithLastFailedEvaluationTime(LastFailedEvaluationTimeT&& value) { SetLastFailedEvaluationTime(std::forward<LastFailedEvaluationTimeT>(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetFirstActivatedTime() const { return m_firstActivatedTime; }
138 inline bool FirstActivatedTimeHasBeenSet() const { return m_firstActivatedTimeHasBeenSet; }
139 template<typename FirstActivatedTimeT = Aws::Utils::DateTime>
140 void SetFirstActivatedTime(FirstActivatedTimeT&& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = std::forward<FirstActivatedTimeT>(value); }
141 template<typename FirstActivatedTimeT = Aws::Utils::DateTime>
142 ConfigRuleEvaluationStatus& WithFirstActivatedTime(FirstActivatedTimeT&& value) { SetFirstActivatedTime(std::forward<FirstActivatedTimeT>(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetLastDeactivatedTime() const { return m_lastDeactivatedTime; }
150 inline bool LastDeactivatedTimeHasBeenSet() const { return m_lastDeactivatedTimeHasBeenSet; }
151 template<typename LastDeactivatedTimeT = Aws::Utils::DateTime>
152 void SetLastDeactivatedTime(LastDeactivatedTimeT&& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = std::forward<LastDeactivatedTimeT>(value); }
153 template<typename LastDeactivatedTimeT = Aws::Utils::DateTime>
154 ConfigRuleEvaluationStatus& WithLastDeactivatedTime(LastDeactivatedTimeT&& value) { SetLastDeactivatedTime(std::forward<LastDeactivatedTimeT>(value)); return *this;}
156
158
161 inline const Aws::String& GetLastErrorCode() const { return m_lastErrorCode; }
162 inline bool LastErrorCodeHasBeenSet() const { return m_lastErrorCodeHasBeenSet; }
163 template<typename LastErrorCodeT = Aws::String>
164 void SetLastErrorCode(LastErrorCodeT&& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = std::forward<LastErrorCodeT>(value); }
165 template<typename LastErrorCodeT = Aws::String>
166 ConfigRuleEvaluationStatus& WithLastErrorCode(LastErrorCodeT&& value) { SetLastErrorCode(std::forward<LastErrorCodeT>(value)); return *this;}
168
170
173 inline const Aws::String& GetLastErrorMessage() const { return m_lastErrorMessage; }
174 inline bool LastErrorMessageHasBeenSet() const { return m_lastErrorMessageHasBeenSet; }
175 template<typename LastErrorMessageT = Aws::String>
176 void SetLastErrorMessage(LastErrorMessageT&& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = std::forward<LastErrorMessageT>(value); }
177 template<typename LastErrorMessageT = Aws::String>
178 ConfigRuleEvaluationStatus& WithLastErrorMessage(LastErrorMessageT&& value) { SetLastErrorMessage(std::forward<LastErrorMessageT>(value)); return *this;}
180
182
189 inline bool GetFirstEvaluationStarted() const { return m_firstEvaluationStarted; }
190 inline bool FirstEvaluationStartedHasBeenSet() const { return m_firstEvaluationStartedHasBeenSet; }
191 inline void SetFirstEvaluationStarted(bool value) { m_firstEvaluationStartedHasBeenSet = true; m_firstEvaluationStarted = value; }
194
196
200 inline const Aws::String& GetLastDebugLogDeliveryStatus() const { return m_lastDebugLogDeliveryStatus; }
201 inline bool LastDebugLogDeliveryStatusHasBeenSet() const { return m_lastDebugLogDeliveryStatusHasBeenSet; }
202 template<typename LastDebugLogDeliveryStatusT = Aws::String>
203 void SetLastDebugLogDeliveryStatus(LastDebugLogDeliveryStatusT&& value) { m_lastDebugLogDeliveryStatusHasBeenSet = true; m_lastDebugLogDeliveryStatus = std::forward<LastDebugLogDeliveryStatusT>(value); }
204 template<typename LastDebugLogDeliveryStatusT = Aws::String>
205 ConfigRuleEvaluationStatus& WithLastDebugLogDeliveryStatus(LastDebugLogDeliveryStatusT&& value) { SetLastDebugLogDeliveryStatus(std::forward<LastDebugLogDeliveryStatusT>(value)); return *this;}
207
209
213 inline const Aws::String& GetLastDebugLogDeliveryStatusReason() const { return m_lastDebugLogDeliveryStatusReason; }
214 inline bool LastDebugLogDeliveryStatusReasonHasBeenSet() const { return m_lastDebugLogDeliveryStatusReasonHasBeenSet; }
215 template<typename LastDebugLogDeliveryStatusReasonT = Aws::String>
216 void SetLastDebugLogDeliveryStatusReason(LastDebugLogDeliveryStatusReasonT&& value) { m_lastDebugLogDeliveryStatusReasonHasBeenSet = true; m_lastDebugLogDeliveryStatusReason = std::forward<LastDebugLogDeliveryStatusReasonT>(value); }
217 template<typename LastDebugLogDeliveryStatusReasonT = Aws::String>
218 ConfigRuleEvaluationStatus& WithLastDebugLogDeliveryStatusReason(LastDebugLogDeliveryStatusReasonT&& value) { SetLastDebugLogDeliveryStatusReason(std::forward<LastDebugLogDeliveryStatusReasonT>(value)); return *this;}
220
222
226 inline const Aws::Utils::DateTime& GetLastDebugLogDeliveryTime() const { return m_lastDebugLogDeliveryTime; }
227 inline bool LastDebugLogDeliveryTimeHasBeenSet() const { return m_lastDebugLogDeliveryTimeHasBeenSet; }
228 template<typename LastDebugLogDeliveryTimeT = Aws::Utils::DateTime>
229 void SetLastDebugLogDeliveryTime(LastDebugLogDeliveryTimeT&& value) { m_lastDebugLogDeliveryTimeHasBeenSet = true; m_lastDebugLogDeliveryTime = std::forward<LastDebugLogDeliveryTimeT>(value); }
230 template<typename LastDebugLogDeliveryTimeT = Aws::Utils::DateTime>
231 ConfigRuleEvaluationStatus& WithLastDebugLogDeliveryTime(LastDebugLogDeliveryTimeT&& value) { SetLastDebugLogDeliveryTime(std::forward<LastDebugLogDeliveryTimeT>(value)); return *this;}
233 private:
234
235 Aws::String m_configRuleName;
236 bool m_configRuleNameHasBeenSet = false;
237
238 Aws::String m_configRuleArn;
239 bool m_configRuleArnHasBeenSet = false;
240
241 Aws::String m_configRuleId;
242 bool m_configRuleIdHasBeenSet = false;
243
244 Aws::Utils::DateTime m_lastSuccessfulInvocationTime{};
245 bool m_lastSuccessfulInvocationTimeHasBeenSet = false;
246
247 Aws::Utils::DateTime m_lastFailedInvocationTime{};
248 bool m_lastFailedInvocationTimeHasBeenSet = false;
249
250 Aws::Utils::DateTime m_lastSuccessfulEvaluationTime{};
251 bool m_lastSuccessfulEvaluationTimeHasBeenSet = false;
252
253 Aws::Utils::DateTime m_lastFailedEvaluationTime{};
254 bool m_lastFailedEvaluationTimeHasBeenSet = false;
255
256 Aws::Utils::DateTime m_firstActivatedTime{};
257 bool m_firstActivatedTimeHasBeenSet = false;
258
259 Aws::Utils::DateTime m_lastDeactivatedTime{};
260 bool m_lastDeactivatedTimeHasBeenSet = false;
261
262 Aws::String m_lastErrorCode;
263 bool m_lastErrorCodeHasBeenSet = false;
264
265 Aws::String m_lastErrorMessage;
266 bool m_lastErrorMessageHasBeenSet = false;
267
268 bool m_firstEvaluationStarted{false};
269 bool m_firstEvaluationStartedHasBeenSet = false;
270
271 Aws::String m_lastDebugLogDeliveryStatus;
272 bool m_lastDebugLogDeliveryStatusHasBeenSet = false;
273
274 Aws::String m_lastDebugLogDeliveryStatusReason;
275 bool m_lastDebugLogDeliveryStatusReasonHasBeenSet = false;
276
277 Aws::Utils::DateTime m_lastDebugLogDeliveryTime{};
278 bool m_lastDebugLogDeliveryTimeHasBeenSet = false;
279 };
280
281} // namespace Model
282} // namespace ConfigService
283} // namespace Aws
ConfigRuleEvaluationStatus & WithConfigRuleName(ConfigRuleNameT &&value)
AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus()=default
ConfigRuleEvaluationStatus & WithLastErrorMessage(LastErrorMessageT &&value)
void SetLastDebugLogDeliveryStatusReason(LastDebugLogDeliveryStatusReasonT &&value)
ConfigRuleEvaluationStatus & WithFirstEvaluationStarted(bool value)
void SetLastSuccessfulEvaluationTime(LastSuccessfulEvaluationTimeT &&value)
ConfigRuleEvaluationStatus & WithLastDeactivatedTime(LastDeactivatedTimeT &&value)
ConfigRuleEvaluationStatus & WithLastFailedInvocationTime(LastFailedInvocationTimeT &&value)
ConfigRuleEvaluationStatus & WithConfigRuleId(ConfigRuleIdT &&value)
ConfigRuleEvaluationStatus & WithFirstActivatedTime(FirstActivatedTimeT &&value)
AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryTime(LastDebugLogDeliveryTimeT &&value)
void SetLastFailedInvocationTime(LastFailedInvocationTimeT &&value)
ConfigRuleEvaluationStatus & WithLastSuccessfulInvocationTime(LastSuccessfulInvocationTimeT &&value)
const Aws::Utils::DateTime & GetLastSuccessfulEvaluationTime() const
void SetLastDebugLogDeliveryStatus(LastDebugLogDeliveryStatusT &&value)
void SetLastSuccessfulInvocationTime(LastSuccessfulInvocationTimeT &&value)
ConfigRuleEvaluationStatus & WithLastSuccessfulEvaluationTime(LastSuccessfulEvaluationTimeT &&value)
AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus(Aws::Utils::Json::JsonView jsonValue)
void SetLastDebugLogDeliveryTime(LastDebugLogDeliveryTimeT &&value)
ConfigRuleEvaluationStatus & WithLastFailedEvaluationTime(LastFailedEvaluationTimeT &&value)
const Aws::Utils::DateTime & GetLastSuccessfulInvocationTime() const
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatusReason(LastDebugLogDeliveryStatusReasonT &&value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatus(LastDebugLogDeliveryStatusT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigRuleEvaluationStatus & WithLastErrorCode(LastErrorCodeT &&value)
void SetLastFailedEvaluationTime(LastFailedEvaluationTimeT &&value)
ConfigRuleEvaluationStatus & WithConfigRuleArn(ConfigRuleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue