7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/Tag.h>
34 AWS_CLOUDWATCH_API
ManagedRule(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename TemplateNameT = Aws::String>
47 m_templateNameHasBeenSet =
true;
48 m_templateName = std::forward<TemplateNameT>(value);
50 template <
typename TemplateNameT = Aws::String>
64 template <
typename ResourceARNT = Aws::String>
66 m_resourceARNHasBeenSet =
true;
67 m_resourceARN = std::forward<ResourceARNT>(value);
69 template <
typename ResourceARNT = Aws::String>
91 template <
typename TagsT = Aws::Vector<Tag>>
93 m_tagsHasBeenSet =
true;
94 m_tags = std::forward<TagsT>(value);
96 template <
typename TagsT = Aws::Vector<Tag>>
98 SetTags(std::forward<TagsT>(value));
101 template <
typename TagsT = Tag>
103 m_tagsHasBeenSet =
true;
104 m_tags.emplace_back(std::forward<TagsT>(value));
114 bool m_templateNameHasBeenSet =
false;
115 bool m_resourceARNHasBeenSet =
false;
116 bool m_tagsHasBeenSet =
false;
AWS_CLOUDWATCH_API ManagedRule & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ManagedRule & WithTags(TagsT &&value)
void SetResourceARN(ResourceARNT &&value)
void SetTemplateName(TemplateNameT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
bool ResourceARNHasBeenSet() const
ManagedRule & WithResourceARN(ResourceARNT &&value)
const Aws::String & GetTemplateName() const
AWS_CLOUDWATCH_API ManagedRule()=default
ManagedRule & WithTemplateName(TemplateNameT &&value)
bool TemplateNameHasBeenSet() const
ManagedRule & AddTags(TagsT &&value)
AWS_CLOUDWATCH_API ManagedRule(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetResourceARN() const
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