7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fms/FMS_EXPORTS.h>
12#include <aws/fms/model/ComplianceViolator.h>
13#include <aws/fms/model/DependentServiceName.h>
48 template <
typename PolicyOwnerT = Aws::String>
50 m_policyOwnerHasBeenSet =
true;
51 m_policyOwner = std::forward<PolicyOwnerT>(value);
53 template <
typename PolicyOwnerT = Aws::String>
66 template <
typename PolicyIdT = Aws::String>
68 m_policyIdHasBeenSet =
true;
69 m_policyId = std::forward<PolicyIdT>(value);
71 template <
typename PolicyIdT = Aws::String>
84 template <
typename MemberAccountT = Aws::String>
86 m_memberAccountHasBeenSet =
true;
87 m_memberAccount = std::forward<MemberAccountT>(value);
89 template <
typename MemberAccountT = Aws::String>
103 template <
typename ViolatorsT = Aws::Vector<ComplianceViolator>>
105 m_violatorsHasBeenSet =
true;
106 m_violators = std::forward<ViolatorsT>(value);
108 template <
typename ViolatorsT = Aws::Vector<ComplianceViolator>>
113 template <
typename ViolatorsT = ComplianceViolator>
115 m_violatorsHasBeenSet =
true;
116 m_violators.emplace_back(std::forward<ViolatorsT>(value));
129 m_evaluationLimitExceededHasBeenSet =
true;
130 m_evaluationLimitExceeded = value;
145 template <
typename ExpiredAtT = Aws::Utils::DateTime>
147 m_expiredAtHasBeenSet =
true;
148 m_expiredAt = std::forward<ExpiredAtT>(value);
150 template <
typename ExpiredAtT = Aws::Utils::DateTime>
164 template <
typename IssueInfoMapT = Aws::Map<DependentServiceName, Aws::String>>
166 m_issueInfoMapHasBeenSet =
true;
167 m_issueInfoMap = std::forward<IssueInfoMapT>(value);
169 template <
typename IssueInfoMapT = Aws::Map<DependentServiceName, Aws::String>>
175 m_issueInfoMapHasBeenSet =
true;
176 m_issueInfoMap.emplace(key, value);
189 bool m_evaluationLimitExceeded{
false};
194 bool m_policyOwnerHasBeenSet =
false;
195 bool m_policyIdHasBeenSet =
false;
196 bool m_memberAccountHasBeenSet =
false;
197 bool m_violatorsHasBeenSet =
false;
198 bool m_evaluationLimitExceededHasBeenSet =
false;
199 bool m_expiredAtHasBeenSet =
false;
200 bool m_issueInfoMapHasBeenSet =
false;
PolicyComplianceDetail & WithExpiredAt(ExpiredAtT &&value)
AWS_FMS_API PolicyComplianceDetail()=default
void SetEvaluationLimitExceeded(bool value)
PolicyComplianceDetail & WithViolators(ViolatorsT &&value)
void SetPolicyOwner(PolicyOwnerT &&value)
const Aws::String & GetPolicyId() const
bool ExpiredAtHasBeenSet() const
const Aws::Map< DependentServiceName, Aws::String > & GetIssueInfoMap() const
bool EvaluationLimitExceededHasBeenSet() const
bool ViolatorsHasBeenSet() const
AWS_FMS_API PolicyComplianceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyComplianceDetail & WithPolicyOwner(PolicyOwnerT &&value)
void SetViolators(ViolatorsT &&value)
PolicyComplianceDetail & WithEvaluationLimitExceeded(bool value)
void SetPolicyId(PolicyIdT &&value)
PolicyComplianceDetail & AddViolators(ViolatorsT &&value)
bool PolicyIdHasBeenSet() const
bool IssueInfoMapHasBeenSet() const
void SetExpiredAt(ExpiredAtT &&value)
bool MemberAccountHasBeenSet() const
const Aws::Vector< ComplianceViolator > & GetViolators() const
void SetMemberAccount(MemberAccountT &&value)
PolicyComplianceDetail & WithPolicyId(PolicyIdT &&value)
bool PolicyOwnerHasBeenSet() const
AWS_FMS_API PolicyComplianceDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMemberAccount() const
PolicyComplianceDetail & WithIssueInfoMap(IssueInfoMapT &&value)
PolicyComplianceDetail & AddIssueInfoMap(DependentServiceName key, Aws::String value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetExpiredAt() const
const Aws::String & GetPolicyOwner() const
void SetIssueInfoMap(IssueInfoMapT &&value)
PolicyComplianceDetail & WithMemberAccount(MemberAccountT &&value)
bool GetEvaluationLimitExceeded() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue