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/RuleOption.h>
51 template<
typename RuleGroupArnT = Aws::String>
52 void SetRuleGroupArn(RuleGroupArnT&& value) { m_ruleGroupArnHasBeenSet =
true; m_ruleGroupArn = std::forward<RuleGroupArnT>(value); }
53 template<
typename RuleGroupArnT = Aws::String>
63 template<
typename RuleOptionsT = Aws::Vector<RuleOption>>
64 void SetRuleOptions(RuleOptionsT&& value) { m_ruleOptionsHasBeenSet =
true; m_ruleOptions = std::forward<RuleOptionsT>(value); }
65 template<
typename RuleOptionsT = Aws::Vector<RuleOption>>
67 template<
typename RuleOptionsT = RuleOption>
73 bool m_ruleGroupArnHasBeenSet =
false;
76 bool m_ruleOptionsHasBeenSet =
false;
AWS_EC2_API RuleGroupRuleOptionsPair & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API RuleGroupRuleOptionsPair(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< RuleOption > & GetRuleOptions() const
bool RuleOptionsHasBeenSet() const
AWS_EC2_API RuleGroupRuleOptionsPair()=default
void SetRuleGroupArn(RuleGroupArnT &&value)
bool RuleGroupArnHasBeenSet() const
RuleGroupRuleOptionsPair & AddRuleOptions(RuleOptionsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetRuleGroupArn() const
RuleGroupRuleOptionsPair & WithRuleOptions(RuleOptionsT &&value)
void SetRuleOptions(RuleOptionsT &&value)
RuleGroupRuleOptionsPair & WithRuleGroupArn(RuleGroupArnT &&value)
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