AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
52 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
53 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
54 inline ConfigRuleEvaluationStatus& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
55 inline ConfigRuleEvaluationStatus& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
56 inline ConfigRuleEvaluationStatus& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
58
60
63 inline const Aws::String& GetConfigRuleArn() const{ return m_configRuleArn; }
64 inline bool ConfigRuleArnHasBeenSet() const { return m_configRuleArnHasBeenSet; }
65 inline void SetConfigRuleArn(const Aws::String& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = value; }
66 inline void SetConfigRuleArn(Aws::String&& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = std::move(value); }
67 inline void SetConfigRuleArn(const char* value) { m_configRuleArnHasBeenSet = true; m_configRuleArn.assign(value); }
68 inline ConfigRuleEvaluationStatus& WithConfigRuleArn(const Aws::String& value) { SetConfigRuleArn(value); return *this;}
69 inline ConfigRuleEvaluationStatus& WithConfigRuleArn(Aws::String&& value) { SetConfigRuleArn(std::move(value)); return *this;}
70 inline ConfigRuleEvaluationStatus& WithConfigRuleArn(const char* value) { SetConfigRuleArn(value); return *this;}
72
74
77 inline const Aws::String& GetConfigRuleId() const{ return m_configRuleId; }
78 inline bool ConfigRuleIdHasBeenSet() const { return m_configRuleIdHasBeenSet; }
79 inline void SetConfigRuleId(const Aws::String& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = value; }
80 inline void SetConfigRuleId(Aws::String&& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = std::move(value); }
81 inline void SetConfigRuleId(const char* value) { m_configRuleIdHasBeenSet = true; m_configRuleId.assign(value); }
82 inline ConfigRuleEvaluationStatus& WithConfigRuleId(const Aws::String& value) { SetConfigRuleId(value); return *this;}
83 inline ConfigRuleEvaluationStatus& WithConfigRuleId(Aws::String&& value) { SetConfigRuleId(std::move(value)); return *this;}
84 inline ConfigRuleEvaluationStatus& WithConfigRuleId(const char* value) { SetConfigRuleId(value); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetLastSuccessfulInvocationTime() const{ return m_lastSuccessfulInvocationTime; }
93 inline bool LastSuccessfulInvocationTimeHasBeenSet() const { return m_lastSuccessfulInvocationTimeHasBeenSet; }
94 inline void SetLastSuccessfulInvocationTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = value; }
95 inline void SetLastSuccessfulInvocationTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = std::move(value); }
99
101
105 inline const Aws::Utils::DateTime& GetLastFailedInvocationTime() const{ return m_lastFailedInvocationTime; }
106 inline bool LastFailedInvocationTimeHasBeenSet() const { return m_lastFailedInvocationTimeHasBeenSet; }
107 inline void SetLastFailedInvocationTime(const Aws::Utils::DateTime& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = value; }
108 inline void SetLastFailedInvocationTime(Aws::Utils::DateTime&& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = std::move(value); }
112
114
118 inline const Aws::Utils::DateTime& GetLastSuccessfulEvaluationTime() const{ return m_lastSuccessfulEvaluationTime; }
119 inline bool LastSuccessfulEvaluationTimeHasBeenSet() const { return m_lastSuccessfulEvaluationTimeHasBeenSet; }
120 inline void SetLastSuccessfulEvaluationTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = value; }
121 inline void SetLastSuccessfulEvaluationTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = std::move(value); }
125
127
131 inline const Aws::Utils::DateTime& GetLastFailedEvaluationTime() const{ return m_lastFailedEvaluationTime; }
132 inline bool LastFailedEvaluationTimeHasBeenSet() const { return m_lastFailedEvaluationTimeHasBeenSet; }
133 inline void SetLastFailedEvaluationTime(const Aws::Utils::DateTime& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = value; }
134 inline void SetLastFailedEvaluationTime(Aws::Utils::DateTime&& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = std::move(value); }
138
140
143 inline const Aws::Utils::DateTime& GetFirstActivatedTime() const{ return m_firstActivatedTime; }
144 inline bool FirstActivatedTimeHasBeenSet() const { return m_firstActivatedTimeHasBeenSet; }
145 inline void SetFirstActivatedTime(const Aws::Utils::DateTime& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = value; }
146 inline void SetFirstActivatedTime(Aws::Utils::DateTime&& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = std::move(value); }
150
152
155 inline const Aws::Utils::DateTime& GetLastDeactivatedTime() const{ return m_lastDeactivatedTime; }
156 inline bool LastDeactivatedTimeHasBeenSet() const { return m_lastDeactivatedTimeHasBeenSet; }
157 inline void SetLastDeactivatedTime(const Aws::Utils::DateTime& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = value; }
158 inline void SetLastDeactivatedTime(Aws::Utils::DateTime&& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = std::move(value); }
162
164
167 inline const Aws::String& GetLastErrorCode() const{ return m_lastErrorCode; }
168 inline bool LastErrorCodeHasBeenSet() const { return m_lastErrorCodeHasBeenSet; }
169 inline void SetLastErrorCode(const Aws::String& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = value; }
170 inline void SetLastErrorCode(Aws::String&& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = std::move(value); }
171 inline void SetLastErrorCode(const char* value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode.assign(value); }
172 inline ConfigRuleEvaluationStatus& WithLastErrorCode(const Aws::String& value) { SetLastErrorCode(value); return *this;}
173 inline ConfigRuleEvaluationStatus& WithLastErrorCode(Aws::String&& value) { SetLastErrorCode(std::move(value)); return *this;}
174 inline ConfigRuleEvaluationStatus& WithLastErrorCode(const char* value) { SetLastErrorCode(value); return *this;}
176
178
181 inline const Aws::String& GetLastErrorMessage() const{ return m_lastErrorMessage; }
182 inline bool LastErrorMessageHasBeenSet() const { return m_lastErrorMessageHasBeenSet; }
183 inline void SetLastErrorMessage(const Aws::String& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = value; }
184 inline void SetLastErrorMessage(Aws::String&& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = std::move(value); }
185 inline void SetLastErrorMessage(const char* value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage.assign(value); }
187 inline ConfigRuleEvaluationStatus& WithLastErrorMessage(Aws::String&& value) { SetLastErrorMessage(std::move(value)); return *this;}
188 inline ConfigRuleEvaluationStatus& WithLastErrorMessage(const char* value) { SetLastErrorMessage(value); return *this;}
190
192
199 inline bool GetFirstEvaluationStarted() const{ return m_firstEvaluationStarted; }
200 inline bool FirstEvaluationStartedHasBeenSet() const { return m_firstEvaluationStartedHasBeenSet; }
201 inline void SetFirstEvaluationStarted(bool value) { m_firstEvaluationStartedHasBeenSet = true; m_firstEvaluationStarted = value; }
204
206
210 inline const Aws::String& GetLastDebugLogDeliveryStatus() const{ return m_lastDebugLogDeliveryStatus; }
211 inline bool LastDebugLogDeliveryStatusHasBeenSet() const { return m_lastDebugLogDeliveryStatusHasBeenSet; }
212 inline void SetLastDebugLogDeliveryStatus(const Aws::String& value) { m_lastDebugLogDeliveryStatusHasBeenSet = true; m_lastDebugLogDeliveryStatus = value; }
213 inline void SetLastDebugLogDeliveryStatus(Aws::String&& value) { m_lastDebugLogDeliveryStatusHasBeenSet = true; m_lastDebugLogDeliveryStatus = std::move(value); }
214 inline void SetLastDebugLogDeliveryStatus(const char* value) { m_lastDebugLogDeliveryStatusHasBeenSet = true; m_lastDebugLogDeliveryStatus.assign(value); }
219
221
225 inline const Aws::String& GetLastDebugLogDeliveryStatusReason() const{ return m_lastDebugLogDeliveryStatusReason; }
226 inline bool LastDebugLogDeliveryStatusReasonHasBeenSet() const { return m_lastDebugLogDeliveryStatusReasonHasBeenSet; }
227 inline void SetLastDebugLogDeliveryStatusReason(const Aws::String& value) { m_lastDebugLogDeliveryStatusReasonHasBeenSet = true; m_lastDebugLogDeliveryStatusReason = value; }
228 inline void SetLastDebugLogDeliveryStatusReason(Aws::String&& value) { m_lastDebugLogDeliveryStatusReasonHasBeenSet = true; m_lastDebugLogDeliveryStatusReason = std::move(value); }
229 inline void SetLastDebugLogDeliveryStatusReason(const char* value) { m_lastDebugLogDeliveryStatusReasonHasBeenSet = true; m_lastDebugLogDeliveryStatusReason.assign(value); }
234
236
240 inline const Aws::Utils::DateTime& GetLastDebugLogDeliveryTime() const{ return m_lastDebugLogDeliveryTime; }
241 inline bool LastDebugLogDeliveryTimeHasBeenSet() const { return m_lastDebugLogDeliveryTimeHasBeenSet; }
242 inline void SetLastDebugLogDeliveryTime(const Aws::Utils::DateTime& value) { m_lastDebugLogDeliveryTimeHasBeenSet = true; m_lastDebugLogDeliveryTime = value; }
243 inline void SetLastDebugLogDeliveryTime(Aws::Utils::DateTime&& value) { m_lastDebugLogDeliveryTimeHasBeenSet = true; m_lastDebugLogDeliveryTime = std::move(value); }
247 private:
248
249 Aws::String m_configRuleName;
250 bool m_configRuleNameHasBeenSet = false;
251
252 Aws::String m_configRuleArn;
253 bool m_configRuleArnHasBeenSet = false;
254
255 Aws::String m_configRuleId;
256 bool m_configRuleIdHasBeenSet = false;
257
258 Aws::Utils::DateTime m_lastSuccessfulInvocationTime;
259 bool m_lastSuccessfulInvocationTimeHasBeenSet = false;
260
261 Aws::Utils::DateTime m_lastFailedInvocationTime;
262 bool m_lastFailedInvocationTimeHasBeenSet = false;
263
264 Aws::Utils::DateTime m_lastSuccessfulEvaluationTime;
265 bool m_lastSuccessfulEvaluationTimeHasBeenSet = false;
266
267 Aws::Utils::DateTime m_lastFailedEvaluationTime;
268 bool m_lastFailedEvaluationTimeHasBeenSet = false;
269
270 Aws::Utils::DateTime m_firstActivatedTime;
271 bool m_firstActivatedTimeHasBeenSet = false;
272
273 Aws::Utils::DateTime m_lastDeactivatedTime;
274 bool m_lastDeactivatedTimeHasBeenSet = false;
275
276 Aws::String m_lastErrorCode;
277 bool m_lastErrorCodeHasBeenSet = false;
278
279 Aws::String m_lastErrorMessage;
280 bool m_lastErrorMessageHasBeenSet = false;
281
282 bool m_firstEvaluationStarted;
283 bool m_firstEvaluationStartedHasBeenSet = false;
284
285 Aws::String m_lastDebugLogDeliveryStatus;
286 bool m_lastDebugLogDeliveryStatusHasBeenSet = false;
287
288 Aws::String m_lastDebugLogDeliveryStatusReason;
289 bool m_lastDebugLogDeliveryStatusReasonHasBeenSet = false;
290
291 Aws::Utils::DateTime m_lastDebugLogDeliveryTime;
292 bool m_lastDebugLogDeliveryTimeHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace ConfigService
297} // namespace Aws
ConfigRuleEvaluationStatus & WithLastFailedEvaluationTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatusReason(Aws::String &&value)
ConfigRuleEvaluationStatus & WithLastSuccessfulEvaluationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastSuccessfulInvocationTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithConfigRuleArn(const Aws::String &value)
ConfigRuleEvaluationStatus & WithLastSuccessfulEvaluationTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithLastFailedInvocationTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithConfigRuleArn(Aws::String &&value)
ConfigRuleEvaluationStatus & WithFirstActivatedTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithLastFailedEvaluationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatusReason(const Aws::String &value)
ConfigRuleEvaluationStatus & WithLastSuccessfulInvocationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastErrorMessage(const char *value)
ConfigRuleEvaluationStatus & WithFirstEvaluationStarted(bool value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatusReason(const char *value)
ConfigRuleEvaluationStatus & WithLastErrorMessage(const Aws::String &value)
ConfigRuleEvaluationStatus & WithConfigRuleId(const char *value)
ConfigRuleEvaluationStatus & WithLastDeactivatedTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatus(const char *value)
ConfigRuleEvaluationStatus & WithLastFailedInvocationTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastFailedEvaluationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastDeactivatedTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastErrorCode(const Aws::String &value)
ConfigRuleEvaluationStatus & WithConfigRuleArn(const char *value)
void SetLastDeactivatedTime(const Aws::Utils::DateTime &value)
void SetLastDebugLogDeliveryTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastSuccessfulEvaluationTime() const
void SetLastFailedInvocationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithConfigRuleId(Aws::String &&value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatus(Aws::String &&value)
ConfigRuleEvaluationStatus & WithLastErrorCode(const char *value)
ConfigRuleEvaluationStatus & WithConfigRuleName(const char *value)
AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus(Aws::Utils::Json::JsonView jsonValue)
void SetLastSuccessfulEvaluationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithConfigRuleName(const Aws::String &value)
ConfigRuleEvaluationStatus & WithConfigRuleName(Aws::String &&value)
ConfigRuleEvaluationStatus & WithFirstActivatedTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryStatus(const Aws::String &value)
const Aws::Utils::DateTime & GetLastSuccessfulInvocationTime() const
ConfigRuleEvaluationStatus & WithLastErrorCode(Aws::String &&value)
void SetLastSuccessfulInvocationTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryTime(Aws::Utils::DateTime &&value)
ConfigRuleEvaluationStatus & WithLastErrorMessage(Aws::String &&value)
ConfigRuleEvaluationStatus & WithLastDebugLogDeliveryTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFirstActivatedTime(const Aws::Utils::DateTime &value)
ConfigRuleEvaluationStatus & WithConfigRuleId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue