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>
12#include <aws/ec2/model/TagSpecification.h>
52 inline void SetCidrIp(
const char* value) { m_cidrIpHasBeenSet =
true; m_cidrIp.assign(value); }
67 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
79 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
96 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
131 inline void SetIpProtocol(
const char* value) { m_ipProtocolHasBeenSet =
true; m_ipProtocol.assign(value); }
147 inline void SetSourceSecurityGroupName(
const char* value) { m_sourceSecurityGroupNameHasBeenSet =
true; m_sourceSecurityGroupName.assign(value); }
180 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
207 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
213 bool m_cidrIpHasBeenSet =
false;
216 bool m_fromPortHasBeenSet =
false;
219 bool m_groupIdHasBeenSet =
false;
222 bool m_groupNameHasBeenSet =
false;
225 bool m_ipPermissionsHasBeenSet =
false;
228 bool m_ipProtocolHasBeenSet =
false;
231 bool m_sourceSecurityGroupNameHasBeenSet =
false;
234 bool m_sourceSecurityGroupOwnerIdHasBeenSet =
false;
237 bool m_toPortHasBeenSet =
false;
240 bool m_tagSpecificationsHasBeenSet =
false;
243 bool m_dryRunHasBeenSet =
false;
void SetIpPermissions(const Aws::Vector< IpPermission > &value)
void SetIpPermissions(Aws::Vector< IpPermission > &&value)
AuthorizeSecurityGroupIngressRequest & WithSourceSecurityGroupName(const char *value)
const Aws::String & GetGroupName() const
void SetCidrIp(const char *value)
AuthorizeSecurityGroupIngressRequest & WithGroupName(Aws::String &&value)
AuthorizeSecurityGroupIngressRequest & AddTagSpecifications(const TagSpecification &value)
void SetSourceSecurityGroupOwnerId(const char *value)
const Aws::String & GetSourceSecurityGroupName() const
AuthorizeSecurityGroupIngressRequest & WithSourceSecurityGroupOwnerId(Aws::String &&value)
AuthorizeSecurityGroupIngressRequest & WithCidrIp(const char *value)
AuthorizeSecurityGroupIngressRequest & WithCidrIp(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithSourceSecurityGroupName(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithSourceSecurityGroupOwnerId(const Aws::String &value)
const Aws::String & GetSourceSecurityGroupOwnerId() const
void SetGroupId(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithIpProtocol(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithIpProtocol(const char *value)
void SetSourceSecurityGroupOwnerId(const Aws::String &value)
void SetIpProtocol(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithIpPermissions(const Aws::Vector< IpPermission > &value)
bool IpProtocolHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool ToPortHasBeenSet() const
bool DryRunHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool SourceSecurityGroupNameHasBeenSet() const
AuthorizeSecurityGroupIngressRequest & WithGroupId(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithDryRun(bool value)
AuthorizeSecurityGroupIngressRequest & AddTagSpecifications(TagSpecification &&value)
const Aws::String & GetCidrIp() const
void SetGroupName(const char *value)
void SetIpProtocol(const char *value)
AuthorizeSecurityGroupIngressRequest & WithSourceSecurityGroupName(Aws::String &&value)
AuthorizeSecurityGroupIngressRequest & WithIpProtocol(Aws::String &&value)
AuthorizeSecurityGroupIngressRequest & WithFromPort(int value)
bool GroupIdHasBeenSet() const
void SetSourceSecurityGroupName(const Aws::String &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool GroupNameHasBeenSet() const
AuthorizeSecurityGroupIngressRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
AuthorizeSecurityGroupIngressRequest & WithGroupName(const char *value)
AuthorizeSecurityGroupIngressRequest & WithIpPermissions(Aws::Vector< IpPermission > &&value)
AuthorizeSecurityGroupIngressRequest & WithCidrIp(Aws::String &&value)
AuthorizeSecurityGroupIngressRequest & AddIpPermissions(const IpPermission &value)
void SetIpProtocol(Aws::String &&value)
const Aws::Vector< IpPermission > & GetIpPermissions() const
AuthorizeSecurityGroupIngressRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool SourceSecurityGroupOwnerIdHasBeenSet() const
void SetGroupId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API AuthorizeSecurityGroupIngressRequest()
void SetSourceSecurityGroupName(const char *value)
virtual const char * GetServiceRequestName() const override
AuthorizeSecurityGroupIngressRequest & WithGroupName(const Aws::String &value)
AuthorizeSecurityGroupIngressRequest & WithToPort(int value)
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSourceSecurityGroupName(Aws::String &&value)
const Aws::String & GetIpProtocol() const
void SetFromPort(int value)
void SetGroupId(Aws::String &&value)
void SetDryRun(bool value)
AuthorizeSecurityGroupIngressRequest & WithGroupId(Aws::String &&value)
bool CidrIpHasBeenSet() const
AuthorizeSecurityGroupIngressRequest & WithSourceSecurityGroupOwnerId(const char *value)
void SetSourceSecurityGroupOwnerId(Aws::String &&value)
void SetCidrIp(const Aws::String &value)
void SetGroupName(Aws::String &&value)
void SetToPort(int value)
AuthorizeSecurityGroupIngressRequest & WithGroupId(const char *value)
AuthorizeSecurityGroupIngressRequest & AddIpPermissions(IpPermission &&value)
void SetCidrIp(Aws::String &&value)
const Aws::String & GetGroupId() const
void SetGroupName(const Aws::String &value)
bool FromPortHasBeenSet() const
bool IpPermissionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector