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/ec2/model/SecurityGroupRuleRequest.h>
49 template<
typename SecurityGroupRuleIdT = Aws::String>
50 void SetSecurityGroupRuleId(SecurityGroupRuleIdT&& value) { m_securityGroupRuleIdHasBeenSet =
true; m_securityGroupRuleId = std::forward<SecurityGroupRuleIdT>(value); }
51 template<
typename SecurityGroupRuleIdT = Aws::String>
61 template<
typename SecurityGroupRuleT = SecurityGroupRuleRequest>
62 void SetSecurityGroupRule(SecurityGroupRuleT&& value) { m_securityGroupRuleHasBeenSet =
true; m_securityGroupRule = std::forward<SecurityGroupRuleT>(value); }
63 template<
typename SecurityGroupRuleT = SecurityGroupRuleRequest>
69 bool m_securityGroupRuleIdHasBeenSet =
false;
72 bool m_securityGroupRuleHasBeenSet =
false;
AWS_EC2_API SecurityGroupRuleUpdate(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool SecurityGroupRuleHasBeenSet() const
const SecurityGroupRuleRequest & GetSecurityGroupRule() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SecurityGroupRuleUpdate & WithSecurityGroupRuleId(SecurityGroupRuleIdT &&value)
const Aws::String & GetSecurityGroupRuleId() const
AWS_EC2_API SecurityGroupRuleUpdate()=default
void SetSecurityGroupRule(SecurityGroupRuleT &&value)
AWS_EC2_API SecurityGroupRuleUpdate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSecurityGroupRuleId(SecurityGroupRuleIdT &&value)
SecurityGroupRuleUpdate & WithSecurityGroupRule(SecurityGroupRuleT &&value)
bool SecurityGroupRuleIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream