AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService {
23namespace Model {
24
34 public:
35 AWS_CONFIGSERVICE_API ConformancePackEvaluationResult() = default;
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline ConformancePackComplianceType GetComplianceType() const { return m_complianceType; }
46 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
48 m_complianceTypeHasBeenSet = true;
49 m_complianceType = value;
50 }
52 SetComplianceType(value);
53 return *this;
54 }
56
58
59 inline const EvaluationResultIdentifier& GetEvaluationResultIdentifier() const { return m_evaluationResultIdentifier; }
60 inline bool EvaluationResultIdentifierHasBeenSet() const { return m_evaluationResultIdentifierHasBeenSet; }
61 template <typename EvaluationResultIdentifierT = EvaluationResultIdentifier>
62 void SetEvaluationResultIdentifier(EvaluationResultIdentifierT&& value) {
63 m_evaluationResultIdentifierHasBeenSet = true;
64 m_evaluationResultIdentifier = std::forward<EvaluationResultIdentifierT>(value);
65 }
66 template <typename EvaluationResultIdentifierT = EvaluationResultIdentifier>
68 SetEvaluationResultIdentifier(std::forward<EvaluationResultIdentifierT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const { return m_configRuleInvokedTime; }
78 inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; }
79 template <typename ConfigRuleInvokedTimeT = Aws::Utils::DateTime>
80 void SetConfigRuleInvokedTime(ConfigRuleInvokedTimeT&& value) {
81 m_configRuleInvokedTimeHasBeenSet = true;
82 m_configRuleInvokedTime = std::forward<ConfigRuleInvokedTimeT>(value);
83 }
84 template <typename ConfigRuleInvokedTimeT = Aws::Utils::DateTime>
86 SetConfigRuleInvokedTime(std::forward<ConfigRuleInvokedTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetResultRecordedTime() const { return m_resultRecordedTime; }
96 inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; }
97 template <typename ResultRecordedTimeT = Aws::Utils::DateTime>
98 void SetResultRecordedTime(ResultRecordedTimeT&& value) {
99 m_resultRecordedTimeHasBeenSet = true;
100 m_resultRecordedTime = std::forward<ResultRecordedTimeT>(value);
101 }
102 template <typename ResultRecordedTimeT = Aws::Utils::DateTime>
104 SetResultRecordedTime(std::forward<ResultRecordedTimeT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetAnnotation() const { return m_annotation; }
115 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
116 template <typename AnnotationT = Aws::String>
117 void SetAnnotation(AnnotationT&& value) {
118 m_annotationHasBeenSet = true;
119 m_annotation = std::forward<AnnotationT>(value);
120 }
121 template <typename AnnotationT = Aws::String>
123 SetAnnotation(std::forward<AnnotationT>(value));
124 return *this;
125 }
127 private:
129
130 EvaluationResultIdentifier m_evaluationResultIdentifier;
131
132 Aws::Utils::DateTime m_configRuleInvokedTime{};
133
134 Aws::Utils::DateTime m_resultRecordedTime{};
135
136 Aws::String m_annotation;
137 bool m_complianceTypeHasBeenSet = false;
138 bool m_evaluationResultIdentifierHasBeenSet = false;
139 bool m_configRuleInvokedTimeHasBeenSet = false;
140 bool m_resultRecordedTimeHasBeenSet = false;
141 bool m_annotationHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace ConfigService
146} // namespace Aws
ConformancePackEvaluationResult & WithEvaluationResultIdentifier(EvaluationResultIdentifierT &&value)
ConformancePackEvaluationResult & WithAnnotation(AnnotationT &&value)
AWS_CONFIGSERVICE_API ConformancePackEvaluationResult(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API ConformancePackEvaluationResult()=default
ConformancePackEvaluationResult & WithResultRecordedTime(ResultRecordedTimeT &&value)
ConformancePackEvaluationResult & WithComplianceType(ConformancePackComplianceType value)
AWS_CONFIGSERVICE_API ConformancePackEvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
ConformancePackEvaluationResult & WithConfigRuleInvokedTime(ConfigRuleInvokedTimeT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue