7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEc2SecurityGroupIpPermission.h>
48 template<
typename GroupNameT = Aws::String>
49 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
50 template<
typename GroupNameT = Aws::String>
60 template<
typename GroupIdT = Aws::String>
61 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
62 template<
typename GroupIdT = Aws::String>
72 template<
typename OwnerIdT = Aws::String>
73 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
74 template<
typename OwnerIdT = Aws::String>
84 template<
typename VpcIdT = Aws::String>
85 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
86 template<
typename VpcIdT = Aws::String>
96 template<
typename IpPermissionsT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
97 void SetIpPermissions(IpPermissionsT&& value) { m_ipPermissionsHasBeenSet =
true; m_ipPermissions = std::forward<IpPermissionsT>(value); }
98 template<
typename IpPermissionsT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
100 template<
typename IpPermissionsT = AwsEc2SecurityGroupIpPermission>
110 template<
typename IpPermissionsEgressT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
111 void SetIpPermissionsEgress(IpPermissionsEgressT&& value) { m_ipPermissionsEgressHasBeenSet =
true; m_ipPermissionsEgress = std::forward<IpPermissionsEgressT>(value); }
112 template<
typename IpPermissionsEgressT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
114 template<
typename IpPermissionsEgressT = AwsEc2SecurityGroupIpPermission>
120 bool m_groupNameHasBeenSet =
false;
123 bool m_groupIdHasBeenSet =
false;
126 bool m_ownerIdHasBeenSet =
false;
129 bool m_vpcIdHasBeenSet =
false;
132 bool m_ipPermissionsHasBeenSet =
false;
135 bool m_ipPermissionsEgressHasBeenSet =
false;
void SetOwnerId(OwnerIdT &&value)
void SetVpcId(VpcIdT &&value)
AwsEc2SecurityGroupDetails & WithIpPermissions(IpPermissionsT &&value)
AwsEc2SecurityGroupDetails & WithOwnerId(OwnerIdT &&value)
AWS_SECURITYHUB_API AwsEc2SecurityGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetIpPermissions(IpPermissionsT &&value)
bool IpPermissionsHasBeenSet() const
AwsEc2SecurityGroupDetails & WithGroupName(GroupNameT &&value)
bool IpPermissionsEgressHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2SecurityGroupDetails()=default
const Aws::String & GetOwnerId() const
void SetIpPermissionsEgress(IpPermissionsEgressT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupId(GroupIdT &&value)
bool GroupIdHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2SecurityGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2SecurityGroupDetails & WithIpPermissionsEgress(IpPermissionsEgressT &&value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetGroupName() const
AwsEc2SecurityGroupDetails & AddIpPermissionsEgress(IpPermissionsEgressT &&value)
const Aws::Vector< AwsEc2SecurityGroupIpPermission > & GetIpPermissionsEgress() const
AwsEc2SecurityGroupDetails & AddIpPermissions(IpPermissionsT &&value)
const Aws::String & GetVpcId() const
AwsEc2SecurityGroupDetails & WithGroupId(GroupIdT &&value)
const Aws::Vector< AwsEc2SecurityGroupIpPermission > & GetIpPermissions() const
AwsEc2SecurityGroupDetails & WithVpcId(VpcIdT &&value)
bool GroupNameHasBeenSet() const
bool VpcIdHasBeenSet() const
const Aws::String & GetGroupId() const
void SetGroupName(GroupNameT &&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