7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsEc2SecurityGroupIpPermission.h>
42 template <
typename GroupNameT = Aws::String>
44 m_groupNameHasBeenSet =
true;
45 m_groupName = std::forward<GroupNameT>(value);
47 template <
typename GroupNameT = Aws::String>
60 template <
typename GroupIdT = Aws::String>
62 m_groupIdHasBeenSet =
true;
63 m_groupId = std::forward<GroupIdT>(value);
65 template <
typename GroupIdT = Aws::String>
78 template <
typename OwnerIdT = Aws::String>
80 m_ownerIdHasBeenSet =
true;
81 m_ownerId = std::forward<OwnerIdT>(value);
83 template <
typename OwnerIdT = Aws::String>
96 template <
typename VpcIdT = Aws::String>
98 m_vpcIdHasBeenSet =
true;
99 m_vpcId = std::forward<VpcIdT>(value);
101 template <
typename VpcIdT = Aws::String>
103 SetVpcId(std::forward<VpcIdT>(value));
114 template <
typename IpPermissionsT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
116 m_ipPermissionsHasBeenSet =
true;
117 m_ipPermissions = std::forward<IpPermissionsT>(value);
119 template <
typename IpPermissionsT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
124 template <
typename IpPermissionsT = AwsEc2SecurityGroupIpPermission>
126 m_ipPermissionsHasBeenSet =
true;
127 m_ipPermissions.emplace_back(std::forward<IpPermissionsT>(value));
138 template <
typename IpPermissionsEgressT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
140 m_ipPermissionsEgressHasBeenSet =
true;
141 m_ipPermissionsEgress = std::forward<IpPermissionsEgressT>(value);
143 template <
typename IpPermissionsEgressT = Aws::Vector<AwsEc2SecurityGroupIpPermission>>
148 template <
typename IpPermissionsEgressT = AwsEc2SecurityGroupIpPermission>
150 m_ipPermissionsEgressHasBeenSet =
true;
151 m_ipPermissionsEgress.emplace_back(std::forward<IpPermissionsEgressT>(value));
167 bool m_groupNameHasBeenSet =
false;
168 bool m_groupIdHasBeenSet =
false;
169 bool m_ownerIdHasBeenSet =
false;
170 bool m_vpcIdHasBeenSet =
false;
171 bool m_ipPermissionsHasBeenSet =
false;
172 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