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>
50 inline void SetViolationTarget(
const char* value) { m_violationTargetHasBeenSet =
true; m_violationTarget.assign(value); }
74 bool m_violationTargetHasBeenSet =
false;
77 bool m_violatingSecurityGroupsHasBeenSet =
false;
AWS_FMS_API AwsEc2NetworkInterfaceViolation(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkInterfaceViolation & WithViolationTarget(Aws::String &&value)
const Aws::Vector< Aws::String > & GetViolatingSecurityGroups() const
void SetViolationTarget(const Aws::String &value)
const Aws::String & GetViolationTarget() const
bool ViolationTargetHasBeenSet() const
void SetViolationTarget(Aws::String &&value)
AwsEc2NetworkInterfaceViolation & WithViolatingSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetViolatingSecurityGroups(const Aws::Vector< Aws::String > &value)
AwsEc2NetworkInterfaceViolation & AddViolatingSecurityGroups(const char *value)
AWS_FMS_API AwsEc2NetworkInterfaceViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetViolatingSecurityGroups(Aws::Vector< Aws::String > &&value)
AWS_FMS_API AwsEc2NetworkInterfaceViolation()
AwsEc2NetworkInterfaceViolation & WithViolationTarget(const char *value)
AwsEc2NetworkInterfaceViolation & AddViolatingSecurityGroups(Aws::String &&value)
AwsEc2NetworkInterfaceViolation & AddViolatingSecurityGroups(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetViolationTarget(const char *value)
AwsEc2NetworkInterfaceViolation & WithViolatingSecurityGroups(Aws::Vector< Aws::String > &&value)
bool ViolatingSecurityGroupsHasBeenSet() const
AwsEc2NetworkInterfaceViolation & WithViolationTarget(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue