7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/RuleOption.h>
45 template <
typename RuleGroupArnT = Aws::String>
47 m_ruleGroupArnHasBeenSet =
true;
48 m_ruleGroupArn = std::forward<RuleGroupArnT>(value);
50 template <
typename RuleGroupArnT = Aws::String>
63 template <
typename RuleOptionsT = Aws::Vector<RuleOption>>
65 m_ruleOptionsHasBeenSet =
true;
66 m_ruleOptions = std::forward<RuleOptionsT>(value);
68 template <
typename RuleOptionsT = Aws::Vector<RuleOption>>
73 template <
typename RuleOptionsT = RuleOption>
75 m_ruleOptionsHasBeenSet =
true;
76 m_ruleOptions.emplace_back(std::forward<RuleOptionsT>(value));
84 bool m_ruleGroupArnHasBeenSet =
false;
85 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