AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline ConformancePackComplianceType GetComplianceType() const { return m_complianceType; }
52 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
53 inline void SetComplianceType(ConformancePackComplianceType value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
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) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = std::forward<EvaluationResultIdentifierT>(value); }
63 template<typename EvaluationResultIdentifierT = EvaluationResultIdentifier>
64 ConformancePackEvaluationResult& WithEvaluationResultIdentifier(EvaluationResultIdentifierT&& value) { SetEvaluationResultIdentifier(std::forward<EvaluationResultIdentifierT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const { return m_configRuleInvokedTime; }
72 inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; }
73 template<typename ConfigRuleInvokedTimeT = Aws::Utils::DateTime>
74 void SetConfigRuleInvokedTime(ConfigRuleInvokedTimeT&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::forward<ConfigRuleInvokedTimeT>(value); }
75 template<typename ConfigRuleInvokedTimeT = Aws::Utils::DateTime>
76 ConformancePackEvaluationResult& WithConfigRuleInvokedTime(ConfigRuleInvokedTimeT&& value) { SetConfigRuleInvokedTime(std::forward<ConfigRuleInvokedTimeT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetResultRecordedTime() const { return m_resultRecordedTime; }
84 inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; }
85 template<typename ResultRecordedTimeT = Aws::Utils::DateTime>
86 void SetResultRecordedTime(ResultRecordedTimeT&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::forward<ResultRecordedTimeT>(value); }
87 template<typename ResultRecordedTimeT = Aws::Utils::DateTime>
88 ConformancePackEvaluationResult& WithResultRecordedTime(ResultRecordedTimeT&& value) { SetResultRecordedTime(std::forward<ResultRecordedTimeT>(value)); return *this;}
90
92
96 inline const Aws::String& GetAnnotation() const { return m_annotation; }
97 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
98 template<typename AnnotationT = Aws::String>
99 void SetAnnotation(AnnotationT&& value) { m_annotationHasBeenSet = true; m_annotation = std::forward<AnnotationT>(value); }
100 template<typename AnnotationT = Aws::String>
101 ConformancePackEvaluationResult& WithAnnotation(AnnotationT&& value) { SetAnnotation(std::forward<AnnotationT>(value)); return *this;}
103 private:
104
106 bool m_complianceTypeHasBeenSet = false;
107
108 EvaluationResultIdentifier m_evaluationResultIdentifier;
109 bool m_evaluationResultIdentifierHasBeenSet = false;
110
111 Aws::Utils::DateTime m_configRuleInvokedTime{};
112 bool m_configRuleInvokedTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_resultRecordedTime{};
115 bool m_resultRecordedTimeHasBeenSet = false;
116
117 Aws::String m_annotation;
118 bool m_annotationHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace ConfigService
123} // 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