| |
| |
| |
| |
|
|
| #pragma once |
| #include <aws/monitoring/CloudWatch_EXPORTS.h> |
| #include <aws/monitoring/CloudWatchRequest.h> |
| #include <aws/core/utils/memory/stl/AWSVector.h> |
| #include <aws/core/utils/memory/stl/AWSString.h> |
| #include <utility> |
|
|
| namespace Aws |
| { |
| namespace CloudWatch |
| { |
| namespace Model |
| { |
|
|
| |
| |
| class DisableInsightRulesRequest : public CloudWatchRequest |
| { |
| public: |
| AWS_CLOUDWATCH_API DisableInsightRulesRequest(); |
|
|
| |
| |
| |
| |
| inline virtual const char* GetServiceRequestName() const override { return "DisableInsightRules"; } |
|
|
| AWS_CLOUDWATCH_API Aws::String SerializePayload() const override; |
|
|
| protected: |
| AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; |
|
|
| public: |
|
|
| |
| |
| |
| |
| |
| |
| inline const Aws::Vector<Aws::String>& GetRuleNames() const{ return m_ruleNames; } |
| inline bool RuleNamesHasBeenSet() const { return m_ruleNamesHasBeenSet; } |
| inline void SetRuleNames(const Aws::Vector<Aws::String>& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = value; } |
| inline void SetRuleNames(Aws::Vector<Aws::String>&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = std::move(value); } |
| inline DisableInsightRulesRequest& WithRuleNames(const Aws::Vector<Aws::String>& value) { SetRuleNames(value); return *this;} |
| inline DisableInsightRulesRequest& WithRuleNames(Aws::Vector<Aws::String>&& value) { SetRuleNames(std::move(value)); return *this;} |
| inline DisableInsightRulesRequest& AddRuleNames(const Aws::String& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(value); return *this; } |
| inline DisableInsightRulesRequest& AddRuleNames(Aws::String&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(std::move(value)); return *this; } |
| inline DisableInsightRulesRequest& AddRuleNames(const char* value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(value); return *this; } |
| |
| private: |
|
|
| Aws::Vector<Aws::String> m_ruleNames; |
| bool m_ruleNamesHasBeenSet = false; |
| }; |
|
|
| } |
| } |
| } |
|
|