7#include <aws/monitoring/CloudWatch_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/monitoring/model/Tag.h>
55 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
70 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
95 inline ManagedRule&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
96 inline ManagedRule&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
101 bool m_templateNameHasBeenSet =
false;
104 bool m_resourceARNHasBeenSet =
false;
107 bool m_tagsHasBeenSet =
false;
void SetTemplateName(const char *value)
ManagedRule & AddTags(const Tag &value)
ManagedRule & WithTags(const Aws::Vector< Tag > &value)
void SetResourceARN(const char *value)
AWS_CLOUDWATCH_API ManagedRule(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedRule & WithTemplateName(const Aws::String &value)
void SetTemplateName(Aws::String &&value)
ManagedRule & WithResourceARN(Aws::String &&value)
void SetResourceARN(Aws::String &&value)
AWS_CLOUDWATCH_API ManagedRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ManagedRule & WithTemplateName(const char *value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceARN(const Aws::String &value)
bool TagsHasBeenSet() const
bool ResourceARNHasBeenSet() const
AWS_CLOUDWATCH_API ManagedRule()
ManagedRule & WithTags(Aws::Vector< Tag > &&value)
void SetTemplateName(const Aws::String &value)
const Aws::String & GetTemplateName() const
ManagedRule & WithResourceARN(const char *value)
ManagedRule & WithResourceARN(const Aws::String &value)
bool TemplateNameHasBeenSet() const
ManagedRule & AddTags(Tag &&value)
const Aws::String & GetResourceARN() const
ManagedRule & WithTemplateName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() 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