7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/StaleIpPermission.h>
53 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
67 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
81 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
123 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
131 bool m_descriptionHasBeenSet =
false;
134 bool m_groupIdHasBeenSet =
false;
137 bool m_groupNameHasBeenSet =
false;
140 bool m_staleIpPermissionsHasBeenSet =
false;
143 bool m_staleIpPermissionsEgressHasBeenSet =
false;
146 bool m_vpcIdHasBeenSet =
false;
StaleSecurityGroup & WithStaleIpPermissions(const Aws::Vector< StaleIpPermission > &value)
bool DescriptionHasBeenSet() const
StaleSecurityGroup & WithGroupName(const Aws::String &value)
bool GroupIdHasBeenSet() const
void SetGroupId(const char *value)
bool VpcIdHasBeenSet() const
StaleSecurityGroup & WithVpcId(const char *value)
void SetStaleIpPermissionsEgress(const Aws::Vector< StaleIpPermission > &value)
StaleSecurityGroup & WithGroupId(const char *value)
StaleSecurityGroup & AddStaleIpPermissions(StaleIpPermission &&value)
const Aws::String & GetGroupName() const
StaleSecurityGroup & WithStaleIpPermissions(Aws::Vector< StaleIpPermission > &&value)
StaleSecurityGroup & WithDescription(const Aws::String &value)
StaleSecurityGroup & WithGroupName(Aws::String &&value)
bool GroupNameHasBeenSet() const
void SetGroupName(Aws::String &&value)
void SetGroupName(const Aws::String &value)
AWS_EC2_API StaleSecurityGroup()
StaleSecurityGroup & WithGroupName(const char *value)
void SetGroupName(const char *value)
StaleSecurityGroup & WithVpcId(const Aws::String &value)
void SetVpcId(const Aws::String &value)
StaleSecurityGroup & WithDescription(Aws::String &&value)
StaleSecurityGroup & WithStaleIpPermissionsEgress(const Aws::Vector< StaleIpPermission > &value)
void SetStaleIpPermissions(const Aws::Vector< StaleIpPermission > &value)
const Aws::String & GetDescription() const
StaleSecurityGroup & WithDescription(const char *value)
StaleSecurityGroup & WithGroupId(const Aws::String &value)
void SetStaleIpPermissionsEgress(Aws::Vector< StaleIpPermission > &&value)
void SetVpcId(const char *value)
AWS_EC2_API StaleSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StaleSecurityGroup & WithStaleIpPermissionsEgress(Aws::Vector< StaleIpPermission > &&value)
void SetDescription(Aws::String &&value)
const Aws::Vector< StaleIpPermission > & GetStaleIpPermissionsEgress() const
const Aws::String & GetVpcId() const
StaleSecurityGroup & WithGroupId(Aws::String &&value)
bool StaleIpPermissionsHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetGroupId(Aws::String &&value)
StaleSecurityGroup & AddStaleIpPermissions(const StaleIpPermission &value)
StaleSecurityGroup & WithVpcId(Aws::String &&value)
void SetVpcId(Aws::String &&value)
StaleSecurityGroup & AddStaleIpPermissionsEgress(const StaleIpPermission &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API StaleSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< StaleIpPermission > & GetStaleIpPermissions() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStaleIpPermissions(Aws::Vector< StaleIpPermission > &&value)
void SetGroupId(const Aws::String &value)
StaleSecurityGroup & AddStaleIpPermissionsEgress(StaleIpPermission &&value)
const Aws::String & GetGroupId() const
bool StaleIpPermissionsEgressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream