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>
48 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
49 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
50 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
52 template<
typename TagSpecificationsT = TagSpecification>
65 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
75 template<
typename GroupIdT = Aws::String>
76 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
77 template<
typename GroupIdT = Aws::String>
87 template<
typename SourceSecurityGroupNameT = Aws::String>
88 void SetSourceSecurityGroupName(SourceSecurityGroupNameT&& value) { m_sourceSecurityGroupNameHasBeenSet =
true; m_sourceSecurityGroupName = std::forward<SourceSecurityGroupNameT>(value); }
89 template<
typename SourceSecurityGroupNameT = Aws::String>
99 template<
typename SourceSecurityGroupOwnerIdT = Aws::String>
100 void SetSourceSecurityGroupOwnerId(SourceSecurityGroupOwnerIdT&& value) { m_sourceSecurityGroupOwnerIdHasBeenSet =
true; m_sourceSecurityGroupOwnerId = std::forward<SourceSecurityGroupOwnerIdT>(value); }
101 template<
typename SourceSecurityGroupOwnerIdT = Aws::String>
111 template<
typename IpProtocolT = Aws::String>
112 void SetIpProtocol(IpProtocolT&& value) { m_ipProtocolHasBeenSet =
true; m_ipProtocol = std::forward<IpProtocolT>(value); }
113 template<
typename IpProtocolT = Aws::String>
123 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
133 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
143 template<
typename C
idrIpT = Aws::String>
144 void SetCidrIp(CidrIpT&& value) { m_cidrIpHasBeenSet =
true; m_cidrIp = std::forward<CidrIpT>(value); }
145 template<
typename C
idrIpT = Aws::String>
155 template<
typename IpPermissionsT = Aws::Vector<IpPermission>>
156 void SetIpPermissions(IpPermissionsT&& value) { m_ipPermissionsHasBeenSet =
true; m_ipPermissions = std::forward<IpPermissionsT>(value); }
157 template<
typename IpPermissionsT = Aws::Vector<IpPermission>>
159 template<
typename IpPermissionsT = IpPermission>
165 bool m_tagSpecificationsHasBeenSet =
false;
167 bool m_dryRun{
false};
168 bool m_dryRunHasBeenSet =
false;
171 bool m_groupIdHasBeenSet =
false;
174 bool m_sourceSecurityGroupNameHasBeenSet =
false;
177 bool m_sourceSecurityGroupOwnerIdHasBeenSet =
false;
180 bool m_ipProtocolHasBeenSet =
false;
183 bool m_fromPortHasBeenSet =
false;
186 bool m_toPortHasBeenSet =
false;
189 bool m_cidrIpHasBeenSet =
false;
192 bool m_ipPermissionsHasBeenSet =
false;
void SetFromPort(int value)
void SetTagSpecifications(TagSpecificationsT &&value)
void SetDryRun(bool value)
void SetCidrIp(CidrIpT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SourceSecurityGroupOwnerIdHasBeenSet() const
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupName(SourceSecurityGroupNameT &&value)
AuthorizeSecurityGroupEgressRequest & WithToPort(int value)
void SetGroupId(GroupIdT &&value)
void SetSourceSecurityGroupName(SourceSecurityGroupNameT &&value)
AuthorizeSecurityGroupEgressRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API AuthorizeSecurityGroupEgressRequest()=default
bool GroupIdHasBeenSet() const
void SetIpPermissions(IpPermissionsT &&value)
AuthorizeSecurityGroupEgressRequest & AddIpPermissions(IpPermissionsT &&value)
const Aws::String & GetIpProtocol() const
bool FromPortHasBeenSet() const
AuthorizeSecurityGroupEgressRequest & WithGroupId(GroupIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AuthorizeSecurityGroupEgressRequest & WithSourceSecurityGroupOwnerId(SourceSecurityGroupOwnerIdT &&value)
bool DryRunHasBeenSet() const
void SetIpProtocol(IpProtocolT &&value)
bool SourceSecurityGroupNameHasBeenSet() const
const Aws::String & GetSourceSecurityGroupName() const
bool IpProtocolHasBeenSet() const
void SetToPort(int value)
const Aws::String & GetGroupId() const
const Aws::String & GetSourceSecurityGroupOwnerId() const
void SetSourceSecurityGroupOwnerId(SourceSecurityGroupOwnerIdT &&value)
bool CidrIpHasBeenSet() const
AuthorizeSecurityGroupEgressRequest & WithIpPermissions(IpPermissionsT &&value)
AuthorizeSecurityGroupEgressRequest & WithCidrIp(CidrIpT &&value)
bool ToPortHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AuthorizeSecurityGroupEgressRequest & WithDryRun(bool value)
AuthorizeSecurityGroupEgressRequest & WithTagSpecifications(TagSpecificationsT &&value)
AuthorizeSecurityGroupEgressRequest & WithFromPort(int value)
AuthorizeSecurityGroupEgressRequest & WithIpProtocol(IpProtocolT &&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