7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/SecurityGroupRuleRequest.h>
43 template <
typename SecurityGroupRuleIdT = Aws::String>
45 m_securityGroupRuleIdHasBeenSet =
true;
46 m_securityGroupRuleId = std::forward<SecurityGroupRuleIdT>(value);
48 template <
typename SecurityGroupRuleIdT = Aws::String>
61 template <
typename SecurityGroupRuleT = SecurityGroupRuleRequest>
63 m_securityGroupRuleHasBeenSet =
true;
64 m_securityGroupRule = std::forward<SecurityGroupRuleT>(value);
66 template <
typename SecurityGroupRuleT = SecurityGroupRuleRequest>
76 bool m_securityGroupRuleIdHasBeenSet =
false;
77 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