AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = value; }
53 inline void SetEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = std::move(value); }
57
59
65 inline const ComplianceType& GetComplianceType() const{ return m_complianceType; }
66 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
67 inline void SetComplianceType(const ComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
68 inline void SetComplianceType(ComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
70 inline AggregateEvaluationResult& WithComplianceType(ComplianceType&& value) { SetComplianceType(std::move(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetResultRecordedTime() const{ return m_resultRecordedTime; }
78 inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; }
79 inline void SetResultRecordedTime(const Aws::Utils::DateTime& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; }
80 inline void SetResultRecordedTime(Aws::Utils::DateTime&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::move(value); }
84
86
89 inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const{ return m_configRuleInvokedTime; }
90 inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; }
91 inline void SetConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; }
92 inline void SetConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::move(value); }
96
98
102 inline const Aws::String& GetAnnotation() const{ return m_annotation; }
103 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
104 inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; }
105 inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); }
106 inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); }
107 inline AggregateEvaluationResult& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;}
108 inline AggregateEvaluationResult& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;}
109 inline AggregateEvaluationResult& WithAnnotation(const char* value) { SetAnnotation(value); return *this;}
111
113
116 inline const Aws::String& GetAccountId() const{ return m_accountId; }
117 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
118 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
119 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
120 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
121 inline AggregateEvaluationResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
122 inline AggregateEvaluationResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
123 inline AggregateEvaluationResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
125
127
130 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
131 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
132 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
133 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
134 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
135 inline AggregateEvaluationResult& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
136 inline AggregateEvaluationResult& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
137 inline AggregateEvaluationResult& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
139 private:
140
141 EvaluationResultIdentifier m_evaluationResultIdentifier;
142 bool m_evaluationResultIdentifierHasBeenSet = false;
143
144 ComplianceType m_complianceType;
145 bool m_complianceTypeHasBeenSet = false;
146
147 Aws::Utils::DateTime m_resultRecordedTime;
148 bool m_resultRecordedTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_configRuleInvokedTime;
151 bool m_configRuleInvokedTimeHasBeenSet = false;
152
153 Aws::String m_annotation;
154 bool m_annotationHasBeenSet = false;
155
156 Aws::String m_accountId;
157 bool m_accountIdHasBeenSet = false;
158
159 Aws::String m_awsRegion;
160 bool m_awsRegionHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace ConfigService
165} // namespace Aws
const Aws::Utils::DateTime & GetConfigRuleInvokedTime() const
AWS_CONFIGSERVICE_API AggregateEvaluationResult(Aws::Utils::Json::JsonView jsonValue)
AggregateEvaluationResult & WithAwsRegion(const char *value)
AggregateEvaluationResult & WithAccountId(const Aws::String &value)
AggregateEvaluationResult & WithAnnotation(Aws::String &&value)
AggregateEvaluationResult & WithAccountId(const char *value)
AggregateEvaluationResult & WithAnnotation(const char *value)
AggregateEvaluationResult & WithAnnotation(const Aws::String &value)
const EvaluationResultIdentifier & GetEvaluationResultIdentifier() const
void SetEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
AggregateEvaluationResult & WithResultRecordedTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AggregateEvaluationResult & WithAwsRegion(Aws::String &&value)
AggregateEvaluationResult & WithComplianceType(const ComplianceType &value)
AggregateEvaluationResult & WithEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
AggregateEvaluationResult & WithAwsRegion(const Aws::String &value)
AggregateEvaluationResult & WithAccountId(Aws::String &&value)
AggregateEvaluationResult & WithResultRecordedTime(Aws::Utils::DateTime &&value)
void SetConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API AggregateEvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateEvaluationResult & WithEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
void SetResultRecordedTime(const Aws::Utils::DateTime &value)
AggregateEvaluationResult & WithConfigRuleInvokedTime(Aws::Utils::DateTime &&value)
AggregateEvaluationResult & WithConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
AggregateEvaluationResult & WithComplianceType(ComplianceType &&value)
void SetEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue