7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/ViolationReason.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
51 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
82 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
109 bool m_resourceIdHasBeenSet =
false;
112 bool m_violationReasonHasBeenSet =
false;
115 bool m_resourceTypeHasBeenSet =
false;
118 bool m_metadataHasBeenSet =
false;
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ComplianceViolator & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ComplianceViolator & WithResourceType(const char *value)
ComplianceViolator & WithResourceType(Aws::String &&value)
ComplianceViolator & AddMetadata(const char *key, Aws::String &&value)
AWS_FMS_API ComplianceViolator(Aws::Utils::Json::JsonView jsonValue)
ComplianceViolator & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetResourceType() const
bool MetadataHasBeenSet() const
AWS_FMS_API ComplianceViolator & operator=(Aws::Utils::Json::JsonView jsonValue)
ComplianceViolator & WithViolationReason(ViolationReason &&value)
void SetResourceId(const char *value)
ComplianceViolator & WithViolationReason(const ViolationReason &value)
ComplianceViolator & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceType(Aws::String &&value)
ComplianceViolator & AddMetadata(Aws::String &&key, Aws::String &&value)
ComplianceViolator & WithResourceId(Aws::String &&value)
void SetViolationReason(const ViolationReason &value)
bool ResourceIdHasBeenSet() const
bool ResourceTypeHasBeenSet() const
ComplianceViolator & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetResourceId(Aws::String &&value)
ComplianceViolator & WithResourceType(const Aws::String &value)
AWS_FMS_API ComplianceViolator()
void SetResourceType(const Aws::String &value)
ComplianceViolator & AddMetadata(const char *key, const char *value)
const ViolationReason & GetViolationReason() const
void SetViolationReason(ViolationReason &&value)
void SetResourceType(const char *value)
ComplianceViolator & AddMetadata(Aws::String &&key, const char *value)
bool ViolationReasonHasBeenSet() const
void SetResourceId(const Aws::String &value)
const Aws::String & GetResourceId() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
ComplianceViolator & WithResourceId(const char *value)
ComplianceViolator & WithResourceId(const Aws::String &value)
ComplianceViolator & AddMetadata(Aws::String &&key, const Aws::String &value)
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
Aws::Utils::Json::JsonValue JsonValue