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>
49 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
63 inline void SetRuleState(
const char* value) { m_ruleStateHasBeenSet =
true; m_ruleState.assign(value); }
80 inline void SetRuleDefinition(
const char* value) { m_ruleDefinitionHasBeenSet =
true; m_ruleDefinition.assign(value); }
112 bool m_ruleNameHasBeenSet =
false;
115 bool m_ruleStateHasBeenSet =
false;
118 bool m_ruleDefinitionHasBeenSet =
false;
121 bool m_tagsHasBeenSet =
false;
void SetRuleName(Aws::String &&value)
void SetRuleState(Aws::String &&value)
void SetRuleDefinition(const char *value)
PutInsightRuleRequest & WithRuleDefinition(const char *value)
PutInsightRuleRequest & WithRuleState(const Aws::String &value)
const Aws::String & GetRuleState() const
PutInsightRuleRequest & WithRuleName(Aws::String &&value)
PutInsightRuleRequest & WithRuleDefinition(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
PutInsightRuleRequest & WithRuleState(Aws::String &&value)
void SetRuleName(const char *value)
bool RuleNameHasBeenSet() const
bool RuleDefinitionHasBeenSet() const
const Aws::String & GetRuleDefinition() const
void SetRuleState(const char *value)
PutInsightRuleRequest & WithRuleDefinition(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRuleName() const
PutInsightRuleRequest & AddTags(Tag &&value)
void SetRuleState(const Aws::String &value)
void SetRuleDefinition(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
PutInsightRuleRequest & WithRuleState(const char *value)
void SetRuleName(const Aws::String &value)
AWS_CLOUDWATCH_API PutInsightRuleRequest()
PutInsightRuleRequest & WithRuleName(const Aws::String &value)
PutInsightRuleRequest & WithTags(const Aws::Vector< Tag > &value)
PutInsightRuleRequest & WithTags(Aws::Vector< Tag > &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
void SetRuleDefinition(const Aws::String &value)
PutInsightRuleRequest & AddTags(const Tag &value)
PutInsightRuleRequest & WithRuleName(const char *value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
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