AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationResult.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
37 {
38 public:
39 AWS_CONFIGSERVICE_API EvaluationResult();
40 AWS_CONFIGSERVICE_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONFIGSERVICE_API EvaluationResult& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const EvaluationResultIdentifier& GetEvaluationResultIdentifier() const{ return m_evaluationResultIdentifier; }
50 inline bool EvaluationResultIdentifierHasBeenSet() const { return m_evaluationResultIdentifierHasBeenSet; }
51 inline void SetEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = value; }
52 inline void SetEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = std::move(value); }
56
58
66 inline const ComplianceType& GetComplianceType() const{ return m_complianceType; }
67 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
68 inline void SetComplianceType(const ComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
69 inline void SetComplianceType(ComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
70 inline EvaluationResult& WithComplianceType(const ComplianceType& value) { SetComplianceType(value); return *this;}
71 inline EvaluationResult& WithComplianceType(ComplianceType&& value) { SetComplianceType(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetResultRecordedTime() const{ return m_resultRecordedTime; }
79 inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; }
80 inline void SetResultRecordedTime(const Aws::Utils::DateTime& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; }
81 inline void SetResultRecordedTime(Aws::Utils::DateTime&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::move(value); }
83 inline EvaluationResult& WithResultRecordedTime(Aws::Utils::DateTime&& value) { SetResultRecordedTime(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const{ return m_configRuleInvokedTime; }
91 inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; }
92 inline void SetConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; }
93 inline void SetConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::move(value); }
97
99
103 inline const Aws::String& GetAnnotation() const{ return m_annotation; }
104 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
105 inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; }
106 inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); }
107 inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); }
108 inline EvaluationResult& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;}
109 inline EvaluationResult& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;}
110 inline EvaluationResult& WithAnnotation(const char* value) { SetAnnotation(value); return *this;}
112
114
119 inline const Aws::String& GetResultToken() const{ return m_resultToken; }
120 inline bool ResultTokenHasBeenSet() const { return m_resultTokenHasBeenSet; }
121 inline void SetResultToken(const Aws::String& value) { m_resultTokenHasBeenSet = true; m_resultToken = value; }
122 inline void SetResultToken(Aws::String&& value) { m_resultTokenHasBeenSet = true; m_resultToken = std::move(value); }
123 inline void SetResultToken(const char* value) { m_resultTokenHasBeenSet = true; m_resultToken.assign(value); }
124 inline EvaluationResult& WithResultToken(const Aws::String& value) { SetResultToken(value); return *this;}
125 inline EvaluationResult& WithResultToken(Aws::String&& value) { SetResultToken(std::move(value)); return *this;}
126 inline EvaluationResult& WithResultToken(const char* value) { SetResultToken(value); return *this;}
128 private:
129
130 EvaluationResultIdentifier m_evaluationResultIdentifier;
131 bool m_evaluationResultIdentifierHasBeenSet = false;
132
133 ComplianceType m_complianceType;
134 bool m_complianceTypeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_resultRecordedTime;
137 bool m_resultRecordedTimeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_configRuleInvokedTime;
140 bool m_configRuleInvokedTimeHasBeenSet = false;
141
142 Aws::String m_annotation;
143 bool m_annotationHasBeenSet = false;
144
145 Aws::String m_resultToken;
146 bool m_resultTokenHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace ConfigService
151} // namespace Aws
EvaluationResult & WithConfigRuleInvokedTime(Aws::Utils::DateTime &&value)
EvaluationResult & WithEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
EvaluationResult & WithComplianceType(ComplianceType &&value)
EvaluationResult & WithAnnotation(const char *value)
AWS_CONFIGSERVICE_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue)
EvaluationResult & WithAnnotation(const Aws::String &value)
void SetEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
EvaluationResult & WithComplianceType(const ComplianceType &value)
EvaluationResult & WithResultRecordedTime(const Aws::Utils::DateTime &value)
const EvaluationResultIdentifier & GetEvaluationResultIdentifier() const
const ComplianceType & GetComplianceType() const
void SetConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
void SetEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
void SetConfigRuleInvokedTime(Aws::Utils::DateTime &&value)
EvaluationResult & WithResultToken(const char *value)
EvaluationResult & WithConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetConfigRuleInvokedTime() const
const Aws::Utils::DateTime & GetResultRecordedTime() const
EvaluationResult & WithAnnotation(Aws::String &&value)
void SetResultToken(const Aws::String &value)
EvaluationResult & WithResultToken(const Aws::String &value)
EvaluationResult & WithResultToken(Aws::String &&value)
EvaluationResult & WithEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
EvaluationResult & WithResultRecordedTime(Aws::Utils::DateTime &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API EvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceType(const ComplianceType &value)
void SetResultRecordedTime(Aws::Utils::DateTime &&value)
void SetComplianceType(ComplianceType &&value)
void SetAnnotation(const Aws::String &value)
void SetResultRecordedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue