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>
56 inline void SetPolicyOwner(
const char* value) { m_policyOwnerHasBeenSet =
true; m_policyOwner.assign(value); }
70 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
84 inline void SetMemberAccount(
const char* value) { m_memberAccountHasBeenSet =
true; m_memberAccount.assign(value); }
150 bool m_policyOwnerHasBeenSet =
false;
153 bool m_policyIdHasBeenSet =
false;
156 bool m_memberAccountHasBeenSet =
false;
159 bool m_violatorsHasBeenSet =
false;
161 bool m_evaluationLimitExceeded;
162 bool m_evaluationLimitExceededHasBeenSet =
false;
165 bool m_expiredAtHasBeenSet =
false;
168 bool m_issueInfoMapHasBeenSet =
false;
PolicyComplianceDetail & WithPolicyId(const Aws::String &value)
PolicyComplianceDetail & AddIssueInfoMap(DependentServiceName &&key, Aws::String &&value)
PolicyComplianceDetail & WithMemberAccount(Aws::String &&value)
void SetMemberAccount(const char *value)
void SetPolicyId(Aws::String &&value)
void SetEvaluationLimitExceeded(bool value)
PolicyComplianceDetail & WithIssueInfoMap(Aws::Map< DependentServiceName, Aws::String > &&value)
PolicyComplianceDetail & WithMemberAccount(const Aws::String &value)
const Aws::String & GetPolicyId() const
PolicyComplianceDetail & WithPolicyOwner(const char *value)
bool ExpiredAtHasBeenSet() const
const Aws::Map< DependentServiceName, Aws::String > & GetIssueInfoMap() const
void SetViolators(const Aws::Vector< ComplianceViolator > &value)
PolicyComplianceDetail & WithPolicyOwner(const Aws::String &value)
bool EvaluationLimitExceededHasBeenSet() const
bool ViolatorsHasBeenSet() const
PolicyComplianceDetail & WithPolicyId(Aws::String &&value)
AWS_FMS_API PolicyComplianceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyComplianceDetail & AddIssueInfoMap(DependentServiceName &&key, const Aws::String &value)
PolicyComplianceDetail & WithExpiredAt(Aws::Utils::DateTime &&value)
void SetExpiredAt(Aws::Utils::DateTime &&value)
PolicyComplianceDetail & WithEvaluationLimitExceeded(bool value)
PolicyComplianceDetail & AddIssueInfoMap(const DependentServiceName &key, Aws::String &&value)
bool PolicyIdHasBeenSet() const
void SetPolicyId(const Aws::String &value)
void SetIssueInfoMap(Aws::Map< DependentServiceName, Aws::String > &&value)
PolicyComplianceDetail & AddIssueInfoMap(const DependentServiceName &key, const Aws::String &value)
PolicyComplianceDetail & AddViolators(ComplianceViolator &&value)
void SetPolicyOwner(Aws::String &&value)
PolicyComplianceDetail & AddIssueInfoMap(DependentServiceName &&key, const char *value)
void SetPolicyOwner(const Aws::String &value)
bool IssueInfoMapHasBeenSet() const
PolicyComplianceDetail & WithMemberAccount(const char *value)
PolicyComplianceDetail & WithIssueInfoMap(const Aws::Map< DependentServiceName, Aws::String > &value)
void SetMemberAccount(const Aws::String &value)
bool MemberAccountHasBeenSet() const
const Aws::Vector< ComplianceViolator > & GetViolators() const
PolicyComplianceDetail & AddIssueInfoMap(const DependentServiceName &key, const char *value)
PolicyComplianceDetail & WithPolicyOwner(Aws::String &&value)
void SetViolators(Aws::Vector< ComplianceViolator > &&value)
PolicyComplianceDetail & WithViolators(const Aws::Vector< ComplianceViolator > &value)
void SetPolicyOwner(const char *value)
bool PolicyOwnerHasBeenSet() const
AWS_FMS_API PolicyComplianceDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMemberAccount() const
void SetIssueInfoMap(const Aws::Map< DependentServiceName, Aws::String > &value)
AWS_FMS_API PolicyComplianceDetail()
PolicyComplianceDetail & WithPolicyId(const char *value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExpiredAt(const Aws::Utils::DateTime &value)
PolicyComplianceDetail & WithExpiredAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetExpiredAt() const
const Aws::String & GetPolicyOwner() const
PolicyComplianceDetail & WithViolators(Aws::Vector< ComplianceViolator > &&value)
void SetPolicyId(const char *value)
PolicyComplianceDetail & AddViolators(const ComplianceViolator &value)
void SetMemberAccount(Aws::String &&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