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>
50 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
64 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
78 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
92 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
128 bool m_groupNameHasBeenSet =
false;
131 bool m_groupIdHasBeenSet =
false;
134 bool m_ownerIdHasBeenSet =
false;
137 bool m_vpcIdHasBeenSet =
false;
140 bool m_ipPermissionsHasBeenSet =
false;
143 bool m_ipPermissionsEgressHasBeenSet =
false;
void SetGroupName(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
void SetVpcId(const char *value)
AwsEc2SecurityGroupDetails & WithGroupName(Aws::String &&value)
AwsEc2SecurityGroupDetails & WithOwnerId(Aws::String &&value)
AwsEc2SecurityGroupDetails & WithIpPermissions(const Aws::Vector< AwsEc2SecurityGroupIpPermission > &value)
AwsEc2SecurityGroupDetails & WithGroupName(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2SecurityGroupDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2SecurityGroupDetails & WithGroupName(const char *value)
AwsEc2SecurityGroupDetails & WithIpPermissionsEgress(Aws::Vector< AwsEc2SecurityGroupIpPermission > &&value)
void SetGroupName(Aws::String &&value)
AwsEc2SecurityGroupDetails & WithVpcId(Aws::String &&value)
AwsEc2SecurityGroupDetails & AddIpPermissions(const AwsEc2SecurityGroupIpPermission &value)
bool IpPermissionsHasBeenSet() const
void SetGroupId(const char *value)
AwsEc2SecurityGroupDetails & AddIpPermissions(AwsEc2SecurityGroupIpPermission &&value)
void SetOwnerId(const char *value)
bool IpPermissionsEgressHasBeenSet() const
AwsEc2SecurityGroupDetails & AddIpPermissionsEgress(const AwsEc2SecurityGroupIpPermission &value)
AwsEc2SecurityGroupDetails & WithVpcId(const Aws::String &value)
void SetIpPermissions(Aws::Vector< AwsEc2SecurityGroupIpPermission > &&value)
const Aws::String & GetOwnerId() const
void SetIpPermissions(const Aws::Vector< AwsEc2SecurityGroupIpPermission > &value)
AwsEc2SecurityGroupDetails & WithIpPermissions(Aws::Vector< AwsEc2SecurityGroupIpPermission > &&value)
AwsEc2SecurityGroupDetails & WithGroupId(const char *value)
void SetGroupName(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEc2SecurityGroupDetails()
bool GroupIdHasBeenSet() const
AwsEc2SecurityGroupDetails & WithGroupId(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2SecurityGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIpPermissionsEgress(const Aws::Vector< AwsEc2SecurityGroupIpPermission > &value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetGroupName() const
void SetOwnerId(const Aws::String &value)
const Aws::Vector< AwsEc2SecurityGroupIpPermission > & GetIpPermissionsEgress() const
void SetVpcId(const Aws::String &value)
AwsEc2SecurityGroupDetails & WithOwnerId(const char *value)
void SetGroupId(Aws::String &&value)
const Aws::String & GetVpcId() const
AwsEc2SecurityGroupDetails & WithGroupId(const Aws::String &value)
void SetIpPermissionsEgress(Aws::Vector< AwsEc2SecurityGroupIpPermission > &&value)
const Aws::Vector< AwsEc2SecurityGroupIpPermission > & GetIpPermissions() const
AwsEc2SecurityGroupDetails & AddIpPermissionsEgress(AwsEc2SecurityGroupIpPermission &&value)
void SetGroupId(const Aws::String &value)
bool GroupNameHasBeenSet() const
void SetVpcId(Aws::String &&value)
AwsEc2SecurityGroupDetails & WithIpPermissionsEgress(const Aws::Vector< AwsEc2SecurityGroupIpPermission > &value)
bool VpcIdHasBeenSet() const
const Aws::String & GetGroupId() const
AwsEc2SecurityGroupDetails & WithVpcId(const char *value)
AwsEc2SecurityGroupDetails & WithOwnerId(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