7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fms/FMS_EXPORTS.h>
10#include <aws/fms/model/AwsEc2NetworkInterfaceViolation.h>
42 template <
typename ViolationTargetT = Aws::String>
44 m_violationTargetHasBeenSet =
true;
45 m_violationTarget = std::forward<ViolationTargetT>(value);
47 template <
typename ViolationTargetT = Aws::String>
59 return m_awsEc2NetworkInterfaceViolations;
62 template <
typename AwsEc2NetworkInterfaceViolationsT = Aws::Vector<AwsEc2NetworkInterfaceViolation>>
64 m_awsEc2NetworkInterfaceViolationsHasBeenSet =
true;
65 m_awsEc2NetworkInterfaceViolations = std::forward<AwsEc2NetworkInterfaceViolationsT>(value);
67 template <
typename AwsEc2NetworkInterfaceViolationsT = Aws::Vector<AwsEc2NetworkInterfaceViolation>>
72 template <
typename AwsEc2NetworkInterfaceViolationsT = AwsEc2NetworkInterfaceViolation>
74 m_awsEc2NetworkInterfaceViolationsHasBeenSet =
true;
75 m_awsEc2NetworkInterfaceViolations.emplace_back(std::forward<AwsEc2NetworkInterfaceViolationsT>(value));
83 bool m_violationTargetHasBeenSet =
false;
84 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