7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.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>
47 template<
typename RuleNameT = Aws::String>
48 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
49 template<
typename RuleNameT = Aws::String>
59 template<
typename RuleStateT = Aws::String>
60 void SetRuleState(RuleStateT&& value) { m_ruleStateHasBeenSet =
true; m_ruleState = std::forward<RuleStateT>(value); }
61 template<
typename RuleStateT = Aws::String>
74 template<
typename RuleDefinitionT = Aws::String>
75 void SetRuleDefinition(RuleDefinitionT&& value) { m_ruleDefinitionHasBeenSet =
true; m_ruleDefinition = std::forward<RuleDefinitionT>(value); }
76 template<
typename RuleDefinitionT = Aws::String>
96 template<
typename TagsT = Aws::Vector<Tag>>
97 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
98 template<
typename TagsT = Aws::Vector<Tag>>
100 template<
typename TagsT = Tag>
128 bool m_ruleNameHasBeenSet =
false;
131 bool m_ruleStateHasBeenSet =
false;
134 bool m_ruleDefinitionHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
139 bool m_applyOnTransformedLogs{
false};
140 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
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_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector