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/AwsEc2NetworkInterfaceViolation.h>
48 template<
typename ViolationTargetT = Aws::String>
49 void SetViolationTarget(ViolationTargetT&& value) { m_violationTargetHasBeenSet =
true; m_violationTarget = std::forward<ViolationTargetT>(value); }
50 template<
typename ViolationTargetT = Aws::String>
60 template<
typename AwsEc2NetworkInterfaceViolationsT = Aws::Vector<AwsEc2NetworkInterfaceViolation>>
61 void SetAwsEc2NetworkInterfaceViolations(AwsEc2NetworkInterfaceViolationsT&& value) { m_awsEc2NetworkInterfaceViolationsHasBeenSet =
true; m_awsEc2NetworkInterfaceViolations = std::forward<AwsEc2NetworkInterfaceViolationsT>(value); }
62 template<
typename AwsEc2NetworkInterfaceViolationsT = Aws::Vector<AwsEc2NetworkInterfaceViolation>>
64 template<
typename AwsEc2NetworkInterfaceViolationsT = AwsEc2NetworkInterfaceViolation>
70 bool m_violationTargetHasBeenSet =
false;
73 bool m_awsEc2NetworkInterfaceViolationsHasBeenSet =
false;
AWS_FMS_API AwsEc2InstanceViolation()=default
bool ViolationTargetHasBeenSet() const
const Aws::Vector< AwsEc2NetworkInterfaceViolation > & GetAwsEc2NetworkInterfaceViolations() const
AwsEc2InstanceViolation & AddAwsEc2NetworkInterfaceViolations(AwsEc2NetworkInterfaceViolationsT &&value)
AwsEc2InstanceViolation & WithAwsEc2NetworkInterfaceViolations(AwsEc2NetworkInterfaceViolationsT &&value)
void SetAwsEc2NetworkInterfaceViolations(AwsEc2NetworkInterfaceViolationsT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API AwsEc2InstanceViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2InstanceViolation & WithViolationTarget(ViolationTargetT &&value)
void SetViolationTarget(ViolationTargetT &&value)
const Aws::String & GetViolationTarget() const
AWS_FMS_API AwsEc2InstanceViolation(Aws::Utils::Json::JsonView jsonValue)
bool AwsEc2NetworkInterfaceViolationsHasBeenSet() 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