AWS SDK for C++  0.14.3
AWS SDK for C++
EvaluationResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace ConfigService
32 {
33 namespace Model
34 {
35 
42  {
43  public:
46  EvaluationResult& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
47  Aws::Utils::Json::JsonValue Jsonize() const;
48 
52  inline const EvaluationResultIdentifier& GetEvaluationResultIdentifier() const{ return m_evaluationResultIdentifier; }
53 
57  inline void SetEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = value; }
58 
62  inline void SetEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = value; }
63 
67  inline EvaluationResult& WithEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { SetEvaluationResultIdentifier(value); return *this;}
68 
72  inline EvaluationResult& WithEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { SetEvaluationResultIdentifier(value); return *this;}
73 
82  inline const ComplianceType& GetComplianceType() const{ return m_complianceType; }
83 
92  inline void SetComplianceType(const ComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
93 
102  inline void SetComplianceType(ComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
103 
112  inline EvaluationResult& WithComplianceType(const ComplianceType& value) { SetComplianceType(value); return *this;}
113 
122  inline EvaluationResult& WithComplianceType(ComplianceType&& value) { SetComplianceType(value); return *this;}
123 
127  inline const Aws::Utils::DateTime& GetResultRecordedTime() const{ return m_resultRecordedTime; }
128 
132  inline void SetResultRecordedTime(const Aws::Utils::DateTime& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; }
133 
137  inline void SetResultRecordedTime(Aws::Utils::DateTime&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; }
138 
142  inline EvaluationResult& WithResultRecordedTime(const Aws::Utils::DateTime& value) { SetResultRecordedTime(value); return *this;}
143 
147  inline EvaluationResult& WithResultRecordedTime(Aws::Utils::DateTime&& value) { SetResultRecordedTime(value); return *this;}
148 
152  inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const{ return m_configRuleInvokedTime; }
153 
157  inline void SetConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; }
158 
162  inline void SetConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; }
163 
167  inline EvaluationResult& WithConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { SetConfigRuleInvokedTime(value); return *this;}
168 
172  inline EvaluationResult& WithConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { SetConfigRuleInvokedTime(value); return *this;}
173 
178  inline const Aws::String& GetAnnotation() const{ return m_annotation; }
179 
184  inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; }
185 
190  inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = value; }
191 
196  inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); }
197 
202  inline EvaluationResult& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;}
203 
208  inline EvaluationResult& WithAnnotation(Aws::String&& value) { SetAnnotation(value); return *this;}
209 
214  inline EvaluationResult& WithAnnotation(const char* value) { SetAnnotation(value); return *this;}
215 
221  inline const Aws::String& GetResultToken() const{ return m_resultToken; }
222 
228  inline void SetResultToken(const Aws::String& value) { m_resultTokenHasBeenSet = true; m_resultToken = value; }
229 
235  inline void SetResultToken(Aws::String&& value) { m_resultTokenHasBeenSet = true; m_resultToken = value; }
236 
242  inline void SetResultToken(const char* value) { m_resultTokenHasBeenSet = true; m_resultToken.assign(value); }
243 
249  inline EvaluationResult& WithResultToken(const Aws::String& value) { SetResultToken(value); return *this;}
250 
256  inline EvaluationResult& WithResultToken(Aws::String&& value) { SetResultToken(value); return *this;}
257 
263  inline EvaluationResult& WithResultToken(const char* value) { SetResultToken(value); return *this;}
264 
265  private:
266  EvaluationResultIdentifier m_evaluationResultIdentifier;
267  bool m_evaluationResultIdentifierHasBeenSet;
268  ComplianceType m_complianceType;
269  bool m_complianceTypeHasBeenSet;
270  Aws::Utils::DateTime m_resultRecordedTime;
271  bool m_resultRecordedTimeHasBeenSet;
272  Aws::Utils::DateTime m_configRuleInvokedTime;
273  bool m_configRuleInvokedTimeHasBeenSet;
274  Aws::String m_annotation;
275  bool m_annotationHasBeenSet;
276  Aws::String m_resultToken;
277  bool m_resultTokenHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace ConfigService
282 } // namespace Aws
void SetComplianceType(const ComplianceType &value)
EvaluationResult & WithResultToken(const Aws::String &value)
void SetConfigRuleInvokedTime(Aws::Utils::DateTime &&value)
void SetEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
const Aws::Utils::DateTime & GetConfigRuleInvokedTime() const
const Aws::String & GetResultToken() const
EvaluationResult & WithAnnotation(const char *value)
void SetComplianceType(ComplianceType &&value)
EvaluationResult & WithResultRecordedTime(const Aws::Utils::DateTime &value)
void SetEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
EvaluationResult & WithComplianceType(const ComplianceType &value)
EvaluationResult & WithConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
void SetAnnotation(const Aws::String &value)
EvaluationResult & WithEvaluationResultIdentifier(EvaluationResultIdentifier &&value)
const ComplianceType & GetComplianceType() const
EvaluationResult & WithResultToken(const char *value)
EvaluationResult & WithConfigRuleInvokedTime(Aws::Utils::DateTime &&value)
EvaluationResult & WithEvaluationResultIdentifier(const EvaluationResultIdentifier &value)
const Aws::Utils::DateTime & GetResultRecordedTime() const
void SetResultRecordedTime(Aws::Utils::DateTime &&value)
EvaluationResult & WithComplianceType(ComplianceType &&value)
EvaluationResult & WithAnnotation(const Aws::String &value)
const Aws::String & GetAnnotation() const
EvaluationResult & WithAnnotation(Aws::String &&value)
void SetResultToken(const Aws::String &value)
EvaluationResult & WithResultToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const EvaluationResultIdentifier & GetEvaluationResultIdentifier() const
void SetResultRecordedTime(const Aws::Utils::DateTime &value)
EvaluationResult & WithResultRecordedTime(Aws::Utils::DateTime &&value)
#define AWS_CONFIGSERVICE_API
void SetConfigRuleInvokedTime(const Aws::Utils::DateTime &value)
JSON (JavaScript Object Notation).