1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18   class JsonValue;
19   class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ConfigService
23 {
24 namespace Model
25 {
26 
27   /**
28    * <p>Status information for your Config managed rules. The status includes
29    * information such as the last time the rule ran, the last time it failed, and the
30    * related error for the last failure.</p> <p>This action does not return status
31    * information about custom Config rules.</p><p><h3>See Also:</h3>   <a
32    * href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigRuleEvaluationStatus">AWS
33    * API Reference</a></p>
34    */
35   class AWS_CONFIGSERVICE_API ConfigRuleEvaluationStatus
36   {
37   public:
38     ConfigRuleEvaluationStatus();
39     ConfigRuleEvaluationStatus(Aws::Utils::Json::JsonView jsonValue);
40     ConfigRuleEvaluationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
41     Aws::Utils::Json::JsonValue Jsonize() const;
42 
43 
44     /**
45      * <p>The name of the Config rule.</p>
46      */
GetConfigRuleName()47     inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
48 
49     /**
50      * <p>The name of the Config rule.</p>
51      */
ConfigRuleNameHasBeenSet()52     inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
53 
54     /**
55      * <p>The name of the Config rule.</p>
56      */
SetConfigRuleName(const Aws::String & value)57     inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
58 
59     /**
60      * <p>The name of the Config rule.</p>
61      */
SetConfigRuleName(Aws::String && value)62     inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
63 
64     /**
65      * <p>The name of the Config rule.</p>
66      */
SetConfigRuleName(const char * value)67     inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
68 
69     /**
70      * <p>The name of the Config rule.</p>
71      */
WithConfigRuleName(const Aws::String & value)72     inline ConfigRuleEvaluationStatus& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
73 
74     /**
75      * <p>The name of the Config rule.</p>
76      */
WithConfigRuleName(Aws::String && value)77     inline ConfigRuleEvaluationStatus& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
78 
79     /**
80      * <p>The name of the Config rule.</p>
81      */
WithConfigRuleName(const char * value)82     inline ConfigRuleEvaluationStatus& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
83 
84 
85     /**
86      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
87      */
GetConfigRuleArn()88     inline const Aws::String& GetConfigRuleArn() const{ return m_configRuleArn; }
89 
90     /**
91      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
92      */
ConfigRuleArnHasBeenSet()93     inline bool ConfigRuleArnHasBeenSet() const { return m_configRuleArnHasBeenSet; }
94 
95     /**
96      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
97      */
SetConfigRuleArn(const Aws::String & value)98     inline void SetConfigRuleArn(const Aws::String& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = value; }
99 
100     /**
101      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
102      */
SetConfigRuleArn(Aws::String && value)103     inline void SetConfigRuleArn(Aws::String&& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = std::move(value); }
104 
105     /**
106      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
107      */
SetConfigRuleArn(const char * value)108     inline void SetConfigRuleArn(const char* value) { m_configRuleArnHasBeenSet = true; m_configRuleArn.assign(value); }
109 
110     /**
111      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
112      */
WithConfigRuleArn(const Aws::String & value)113     inline ConfigRuleEvaluationStatus& WithConfigRuleArn(const Aws::String& value) { SetConfigRuleArn(value); return *this;}
114 
115     /**
116      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
117      */
WithConfigRuleArn(Aws::String && value)118     inline ConfigRuleEvaluationStatus& WithConfigRuleArn(Aws::String&& value) { SetConfigRuleArn(std::move(value)); return *this;}
119 
120     /**
121      * <p>The Amazon Resource Name (ARN) of the Config rule.</p>
122      */
WithConfigRuleArn(const char * value)123     inline ConfigRuleEvaluationStatus& WithConfigRuleArn(const char* value) { SetConfigRuleArn(value); return *this;}
124 
125 
126     /**
127      * <p>The ID of the Config rule.</p>
128      */
GetConfigRuleId()129     inline const Aws::String& GetConfigRuleId() const{ return m_configRuleId; }
130 
131     /**
132      * <p>The ID of the Config rule.</p>
133      */
ConfigRuleIdHasBeenSet()134     inline bool ConfigRuleIdHasBeenSet() const { return m_configRuleIdHasBeenSet; }
135 
136     /**
137      * <p>The ID of the Config rule.</p>
138      */
SetConfigRuleId(const Aws::String & value)139     inline void SetConfigRuleId(const Aws::String& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = value; }
140 
141     /**
142      * <p>The ID of the Config rule.</p>
143      */
SetConfigRuleId(Aws::String && value)144     inline void SetConfigRuleId(Aws::String&& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = std::move(value); }
145 
146     /**
147      * <p>The ID of the Config rule.</p>
148      */
SetConfigRuleId(const char * value)149     inline void SetConfigRuleId(const char* value) { m_configRuleIdHasBeenSet = true; m_configRuleId.assign(value); }
150 
151     /**
152      * <p>The ID of the Config rule.</p>
153      */
WithConfigRuleId(const Aws::String & value)154     inline ConfigRuleEvaluationStatus& WithConfigRuleId(const Aws::String& value) { SetConfigRuleId(value); return *this;}
155 
156     /**
157      * <p>The ID of the Config rule.</p>
158      */
WithConfigRuleId(Aws::String && value)159     inline ConfigRuleEvaluationStatus& WithConfigRuleId(Aws::String&& value) { SetConfigRuleId(std::move(value)); return *this;}
160 
161     /**
162      * <p>The ID of the Config rule.</p>
163      */
WithConfigRuleId(const char * value)164     inline ConfigRuleEvaluationStatus& WithConfigRuleId(const char* value) { SetConfigRuleId(value); return *this;}
165 
166 
167     /**
168      * <p>The time that Config last successfully invoked the Config rule to evaluate
169      * your Amazon Web Services resources.</p>
170      */
GetLastSuccessfulInvocationTime()171     inline const Aws::Utils::DateTime& GetLastSuccessfulInvocationTime() const{ return m_lastSuccessfulInvocationTime; }
172 
173     /**
174      * <p>The time that Config last successfully invoked the Config rule to evaluate
175      * your Amazon Web Services resources.</p>
176      */
LastSuccessfulInvocationTimeHasBeenSet()177     inline bool LastSuccessfulInvocationTimeHasBeenSet() const { return m_lastSuccessfulInvocationTimeHasBeenSet; }
178 
179     /**
180      * <p>The time that Config last successfully invoked the Config rule to evaluate
181      * your Amazon Web Services resources.</p>
182      */
SetLastSuccessfulInvocationTime(const Aws::Utils::DateTime & value)183     inline void SetLastSuccessfulInvocationTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = value; }
184 
185     /**
186      * <p>The time that Config last successfully invoked the Config rule to evaluate
187      * your Amazon Web Services resources.</p>
188      */
SetLastSuccessfulInvocationTime(Aws::Utils::DateTime && value)189     inline void SetLastSuccessfulInvocationTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = std::move(value); }
190 
191     /**
192      * <p>The time that Config last successfully invoked the Config rule to evaluate
193      * your Amazon Web Services resources.</p>
194      */
WithLastSuccessfulInvocationTime(const Aws::Utils::DateTime & value)195     inline ConfigRuleEvaluationStatus& WithLastSuccessfulInvocationTime(const Aws::Utils::DateTime& value) { SetLastSuccessfulInvocationTime(value); return *this;}
196 
197     /**
198      * <p>The time that Config last successfully invoked the Config rule to evaluate
199      * your Amazon Web Services resources.</p>
200      */
WithLastSuccessfulInvocationTime(Aws::Utils::DateTime && value)201     inline ConfigRuleEvaluationStatus& WithLastSuccessfulInvocationTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulInvocationTime(std::move(value)); return *this;}
202 
203 
204     /**
205      * <p>The time that Config last failed to invoke the Config rule to evaluate your
206      * Amazon Web Services resources.</p>
207      */
GetLastFailedInvocationTime()208     inline const Aws::Utils::DateTime& GetLastFailedInvocationTime() const{ return m_lastFailedInvocationTime; }
209 
210     /**
211      * <p>The time that Config last failed to invoke the Config rule to evaluate your
212      * Amazon Web Services resources.</p>
213      */
LastFailedInvocationTimeHasBeenSet()214     inline bool LastFailedInvocationTimeHasBeenSet() const { return m_lastFailedInvocationTimeHasBeenSet; }
215 
216     /**
217      * <p>The time that Config last failed to invoke the Config rule to evaluate your
218      * Amazon Web Services resources.</p>
219      */
SetLastFailedInvocationTime(const Aws::Utils::DateTime & value)220     inline void SetLastFailedInvocationTime(const Aws::Utils::DateTime& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = value; }
221 
222     /**
223      * <p>The time that Config last failed to invoke the Config rule to evaluate your
224      * Amazon Web Services resources.</p>
225      */
SetLastFailedInvocationTime(Aws::Utils::DateTime && value)226     inline void SetLastFailedInvocationTime(Aws::Utils::DateTime&& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = std::move(value); }
227 
228     /**
229      * <p>The time that Config last failed to invoke the Config rule to evaluate your
230      * Amazon Web Services resources.</p>
231      */
WithLastFailedInvocationTime(const Aws::Utils::DateTime & value)232     inline ConfigRuleEvaluationStatus& WithLastFailedInvocationTime(const Aws::Utils::DateTime& value) { SetLastFailedInvocationTime(value); return *this;}
233 
234     /**
235      * <p>The time that Config last failed to invoke the Config rule to evaluate your
236      * Amazon Web Services resources.</p>
237      */
WithLastFailedInvocationTime(Aws::Utils::DateTime && value)238     inline ConfigRuleEvaluationStatus& WithLastFailedInvocationTime(Aws::Utils::DateTime&& value) { SetLastFailedInvocationTime(std::move(value)); return *this;}
239 
240 
241     /**
242      * <p>The time that Config last successfully evaluated your Amazon Web Services
243      * resources against the rule.</p>
244      */
GetLastSuccessfulEvaluationTime()245     inline const Aws::Utils::DateTime& GetLastSuccessfulEvaluationTime() const{ return m_lastSuccessfulEvaluationTime; }
246 
247     /**
248      * <p>The time that Config last successfully evaluated your Amazon Web Services
249      * resources against the rule.</p>
250      */
LastSuccessfulEvaluationTimeHasBeenSet()251     inline bool LastSuccessfulEvaluationTimeHasBeenSet() const { return m_lastSuccessfulEvaluationTimeHasBeenSet; }
252 
253     /**
254      * <p>The time that Config last successfully evaluated your Amazon Web Services
255      * resources against the rule.</p>
256      */
SetLastSuccessfulEvaluationTime(const Aws::Utils::DateTime & value)257     inline void SetLastSuccessfulEvaluationTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = value; }
258 
259     /**
260      * <p>The time that Config last successfully evaluated your Amazon Web Services
261      * resources against the rule.</p>
262      */
SetLastSuccessfulEvaluationTime(Aws::Utils::DateTime && value)263     inline void SetLastSuccessfulEvaluationTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = std::move(value); }
264 
265     /**
266      * <p>The time that Config last successfully evaluated your Amazon Web Services
267      * resources against the rule.</p>
268      */
WithLastSuccessfulEvaluationTime(const Aws::Utils::DateTime & value)269     inline ConfigRuleEvaluationStatus& WithLastSuccessfulEvaluationTime(const Aws::Utils::DateTime& value) { SetLastSuccessfulEvaluationTime(value); return *this;}
270 
271     /**
272      * <p>The time that Config last successfully evaluated your Amazon Web Services
273      * resources against the rule.</p>
274      */
WithLastSuccessfulEvaluationTime(Aws::Utils::DateTime && value)275     inline ConfigRuleEvaluationStatus& WithLastSuccessfulEvaluationTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulEvaluationTime(std::move(value)); return *this;}
276 
277 
278     /**
279      * <p>The time that Config last failed to evaluate your Amazon Web Services
280      * resources against the rule.</p>
281      */
GetLastFailedEvaluationTime()282     inline const Aws::Utils::DateTime& GetLastFailedEvaluationTime() const{ return m_lastFailedEvaluationTime; }
283 
284     /**
285      * <p>The time that Config last failed to evaluate your Amazon Web Services
286      * resources against the rule.</p>
287      */
LastFailedEvaluationTimeHasBeenSet()288     inline bool LastFailedEvaluationTimeHasBeenSet() const { return m_lastFailedEvaluationTimeHasBeenSet; }
289 
290     /**
291      * <p>The time that Config last failed to evaluate your Amazon Web Services
292      * resources against the rule.</p>
293      */
SetLastFailedEvaluationTime(const Aws::Utils::DateTime & value)294     inline void SetLastFailedEvaluationTime(const Aws::Utils::DateTime& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = value; }
295 
296     /**
297      * <p>The time that Config last failed to evaluate your Amazon Web Services
298      * resources against the rule.</p>
299      */
SetLastFailedEvaluationTime(Aws::Utils::DateTime && value)300     inline void SetLastFailedEvaluationTime(Aws::Utils::DateTime&& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = std::move(value); }
301 
302     /**
303      * <p>The time that Config last failed to evaluate your Amazon Web Services
304      * resources against the rule.</p>
305      */
WithLastFailedEvaluationTime(const Aws::Utils::DateTime & value)306     inline ConfigRuleEvaluationStatus& WithLastFailedEvaluationTime(const Aws::Utils::DateTime& value) { SetLastFailedEvaluationTime(value); return *this;}
307 
308     /**
309      * <p>The time that Config last failed to evaluate your Amazon Web Services
310      * resources against the rule.</p>
311      */
WithLastFailedEvaluationTime(Aws::Utils::DateTime && value)312     inline ConfigRuleEvaluationStatus& WithLastFailedEvaluationTime(Aws::Utils::DateTime&& value) { SetLastFailedEvaluationTime(std::move(value)); return *this;}
313 
314 
315     /**
316      * <p>The time that you first activated the Config rule.</p>
317      */
GetFirstActivatedTime()318     inline const Aws::Utils::DateTime& GetFirstActivatedTime() const{ return m_firstActivatedTime; }
319 
320     /**
321      * <p>The time that you first activated the Config rule.</p>
322      */
FirstActivatedTimeHasBeenSet()323     inline bool FirstActivatedTimeHasBeenSet() const { return m_firstActivatedTimeHasBeenSet; }
324 
325     /**
326      * <p>The time that you first activated the Config rule.</p>
327      */
SetFirstActivatedTime(const Aws::Utils::DateTime & value)328     inline void SetFirstActivatedTime(const Aws::Utils::DateTime& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = value; }
329 
330     /**
331      * <p>The time that you first activated the Config rule.</p>
332      */
SetFirstActivatedTime(Aws::Utils::DateTime && value)333     inline void SetFirstActivatedTime(Aws::Utils::DateTime&& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = std::move(value); }
334 
335     /**
336      * <p>The time that you first activated the Config rule.</p>
337      */
WithFirstActivatedTime(const Aws::Utils::DateTime & value)338     inline ConfigRuleEvaluationStatus& WithFirstActivatedTime(const Aws::Utils::DateTime& value) { SetFirstActivatedTime(value); return *this;}
339 
340     /**
341      * <p>The time that you first activated the Config rule.</p>
342      */
WithFirstActivatedTime(Aws::Utils::DateTime && value)343     inline ConfigRuleEvaluationStatus& WithFirstActivatedTime(Aws::Utils::DateTime&& value) { SetFirstActivatedTime(std::move(value)); return *this;}
344 
345 
346     /**
347      * <p>The time that you last turned off the Config rule.</p>
348      */
GetLastDeactivatedTime()349     inline const Aws::Utils::DateTime& GetLastDeactivatedTime() const{ return m_lastDeactivatedTime; }
350 
351     /**
352      * <p>The time that you last turned off the Config rule.</p>
353      */
LastDeactivatedTimeHasBeenSet()354     inline bool LastDeactivatedTimeHasBeenSet() const { return m_lastDeactivatedTimeHasBeenSet; }
355 
356     /**
357      * <p>The time that you last turned off the Config rule.</p>
358      */
SetLastDeactivatedTime(const Aws::Utils::DateTime & value)359     inline void SetLastDeactivatedTime(const Aws::Utils::DateTime& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = value; }
360 
361     /**
362      * <p>The time that you last turned off the Config rule.</p>
363      */
SetLastDeactivatedTime(Aws::Utils::DateTime && value)364     inline void SetLastDeactivatedTime(Aws::Utils::DateTime&& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = std::move(value); }
365 
366     /**
367      * <p>The time that you last turned off the Config rule.</p>
368      */
WithLastDeactivatedTime(const Aws::Utils::DateTime & value)369     inline ConfigRuleEvaluationStatus& WithLastDeactivatedTime(const Aws::Utils::DateTime& value) { SetLastDeactivatedTime(value); return *this;}
370 
371     /**
372      * <p>The time that you last turned off the Config rule.</p>
373      */
WithLastDeactivatedTime(Aws::Utils::DateTime && value)374     inline ConfigRuleEvaluationStatus& WithLastDeactivatedTime(Aws::Utils::DateTime&& value) { SetLastDeactivatedTime(std::move(value)); return *this;}
375 
376 
377     /**
378      * <p>The error code that Config returned when the rule last failed.</p>
379      */
GetLastErrorCode()380     inline const Aws::String& GetLastErrorCode() const{ return m_lastErrorCode; }
381 
382     /**
383      * <p>The error code that Config returned when the rule last failed.</p>
384      */
LastErrorCodeHasBeenSet()385     inline bool LastErrorCodeHasBeenSet() const { return m_lastErrorCodeHasBeenSet; }
386 
387     /**
388      * <p>The error code that Config returned when the rule last failed.</p>
389      */
SetLastErrorCode(const Aws::String & value)390     inline void SetLastErrorCode(const Aws::String& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = value; }
391 
392     /**
393      * <p>The error code that Config returned when the rule last failed.</p>
394      */
SetLastErrorCode(Aws::String && value)395     inline void SetLastErrorCode(Aws::String&& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = std::move(value); }
396 
397     /**
398      * <p>The error code that Config returned when the rule last failed.</p>
399      */
SetLastErrorCode(const char * value)400     inline void SetLastErrorCode(const char* value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode.assign(value); }
401 
402     /**
403      * <p>The error code that Config returned when the rule last failed.</p>
404      */
WithLastErrorCode(const Aws::String & value)405     inline ConfigRuleEvaluationStatus& WithLastErrorCode(const Aws::String& value) { SetLastErrorCode(value); return *this;}
406 
407     /**
408      * <p>The error code that Config returned when the rule last failed.</p>
409      */
WithLastErrorCode(Aws::String && value)410     inline ConfigRuleEvaluationStatus& WithLastErrorCode(Aws::String&& value) { SetLastErrorCode(std::move(value)); return *this;}
411 
412     /**
413      * <p>The error code that Config returned when the rule last failed.</p>
414      */
WithLastErrorCode(const char * value)415     inline ConfigRuleEvaluationStatus& WithLastErrorCode(const char* value) { SetLastErrorCode(value); return *this;}
416 
417 
418     /**
419      * <p>The error message that Config returned when the rule last failed.</p>
420      */
GetLastErrorMessage()421     inline const Aws::String& GetLastErrorMessage() const{ return m_lastErrorMessage; }
422 
423     /**
424      * <p>The error message that Config returned when the rule last failed.</p>
425      */
LastErrorMessageHasBeenSet()426     inline bool LastErrorMessageHasBeenSet() const { return m_lastErrorMessageHasBeenSet; }
427 
428     /**
429      * <p>The error message that Config returned when the rule last failed.</p>
430      */
SetLastErrorMessage(const Aws::String & value)431     inline void SetLastErrorMessage(const Aws::String& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = value; }
432 
433     /**
434      * <p>The error message that Config returned when the rule last failed.</p>
435      */
SetLastErrorMessage(Aws::String && value)436     inline void SetLastErrorMessage(Aws::String&& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = std::move(value); }
437 
438     /**
439      * <p>The error message that Config returned when the rule last failed.</p>
440      */
SetLastErrorMessage(const char * value)441     inline void SetLastErrorMessage(const char* value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage.assign(value); }
442 
443     /**
444      * <p>The error message that Config returned when the rule last failed.</p>
445      */
WithLastErrorMessage(const Aws::String & value)446     inline ConfigRuleEvaluationStatus& WithLastErrorMessage(const Aws::String& value) { SetLastErrorMessage(value); return *this;}
447 
448     /**
449      * <p>The error message that Config returned when the rule last failed.</p>
450      */
WithLastErrorMessage(Aws::String && value)451     inline ConfigRuleEvaluationStatus& WithLastErrorMessage(Aws::String&& value) { SetLastErrorMessage(std::move(value)); return *this;}
452 
453     /**
454      * <p>The error message that Config returned when the rule last failed.</p>
455      */
WithLastErrorMessage(const char * value)456     inline ConfigRuleEvaluationStatus& WithLastErrorMessage(const char* value) { SetLastErrorMessage(value); return *this;}
457 
458 
459     /**
460      * <p>Indicates whether Config has evaluated your resources against the rule at
461      * least once.</p> <ul> <li> <p> <code>true</code> - Config has evaluated your
462      * Amazon Web Services resources against the rule at least once.</p> </li> <li> <p>
463      * <code>false</code> - Config has not once finished evaluating your Amazon Web
464      * Services resources against the rule.</p> </li> </ul>
465      */
GetFirstEvaluationStarted()466     inline bool GetFirstEvaluationStarted() const{ return m_firstEvaluationStarted; }
467 
468     /**
469      * <p>Indicates whether Config has evaluated your resources against the rule at
470      * least once.</p> <ul> <li> <p> <code>true</code> - Config has evaluated your
471      * Amazon Web Services resources against the rule at least once.</p> </li> <li> <p>
472      * <code>false</code> - Config has not once finished evaluating your Amazon Web
473      * Services resources against the rule.</p> </li> </ul>
474      */
FirstEvaluationStartedHasBeenSet()475     inline bool FirstEvaluationStartedHasBeenSet() const { return m_firstEvaluationStartedHasBeenSet; }
476 
477     /**
478      * <p>Indicates whether Config has evaluated your resources against the rule at
479      * least once.</p> <ul> <li> <p> <code>true</code> - Config has evaluated your
480      * Amazon Web Services resources against the rule at least once.</p> </li> <li> <p>
481      * <code>false</code> - Config has not once finished evaluating your Amazon Web
482      * Services resources against the rule.</p> </li> </ul>
483      */
SetFirstEvaluationStarted(bool value)484     inline void SetFirstEvaluationStarted(bool value) { m_firstEvaluationStartedHasBeenSet = true; m_firstEvaluationStarted = value; }
485 
486     /**
487      * <p>Indicates whether Config has evaluated your resources against the rule at
488      * least once.</p> <ul> <li> <p> <code>true</code> - Config has evaluated your
489      * Amazon Web Services resources against the rule at least once.</p> </li> <li> <p>
490      * <code>false</code> - Config has not once finished evaluating your Amazon Web
491      * Services resources against the rule.</p> </li> </ul>
492      */
WithFirstEvaluationStarted(bool value)493     inline ConfigRuleEvaluationStatus& WithFirstEvaluationStarted(bool value) { SetFirstEvaluationStarted(value); return *this;}
494 
495   private:
496 
497     Aws::String m_configRuleName;
498     bool m_configRuleNameHasBeenSet;
499 
500     Aws::String m_configRuleArn;
501     bool m_configRuleArnHasBeenSet;
502 
503     Aws::String m_configRuleId;
504     bool m_configRuleIdHasBeenSet;
505 
506     Aws::Utils::DateTime m_lastSuccessfulInvocationTime;
507     bool m_lastSuccessfulInvocationTimeHasBeenSet;
508 
509     Aws::Utils::DateTime m_lastFailedInvocationTime;
510     bool m_lastFailedInvocationTimeHasBeenSet;
511 
512     Aws::Utils::DateTime m_lastSuccessfulEvaluationTime;
513     bool m_lastSuccessfulEvaluationTimeHasBeenSet;
514 
515     Aws::Utils::DateTime m_lastFailedEvaluationTime;
516     bool m_lastFailedEvaluationTimeHasBeenSet;
517 
518     Aws::Utils::DateTime m_firstActivatedTime;
519     bool m_firstActivatedTimeHasBeenSet;
520 
521     Aws::Utils::DateTime m_lastDeactivatedTime;
522     bool m_lastDeactivatedTimeHasBeenSet;
523 
524     Aws::String m_lastErrorCode;
525     bool m_lastErrorCodeHasBeenSet;
526 
527     Aws::String m_lastErrorMessage;
528     bool m_lastErrorMessageHasBeenSet;
529 
530     bool m_firstEvaluationStarted;
531     bool m_firstEvaluationStartedHasBeenSet;
532   };
533 
534 } // namespace Model
535 } // namespace ConfigService
536 } // namespace Aws
537