7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/fms/model/ComplianceViolator.h>
13#include <aws/fms/model/DependentServiceName.h>
54 template<
typename PolicyOwnerT = Aws::String>
55 void SetPolicyOwner(PolicyOwnerT&& value) { m_policyOwnerHasBeenSet =
true; m_policyOwner = std::forward<PolicyOwnerT>(value); }
56 template<
typename PolicyOwnerT = Aws::String>
66 template<
typename PolicyIdT = Aws::String>
67 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
68 template<
typename PolicyIdT = Aws::String>
78 template<
typename MemberAccountT = Aws::String>
79 void SetMemberAccount(MemberAccountT&& value) { m_memberAccountHasBeenSet =
true; m_memberAccount = std::forward<MemberAccountT>(value); }
80 template<
typename MemberAccountT = Aws::String>
91 template<
typename ViolatorsT = Aws::Vector<ComplianceViolator>>
92 void SetViolators(ViolatorsT&& value) { m_violatorsHasBeenSet =
true; m_violators = std::forward<ViolatorsT>(value); }
93 template<
typename ViolatorsT = Aws::Vector<ComplianceViolator>>
95 template<
typename ViolatorsT = ComplianceViolator>
117 template<
typename ExpiredAtT = Aws::Utils::DateTime>
118 void SetExpiredAt(ExpiredAtT&& value) { m_expiredAtHasBeenSet =
true; m_expiredAt = std::forward<ExpiredAtT>(value); }
119 template<
typename ExpiredAtT = Aws::Utils::DateTime>
130 template<
typename IssueInfoMapT = Aws::Map<DependentServiceName, Aws::String>>
131 void SetIssueInfoMap(IssueInfoMapT&& value) { m_issueInfoMapHasBeenSet =
true; m_issueInfoMap = std::forward<IssueInfoMapT>(value); }
132 template<
typename IssueInfoMapT = Aws::Map<DependentServiceName, Aws::String>>
135 m_issueInfoMapHasBeenSet =
true; m_issueInfoMap.emplace(key, value);
return *
this;
141 bool m_policyOwnerHasBeenSet =
false;
144 bool m_policyIdHasBeenSet =
false;
147 bool m_memberAccountHasBeenSet =
false;
150 bool m_violatorsHasBeenSet =
false;
152 bool m_evaluationLimitExceeded{
false};
153 bool m_evaluationLimitExceededHasBeenSet =
false;
156 bool m_expiredAtHasBeenSet =
false;
159 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