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/TagSpecification.h>
12#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); }
91 inline void SetSourceSecurityGroupName(
const char* value) { m_sourceSecurityGroupNameHasBeenSet =
true; m_sourceSecurityGroupName.assign(value); }
119 inline void SetIpProtocol(
const char* value) { m_ipProtocolHasBeenSet =
true; m_ipProtocol.assign(value); }
131 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
141 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
153 inline void SetCidrIp(
const char* value) { m_cidrIpHasBeenSet =
true; m_cidrIp.assign(value); }
175 bool m_tagSpecificationsHasBeenSet =
false;
178 bool m_dryRunHasBeenSet =
false;
181 bool m_groupIdHasBeenSet =
false;
184 bool m_sourceSecurityGroupNameHasBeenSet =
false;
187 bool m_sourceSecurityGroupOwnerIdHasBeenSet =
false;
190 bool m_ipProtocolHasBeenSet =
false;
193 bool m_fromPortHasBeenSet =
false;
196 bool m_toPortHasBeenSet =
false;
199 bool m_cidrIpHasBeenSet =
false;
202 bool m_ipPermissionsHasBeenSet =
false;
void SetFromPort(int value)
void SetGroupId(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
AuthorizeSecurityGroupEgressRequest & WithIpPermissions(const Aws::Vector< IpPermission > &value)
AuthorizeSecurityGroupEgressRequest & AddIpPermissions(const IpPermission &value)
void SetSourceSecurityGroupName(const char *value)
AuthorizeSecurityGroupEgressRequest & AddTagSpecifications(TagSpecification &&value)
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupName(const Aws::String &value)
void SetDryRun(bool value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupName(Aws::String &&value)
void SetSourceSecurityGroupName(Aws::String &&value)
bool SourceSecurityGroupOwnerIdHasBeenSet() const
AuthorizeSecurityGroupEgressRequest & WithToPort(int value)
AuthorizeSecurityGroupEgressRequest & WithGroupId(const Aws::String &value)
AuthorizeSecurityGroupEgressRequest & WithIpProtocol(const char *value)
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(const Aws::String &value)
void SetIpProtocol(Aws::String &&value)
bool GroupIdHasBeenSet() const
void SetGroupId(const Aws::String &value)
AuthorizeSecurityGroupEgressRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AuthorizeSecurityGroupEgressRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetSourceSecurityGroupOwnerId(const char *value)
AuthorizeSecurityGroupEgressRequest & WithCidrIp(const Aws::String &value)
const Aws::String & GetIpProtocol() const
bool FromPortHasBeenSet() const
void SetSourceSecurityGroupOwnerId(Aws::String &&value)
void SetIpProtocol(const Aws::String &value)
void SetSourceSecurityGroupName(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
AuthorizeSecurityGroupEgressRequest & AddIpPermissions(IpPermission &&value)
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(Aws::String &&value)
AuthorizeSecurityGroupEgressRequest & WithIpProtocol(const Aws::String &value)
bool DryRunHasBeenSet() const
AuthorizeSecurityGroupEgressRequest & WithGroupId(Aws::String &&value)
void SetCidrIp(const char *value)
bool SourceSecurityGroupNameHasBeenSet() const
const Aws::String & GetSourceSecurityGroupName() const
bool IpProtocolHasBeenSet() const
void SetCidrIp(const Aws::String &value)
void SetToPort(int value)
AuthorizeSecurityGroupEgressRequest & WithGroupId(const char *value)
AuthorizeSecurityGroupEgressRequest & WithCidrIp(Aws::String &&value)
const Aws::String & GetGroupId() const
void SetGroupId(Aws::String &&value)
AuthorizeSecurityGroupEgressRequest & WithIpProtocol(Aws::String &&value)
void SetIpProtocol(const char *value)
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(const char *value)
const Aws::String & GetSourceSecurityGroupOwnerId() const
bool CidrIpHasBeenSet() const
bool ToPortHasBeenSet() const
void SetSourceSecurityGroupOwnerId(const Aws::String &value)
void SetIpPermissions(const Aws::Vector< IpPermission > &value)
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupName(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AuthorizeSecurityGroupEgressRequest & WithIpPermissions(Aws::Vector< IpPermission > &&value)
AuthorizeSecurityGroupEgressRequest & AddTagSpecifications(const TagSpecification &value)
AuthorizeSecurityGroupEgressRequest & WithDryRun(bool value)
AuthorizeSecurityGroupEgressRequest & WithFromPort(int value)
AWS_EC2_API AuthorizeSecurityGroupEgressRequest()
AuthorizeSecurityGroupEgressRequest & WithCidrIp(const char *value)
void SetCidrIp(Aws::String &&value)
void SetIpPermissions(Aws::Vector< IpPermission > &&value)
virtual const char * GetServiceRequestName() const override
bool IpPermissionsHasBeenSet() const
const Aws::Vector< IpPermission > & GetIpPermissions() const
const Aws::String & GetCidrIp() const
bool TagSpecificationsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector