7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/IpPermission.h>
65 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
77 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
92 inline void SetSourceSecurityGroupName(
const char* value) { m_sourceSecurityGroupNameHasBeenSet =
true; m_sourceSecurityGroupName.assign(value); }
122 inline void SetIpProtocol(
const char* value) { m_ipProtocolHasBeenSet =
true; m_ipProtocol.assign(value); }
134 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
144 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
156 inline void SetCidrIp(
const char* value) { m_cidrIpHasBeenSet =
true; m_cidrIp.assign(value); }
179 bool m_securityGroupRuleIdsHasBeenSet =
false;
182 bool m_dryRunHasBeenSet =
false;
185 bool m_groupIdHasBeenSet =
false;
188 bool m_sourceSecurityGroupNameHasBeenSet =
false;
191 bool m_sourceSecurityGroupOwnerIdHasBeenSet =
false;
194 bool m_ipProtocolHasBeenSet =
false;
197 bool m_fromPortHasBeenSet =
false;
200 bool m_toPortHasBeenSet =
false;
203 bool m_cidrIpHasBeenSet =
false;
206 bool m_ipPermissionsHasBeenSet =
false;
RevokeSecurityGroupEgressRequest & WithIpPermissions(Aws::Vector< IpPermission > &&value)
RevokeSecurityGroupEgressRequest & AddSecurityGroupRuleIds(const Aws::String &value)
RevokeSecurityGroupEgressRequest & WithGroupId(const char *value)
RevokeSecurityGroupEgressRequest & AddIpPermissions(const IpPermission &value)
RevokeSecurityGroupEgressRequest & WithCidrIp(const Aws::String &value)
void SetIpProtocol(const char *value)
RevokeSecurityGroupEgressRequest & WithToPort(int value)
const Aws::Vector< IpPermission > & GetIpPermissions() const
void SetSourceSecurityGroupName(const Aws::String &value)
RevokeSecurityGroupEgressRequest & WithCidrIp(const char *value)
const Aws::String & GetCidrIp() const
RevokeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(const char *value)
RevokeSecurityGroupEgressRequest & WithDryRun(bool value)
RevokeSecurityGroupEgressRequest & WithGroupId(const Aws::String &value)
RevokeSecurityGroupEgressRequest & WithIpProtocol(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
bool CidrIpHasBeenSet() const
void SetSourceSecurityGroupOwnerId(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API RevokeSecurityGroupEgressRequest()
bool SourceSecurityGroupNameHasBeenSet() const
const Aws::String & GetGroupId() const
RevokeSecurityGroupEgressRequest & WithFromPort(int value)
RevokeSecurityGroupEgressRequest & AddSecurityGroupRuleIds(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupRuleIds() const
RevokeSecurityGroupEgressRequest & WithSourceSecurityGroupName(const Aws::String &value)
void SetToPort(int value)
RevokeSecurityGroupEgressRequest & WithIpProtocol(Aws::String &&value)
RevokeSecurityGroupEgressRequest & AddSecurityGroupRuleIds(Aws::String &&value)
void SetDryRun(bool value)
bool IpProtocolHasBeenSet() const
bool SecurityGroupRuleIdsHasBeenSet() const
void SetGroupId(const Aws::String &value)
void SetCidrIp(Aws::String &&value)
RevokeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(Aws::String &&value)
RevokeSecurityGroupEgressRequest & WithGroupId(Aws::String &&value)
const Aws::String & GetIpProtocol() const
bool SourceSecurityGroupOwnerIdHasBeenSet() const
RevokeSecurityGroupEgressRequest & WithIpProtocol(const char *value)
const Aws::String & GetSourceSecurityGroupName() const
void SetGroupId(const char *value)
void SetSecurityGroupRuleIds(Aws::Vector< Aws::String > &&value)
RevokeSecurityGroupEgressRequest & WithSecurityGroupRuleIds(const Aws::Vector< Aws::String > &value)
bool IpPermissionsHasBeenSet() const
void SetSecurityGroupRuleIds(const Aws::Vector< Aws::String > &value)
bool GroupIdHasBeenSet() const
void SetCidrIp(const Aws::String &value)
void SetIpProtocol(Aws::String &&value)
bool ToPortHasBeenSet() const
void SetSourceSecurityGroupName(Aws::String &&value)
const Aws::String & GetSourceSecurityGroupOwnerId() const
void SetGroupId(Aws::String &&value)
RevokeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(const Aws::String &value)
RevokeSecurityGroupEgressRequest & WithCidrIp(Aws::String &&value)
void SetSourceSecurityGroupOwnerId(const Aws::String &value)
void SetSourceSecurityGroupName(const char *value)
void SetIpPermissions(const Aws::Vector< IpPermission > &value)
void SetIpPermissions(Aws::Vector< IpPermission > &&value)
bool DryRunHasBeenSet() const
RevokeSecurityGroupEgressRequest & WithSecurityGroupRuleIds(Aws::Vector< Aws::String > &&value)
RevokeSecurityGroupEgressRequest & WithIpPermissions(const Aws::Vector< IpPermission > &value)
RevokeSecurityGroupEgressRequest & AddIpPermissions(IpPermission &&value)
void SetSourceSecurityGroupOwnerId(Aws::String &&value)
RevokeSecurityGroupEgressRequest & WithSourceSecurityGroupName(const char *value)
bool FromPortHasBeenSet() const
void SetIpProtocol(const Aws::String &value)
void SetCidrIp(const char *value)
RevokeSecurityGroupEgressRequest & WithSourceSecurityGroupName(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetFromPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector