AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConformancePackEvaluationResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConformancePackComplianceType.h>
9#include <aws/config/model/EvaluationResultIdentifier.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ConfigService
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_CONFIGSERVICE_API ConformancePackEvaluationResult();
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const ConformancePackComplianceType& GetComplianceType() const{ return m_complianceType; }
52 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
53 inline void SetComplianceType(const ConformancePackComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
54 inline void SetComplianceType(ConformancePackComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
58
60
61 inline const EvaluationResultIdentifier& GetEvaluationResultIdentifier() const{ return m_evaluationResultIdentifier; }
62 inline bool EvaluationResultIdentifierHasBeenSet() const { return m_evaluationResultIdentifierHasBeenSet; }
63 inline void SetEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = value; }
64 inline void SetEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = std::move(value); }
68
70
73 inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const{ return m_configRuleInvokedTime; }
74 inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; }
75 inline void SetConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; }
76 inline void SetConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::move(value); }
80
82
85 inline const Aws::Utils::DateTime& GetResultRecordedTime() const{ return m_resultRecordedTime; }
86 inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; }
87 inline void SetResultRecordedTime(const Aws::Utils::DateTime& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; }
88 inline void SetResultRecordedTime(Aws::Utils::DateTime&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::move(value); }
92
94
98 inline const Aws::String& GetAnnotation() const{ return m_annotation; }
99 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
100 inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; }
101 inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); }
102 inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); }
103 inline ConformancePackEvaluationResult& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;}
104 inline ConformancePackEvaluationResult& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;}
105 inline ConformancePackEvaluationResult& WithAnnotation(const char* value) { SetAnnotation(value); return *this;}
107 private:
108
109 ConformancePackComplianceType m_complianceType;
110 bool m_complianceTypeHasBeenSet = false;
111
112 EvaluationResultIdentifier m_evaluationResultIdentifier;
113 bool m_evaluationResultIdentifierHasBeenSet = false;
114
115 Aws::Utils::DateTime m_configRuleInvokedTime;
116 bool m_configRuleInvokedTimeHasBeenSet = false;
117
118 Aws::Utils::DateTime m_resultRecordedTime;
119 bool m_resultRecordedTimeHasBeenSet = false;
120
121 Aws::String m_annotation;
122 bool m_annotationHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ConfigService
127} // namespace Aws
ConformancePackEvaluationResult & WithAnnotation(Aws::String &&value)
ConformancePackEvaluationResult & WithEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
ConformancePackEvaluationResult & WithResultRecordedTime(const Aws::Utils::DateTime &value)
ConformancePackEvaluationResult & WithConfigRuleInvokedTime(Aws::Utils::DateTime &&value)
AWS_CONFIGSERVICE_API ConformancePackEvaluationResult(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
ConformancePackEvaluationResult & WithAnnotation(const Aws::String &value)
ConformancePackEvaluationResult & WithResultRecordedTime(Aws::Utils::DateTime &&value)
ConformancePackEvaluationResult & WithComplianceType(ConformancePackComplianceType &&value)
ConformancePackEvaluationResult & WithComplianceType(const ConformancePackComplianceType &value)
AWS_CONFIGSERVICE_API ConformancePackEvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceType(const ConformancePackComplianceType &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConformancePackEvaluationResult & WithAnnotation(const char *value)
ConformancePackEvaluationResult & WithEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
ConformancePackEvaluationResult & WithConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue