7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/monitoring/CloudWatchRequest.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/Tag.h>
41 template <
typename RuleNameT = Aws::String>
43 m_ruleNameHasBeenSet =
true;
44 m_ruleName = std::forward<RuleNameT>(value);
46 template <
typename RuleNameT = Aws::String>
59 template <
typename RuleStateT = Aws::String>
61 m_ruleStateHasBeenSet =
true;
62 m_ruleState = std::forward<RuleStateT>(value);
64 template <
typename RuleStateT = Aws::String>
80 template <
typename RuleDefinitionT = Aws::String>
82 m_ruleDefinitionHasBeenSet =
true;
83 m_ruleDefinition = std::forward<RuleDefinitionT>(value);
85 template <
typename RuleDefinitionT = Aws::String>
108 template <
typename TagsT = Aws::Vector<Tag>>
110 m_tagsHasBeenSet =
true;
111 m_tags = std::forward<TagsT>(value);
113 template <
typename TagsT = Aws::Vector<Tag>>
115 SetTags(std::forward<TagsT>(value));
118 template <
typename TagsT = Tag>
120 m_tagsHasBeenSet =
true;
121 m_tags.emplace_back(std::forward<TagsT>(value));
145 m_applyOnTransformedLogsHasBeenSet =
true;
146 m_applyOnTransformedLogs = value;
162 bool m_applyOnTransformedLogs{
false};
163 bool m_ruleNameHasBeenSet =
false;
164 bool m_ruleStateHasBeenSet =
false;
165 bool m_ruleDefinitionHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
167 bool m_applyOnTransformedLogsHasBeenSet =
false;
void SetRuleDefinition(RuleDefinitionT &&value)
const Aws::String & GetRuleState() const
PutInsightRuleRequest & WithRuleName(RuleNameT &&value)
bool ApplyOnTransformedLogsHasBeenSet() const
void SetRuleName(RuleNameT &&value)
PutInsightRuleRequest & WithRuleDefinition(RuleDefinitionT &&value)
bool RuleNameHasBeenSet() const
bool RuleDefinitionHasBeenSet() const
const Aws::String & GetRuleDefinition() const
const Aws::Vector< Tag > & GetTags() const
void SetApplyOnTransformedLogs(bool value)
const Aws::String & GetRuleName() const
AWS_CLOUDWATCH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(TagsT &&value)
PutInsightRuleRequest & WithRuleState(RuleStateT &&value)
AWS_CLOUDWATCH_API PutInsightRuleRequest()=default
PutInsightRuleRequest & WithTags(TagsT &&value)
PutInsightRuleRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
bool GetApplyOnTransformedLogs() const
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
void SetRuleState(RuleStateT &&value)
PutInsightRuleRequest & WithApplyOnTransformedLogs(bool value)
bool RuleStateHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector