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/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/PolicyComplianceStatusType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FMS
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_FMS_API EvaluationResult();
40
41
43
47 inline const PolicyComplianceStatusType& GetComplianceStatus() const{ return m_complianceStatus; }
48 inline bool ComplianceStatusHasBeenSet() const { return m_complianceStatusHasBeenSet; }
49 inline void SetComplianceStatus(const PolicyComplianceStatusType& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = value; }
50 inline void SetComplianceStatus(PolicyComplianceStatusType&& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = std::move(value); }
52 inline EvaluationResult& WithComplianceStatus(PolicyComplianceStatusType&& value) { SetComplianceStatus(std::move(value)); return *this;}
54
56
63 inline long long GetViolatorCount() const{ return m_violatorCount; }
64 inline bool ViolatorCountHasBeenSet() const { return m_violatorCountHasBeenSet; }
65 inline void SetViolatorCount(long long value) { m_violatorCountHasBeenSet = true; m_violatorCount = value; }
66 inline EvaluationResult& WithViolatorCount(long long value) { SetViolatorCount(value); return *this;}
68
70
74 inline bool GetEvaluationLimitExceeded() const{ return m_evaluationLimitExceeded; }
75 inline bool EvaluationLimitExceededHasBeenSet() const { return m_evaluationLimitExceededHasBeenSet; }
76 inline void SetEvaluationLimitExceeded(bool value) { m_evaluationLimitExceededHasBeenSet = true; m_evaluationLimitExceeded = value; }
77 inline EvaluationResult& WithEvaluationLimitExceeded(bool value) { SetEvaluationLimitExceeded(value); return *this;}
79 private:
80
81 PolicyComplianceStatusType m_complianceStatus;
82 bool m_complianceStatusHasBeenSet = false;
83
84 long long m_violatorCount;
85 bool m_violatorCountHasBeenSet = false;
86
87 bool m_evaluationLimitExceeded;
88 bool m_evaluationLimitExceededHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace FMS
93} // namespace Aws
EvaluationResult & WithViolatorCount(long long value)
AWS_FMS_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue)
EvaluationResult & WithComplianceStatus(const PolicyComplianceStatusType &value)
void SetViolatorCount(long long value)
void SetComplianceStatus(PolicyComplianceStatusType &&value)
void SetComplianceStatus(const PolicyComplianceStatusType &value)
EvaluationResult & WithEvaluationLimitExceeded(bool value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationResult & WithComplianceStatus(PolicyComplianceStatusType &&value)
AWS_FMS_API EvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const PolicyComplianceStatusType & GetComplianceStatus() const
Aws::Utils::Json::JsonValue JsonValue