AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AggregateEvaluationResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/EvaluationResultIdentifier.h>
9#include <aws/config/model/ComplianceType.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 AggregateEvaluationResult() = default;
41 AWS_CONFIGSERVICE_API AggregateEvaluationResult(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const EvaluationResultIdentifier& GetEvaluationResultIdentifier() const { return m_evaluationResultIdentifier; }
51 inline bool EvaluationResultIdentifierHasBeenSet() const { return m_evaluationResultIdentifierHasBeenSet; }
52 template<typename EvaluationResultIdentifierT = EvaluationResultIdentifier>
53 void SetEvaluationResultIdentifier(EvaluationResultIdentifierT&& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = std::forward<EvaluationResultIdentifierT>(value); }
54 template<typename EvaluationResultIdentifierT = EvaluationResultIdentifier>
55 AggregateEvaluationResult& WithEvaluationResultIdentifier(EvaluationResultIdentifierT&& value) { SetEvaluationResultIdentifier(std::forward<EvaluationResultIdentifierT>(value)); return *this;}
57
59
65 inline ComplianceType GetComplianceType() const { return m_complianceType; }
66 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
67 inline void SetComplianceType(ComplianceType value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
70
72
75 inline const Aws::Utils::DateTime& GetResultRecordedTime() const { return m_resultRecordedTime; }
76 inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; }
77 template<typename ResultRecordedTimeT = Aws::Utils::DateTime>
78 void SetResultRecordedTime(ResultRecordedTimeT&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::forward<ResultRecordedTimeT>(value); }
79 template<typename ResultRecordedTimeT = Aws::Utils::DateTime>
80 AggregateEvaluationResult& WithResultRecordedTime(ResultRecordedTimeT&& value) { SetResultRecordedTime(std::forward<ResultRecordedTimeT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const { return m_configRuleInvokedTime; }
88 inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; }
89 template<typename ConfigRuleInvokedTimeT = Aws::Utils::DateTime>
90 void SetConfigRuleInvokedTime(ConfigRuleInvokedTimeT&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::forward<ConfigRuleInvokedTimeT>(value); }
91 template<typename ConfigRuleInvokedTimeT = Aws::Utils::DateTime>
92 AggregateEvaluationResult& WithConfigRuleInvokedTime(ConfigRuleInvokedTimeT&& value) { SetConfigRuleInvokedTime(std::forward<ConfigRuleInvokedTimeT>(value)); return *this;}
94
96
100 inline const Aws::String& GetAnnotation() const { return m_annotation; }
101 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
102 template<typename AnnotationT = Aws::String>
103 void SetAnnotation(AnnotationT&& value) { m_annotationHasBeenSet = true; m_annotation = std::forward<AnnotationT>(value); }
104 template<typename AnnotationT = Aws::String>
105 AggregateEvaluationResult& WithAnnotation(AnnotationT&& value) { SetAnnotation(std::forward<AnnotationT>(value)); return *this;}
107
109
112 inline const Aws::String& GetAccountId() const { return m_accountId; }
113 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
114 template<typename AccountIdT = Aws::String>
115 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
116 template<typename AccountIdT = Aws::String>
117 AggregateEvaluationResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
119
121
124 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
125 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
126 template<typename AwsRegionT = Aws::String>
127 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
128 template<typename AwsRegionT = Aws::String>
129 AggregateEvaluationResult& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
131 private:
132
133 EvaluationResultIdentifier m_evaluationResultIdentifier;
134 bool m_evaluationResultIdentifierHasBeenSet = false;
135
136 ComplianceType m_complianceType{ComplianceType::NOT_SET};
137 bool m_complianceTypeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_resultRecordedTime{};
140 bool m_resultRecordedTimeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_configRuleInvokedTime{};
143 bool m_configRuleInvokedTimeHasBeenSet = false;
144
145 Aws::String m_annotation;
146 bool m_annotationHasBeenSet = false;
147
148 Aws::String m_accountId;
149 bool m_accountIdHasBeenSet = false;
150
151 Aws::String m_awsRegion;
152 bool m_awsRegionHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace ConfigService
157} // namespace Aws
AggregateEvaluationResult & WithConfigRuleInvokedTime(ConfigRuleInvokedTimeT &&value)
const Aws::Utils::DateTime & GetConfigRuleInvokedTime() const
AWS_CONFIGSERVICE_API AggregateEvaluationResult(Aws::Utils::Json::JsonView jsonValue)
const EvaluationResultIdentifier & GetEvaluationResultIdentifier() const
AggregateEvaluationResult & WithAwsRegion(AwsRegionT &&value)
void SetEvaluationResultIdentifier(EvaluationResultIdentifierT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API AggregateEvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API AggregateEvaluationResult()=default
AggregateEvaluationResult & WithAccountId(AccountIdT &&value)
AggregateEvaluationResult & WithResultRecordedTime(ResultRecordedTimeT &&value)
void SetConfigRuleInvokedTime(ConfigRuleInvokedTimeT &&value)
AggregateEvaluationResult & WithComplianceType(ComplianceType value)
AggregateEvaluationResult & WithEvaluationResultIdentifier(EvaluationResultIdentifierT &&value)
AggregateEvaluationResult & WithAnnotation(AnnotationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue