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>
49 template<
typename KeywordT = Aws::String>
50 void SetKeyword(KeywordT&& value) { m_keywordHasBeenSet =
true; m_keyword = std::forward<KeywordT>(value); }
51 template<
typename KeywordT = Aws::String>
61 template<
typename SettingsT = Aws::Vector<Aws::String>>
62 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet =
true; m_settings = std::forward<SettingsT>(value); }
63 template<
typename SettingsT = Aws::Vector<Aws::String>>
65 template<
typename SettingsT = Aws::String>
66 RuleOption&
AddSettings(SettingsT&& value) { m_settingsHasBeenSet =
true; m_settings.emplace_back(std::forward<SettingsT>(value));
return *
this; }
71 bool m_keywordHasBeenSet =
false;
74 bool m_settingsHasBeenSet =
false;
void SetSettings(SettingsT &&value)
RuleOption & WithSettings(SettingsT &&value)
bool KeywordHasBeenSet() const
const Aws::Vector< Aws::String > & GetSettings() const
RuleOption & AddSettings(SettingsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetKeyword() const
AWS_EC2_API RuleOption()=default
AWS_EC2_API RuleOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKeyword(KeywordT &&value)
RuleOption & WithKeyword(KeywordT &&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)
bool SettingsHasBeenSet() const
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