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>
51 inline void SetKeyword(
const char* value) { m_keywordHasBeenSet =
true; m_keyword.assign(value); }
69 inline RuleOption&
AddSettings(
const char* value) { m_settingsHasBeenSet =
true; m_settings.push_back(value);
return *
this; }
74 bool m_keywordHasBeenSet =
false;
77 bool m_settingsHasBeenSet =
false;
void SetKeyword(Aws::String &&value)
RuleOption & AddSettings(const char *value)
RuleOption & AddSettings(Aws::String &&value)
RuleOption & AddSettings(const Aws::String &value)
RuleOption & WithSettings(const Aws::Vector< Aws::String > &value)
bool KeywordHasBeenSet() const
RuleOption & WithKeyword(const char *value)
void SetSettings(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSettings() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetKeyword(const Aws::String &value)
const Aws::String & GetKeyword() const
void SetKeyword(const char *value)
AWS_EC2_API RuleOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RuleOption & WithKeyword(const Aws::String &value)
RuleOption & WithSettings(Aws::Vector< Aws::String > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API RuleOption(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSettings(const Aws::Vector< Aws::String > &value)
bool SettingsHasBeenSet() const
RuleOption & WithKeyword(Aws::String &&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