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/fms/model/ResourceViolation.h>
11#include <aws/fms/model/Tag.h>
53 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
68 inline void SetMemberAccount(
const char* value) { m_memberAccountHasBeenSet =
true; m_memberAccount.assign(value); }
82 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
96 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
138 inline void SetResourceDescription(
const char* value) { m_resourceDescriptionHasBeenSet =
true; m_resourceDescription.assign(value); }
146 bool m_policyIdHasBeenSet =
false;
149 bool m_memberAccountHasBeenSet =
false;
152 bool m_resourceIdHasBeenSet =
false;
155 bool m_resourceTypeHasBeenSet =
false;
158 bool m_resourceViolationsHasBeenSet =
false;
161 bool m_resourceTagsHasBeenSet =
false;
164 bool m_resourceDescriptionHasBeenSet =
false;
ViolationDetail & WithResourceType(Aws::String &&value)
ViolationDetail & WithPolicyId(Aws::String &&value)
const Aws::String & GetMemberAccount() const
void SetResourceType(const Aws::String &value)
ViolationDetail & WithMemberAccount(const Aws::String &value)
void SetResourceType(Aws::String &&value)
const Aws::Vector< ResourceViolation > & GetResourceViolations() const
void SetResourceDescription(const Aws::String &value)
ViolationDetail & WithResourceDescription(Aws::String &&value)
void SetResourceId(Aws::String &&value)
void SetPolicyId(const Aws::String &value)
bool ResourceIdHasBeenSet() const
AWS_FMS_API ViolationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ViolationDetail & WithResourceTags(Aws::Vector< Tag > &&value)
void SetResourceDescription(const char *value)
void SetResourceDescription(Aws::String &&value)
ViolationDetail & WithResourceType(const Aws::String &value)
void SetMemberAccount(const char *value)
ViolationDetail & WithResourceViolations(Aws::Vector< ResourceViolation > &&value)
ViolationDetail & WithPolicyId(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ViolationDetail & WithResourceDescription(const char *value)
ViolationDetail & WithResourceDescription(const Aws::String &value)
const Aws::String & GetResourceDescription() const
const Aws::String & GetResourceType() const
AWS_FMS_API ViolationDetail(Aws::Utils::Json::JsonView jsonValue)
ViolationDetail & WithResourceId(const char *value)
void SetMemberAccount(const Aws::String &value)
void SetResourceViolations(const Aws::Vector< ResourceViolation > &value)
ViolationDetail & WithResourceType(const char *value)
ViolationDetail & WithResourceTags(const Aws::Vector< Tag > &value)
bool ResourceTagsHasBeenSet() const
void SetResourceType(const char *value)
ViolationDetail & WithResourceViolations(const Aws::Vector< ResourceViolation > &value)
ViolationDetail & WithResourceId(const Aws::String &value)
void SetResourceId(const Aws::String &value)
bool ResourceViolationsHasBeenSet() const
void SetResourceTags(const Aws::Vector< Tag > &value)
AWS_FMS_API ViolationDetail()
bool MemberAccountHasBeenSet() const
void SetMemberAccount(Aws::String &&value)
ViolationDetail & AddResourceViolations(ResourceViolation &&value)
ViolationDetail & AddResourceTags(Tag &&value)
const Aws::Vector< Tag > & GetResourceTags() const
void SetPolicyId(const char *value)
ViolationDetail & AddResourceTags(const Tag &value)
bool ResourceDescriptionHasBeenSet() const
void SetResourceId(const char *value)
ViolationDetail & WithMemberAccount(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
ViolationDetail & AddResourceViolations(const ResourceViolation &value)
void SetResourceViolations(Aws::Vector< ResourceViolation > &&value)
const Aws::String & GetPolicyId() const
void SetResourceTags(Aws::Vector< Tag > &&value)
void SetPolicyId(Aws::String &&value)
ViolationDetail & WithResourceId(Aws::String &&value)
ViolationDetail & WithMemberAccount(const char *value)
ViolationDetail & WithPolicyId(const char *value)
bool PolicyIdHasBeenSet() const
const Aws::String & GetResourceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue