7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/IpPermission.h>
50 inline void SetCidrIp(
const char* value) { m_cidrIpHasBeenSet =
true; m_cidrIp.assign(value); }
63 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
75 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
91 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
123 inline void SetIpProtocol(
const char* value) { m_ipProtocolHasBeenSet =
true; m_ipProtocol.assign(value); }
141 inline void SetSourceSecurityGroupName(
const char* value) { m_sourceSecurityGroupNameHasBeenSet =
true; m_sourceSecurityGroupName.assign(value); }
168 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
196 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
202 bool m_cidrIpHasBeenSet =
false;
205 bool m_fromPortHasBeenSet =
false;
208 bool m_groupIdHasBeenSet =
false;
211 bool m_groupNameHasBeenSet =
false;
214 bool m_ipPermissionsHasBeenSet =
false;
217 bool m_ipProtocolHasBeenSet =
false;
220 bool m_sourceSecurityGroupNameHasBeenSet =
false;
223 bool m_sourceSecurityGroupOwnerIdHasBeenSet =
false;
226 bool m_toPortHasBeenSet =
false;
229 bool m_securityGroupRuleIdsHasBeenSet =
false;
232 bool m_dryRunHasBeenSet =
false;
RevokeSecurityGroupIngressRequest & WithIpProtocol(Aws::String &&value)
const Aws::String & GetGroupId() const
AWS_EC2_API Aws::String SerializePayload() const override
RevokeSecurityGroupIngressRequest & WithIpPermissions(Aws::Vector< IpPermission > &&value)
RevokeSecurityGroupIngressRequest & WithSecurityGroupRuleIds(Aws::Vector< Aws::String > &&value)
bool FromPortHasBeenSet() const
void SetGroupId(const char *value)
RevokeSecurityGroupIngressRequest & AddSecurityGroupRuleIds(const Aws::String &value)
bool SecurityGroupRuleIdsHasBeenSet() const
RevokeSecurityGroupIngressRequest & WithGroupName(const Aws::String &value)
void SetSourceSecurityGroupName(const Aws::String &value)
RevokeSecurityGroupIngressRequest & WithSourceSecurityGroupOwnerId(const Aws::String &value)
RevokeSecurityGroupIngressRequest & WithGroupName(Aws::String &&value)
void SetIpProtocol(const char *value)
RevokeSecurityGroupIngressRequest & WithDryRun(bool value)
RevokeSecurityGroupIngressRequest & AddSecurityGroupRuleIds(const char *value)
void SetGroupName(Aws::String &&value)
bool ToPortHasBeenSet() const
RevokeSecurityGroupIngressRequest & WithSourceSecurityGroupName(Aws::String &&value)
void SetSourceSecurityGroupName(Aws::String &&value)
RevokeSecurityGroupIngressRequest & WithGroupId(const Aws::String &value)
void SetIpProtocol(const Aws::String &value)
void SetSourceSecurityGroupOwnerId(const Aws::String &value)
bool IpProtocolHasBeenSet() const
void SetGroupName(const Aws::String &value)
RevokeSecurityGroupIngressRequest & WithIpPermissions(const Aws::Vector< IpPermission > &value)
bool IpPermissionsHasBeenSet() const
void SetFromPort(int value)
RevokeSecurityGroupIngressRequest & WithCidrIp(const char *value)
RevokeSecurityGroupIngressRequest & AddIpPermissions(IpPermission &&value)
RevokeSecurityGroupIngressRequest & WithGroupName(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupRuleIds() const
RevokeSecurityGroupIngressRequest & WithToPort(int value)
void SetIpProtocol(Aws::String &&value)
RevokeSecurityGroupIngressRequest & WithIpProtocol(const char *value)
RevokeSecurityGroupIngressRequest & WithCidrIp(const Aws::String &value)
const Aws::String & GetSourceSecurityGroupName() const
void SetGroupId(Aws::String &&value)
RevokeSecurityGroupIngressRequest & AddSecurityGroupRuleIds(Aws::String &&value)
void SetSourceSecurityGroupOwnerId(Aws::String &&value)
void SetCidrIp(Aws::String &&value)
RevokeSecurityGroupIngressRequest & WithSecurityGroupRuleIds(const Aws::Vector< Aws::String > &value)
void SetIpPermissions(Aws::Vector< IpPermission > &&value)
RevokeSecurityGroupIngressRequest & AddIpPermissions(const IpPermission &value)
void SetSecurityGroupRuleIds(Aws::Vector< Aws::String > &&value)
RevokeSecurityGroupIngressRequest & WithSourceSecurityGroupOwnerId(const char *value)
RevokeSecurityGroupIngressRequest & WithGroupId(const char *value)
void SetIpPermissions(const Aws::Vector< IpPermission > &value)
void SetCidrIp(const char *value)
RevokeSecurityGroupIngressRequest & WithSourceSecurityGroupName(const Aws::String &value)
void SetSecurityGroupRuleIds(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool GroupIdHasBeenSet() const
void SetCidrIp(const Aws::String &value)
const Aws::String & GetCidrIp() const
void SetSourceSecurityGroupOwnerId(const char *value)
RevokeSecurityGroupIngressRequest & WithSourceSecurityGroupOwnerId(Aws::String &&value)
bool DryRunHasBeenSet() const
const Aws::String & GetIpProtocol() const
RevokeSecurityGroupIngressRequest & WithFromPort(int value)
bool GroupNameHasBeenSet() const
const Aws::String & GetSourceSecurityGroupOwnerId() const
void SetSourceSecurityGroupName(const char *value)
const Aws::Vector< IpPermission > & GetIpPermissions() const
bool SourceSecurityGroupNameHasBeenSet() const
void SetGroupId(const Aws::String &value)
RevokeSecurityGroupIngressRequest & WithIpProtocol(const Aws::String &value)
const Aws::String & GetGroupName() const
void SetToPort(int value)
bool SourceSecurityGroupOwnerIdHasBeenSet() const
bool CidrIpHasBeenSet() const
RevokeSecurityGroupIngressRequest & WithGroupId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API RevokeSecurityGroupIngressRequest()
void SetGroupName(const char *value)
RevokeSecurityGroupIngressRequest & WithSourceSecurityGroupName(const char *value)
void SetDryRun(bool value)
RevokeSecurityGroupIngressRequest & WithCidrIp(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector