| |
| |
| |
| |
|
|
| #pragma once |
| #include <aws/monitoring/CloudWatch_EXPORTS.h> |
| #include <aws/monitoring/CloudWatchRequest.h> |
| #include <aws/core/utils/memory/stl/AWSString.h> |
| #include <aws/core/utils/DateTime.h> |
| #include <aws/core/utils/memory/stl/AWSVector.h> |
| #include <utility> |
|
|
| namespace Aws |
| { |
| namespace CloudWatch |
| { |
| namespace Model |
| { |
|
|
| |
| |
| class GetInsightRuleReportRequest : public CloudWatchRequest |
| { |
| public: |
| AWS_CLOUDWATCH_API GetInsightRuleReportRequest(); |
|
|
| |
| |
| |
| |
| inline virtual const char* GetServiceRequestName() const override { return "GetInsightRuleReport"; } |
|
|
| AWS_CLOUDWATCH_API Aws::String SerializePayload() const override; |
|
|
| protected: |
| AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; |
|
|
| public: |
|
|
| |
| |
| |
| |
| inline const Aws::String& GetRuleName() const{ return m_ruleName; } |
| inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } |
| inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } |
| inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } |
| inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } |
| inline GetInsightRuleReportRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} |
| inline GetInsightRuleReportRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} |
| inline GetInsightRuleReportRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;} |
| |
|
|
| |
| |
| |
| |
| |
| |
| inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } |
| inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } |
| inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } |
| inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } |
| inline GetInsightRuleReportRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} |
| inline GetInsightRuleReportRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} |
| |
|
|
| |
| |
| |
| |
| |
| |
| inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } |
| inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } |
| inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } |
| inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } |
| inline GetInsightRuleReportRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} |
| inline GetInsightRuleReportRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} |
| |
|
|
| |
| |
| |
| |
| |
| inline int GetPeriod() const{ return m_period; } |
| inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } |
| inline void SetPeriod(int value) { m_periodHasBeenSet = true; m_period = value; } |
| inline GetInsightRuleReportRequest& WithPeriod(int value) { SetPeriod(value); return *this;} |
| |
|
|
| |
| |
| |
| |
| |
| inline int GetMaxContributorCount() const{ return m_maxContributorCount; } |
| inline bool MaxContributorCountHasBeenSet() const { return m_maxContributorCountHasBeenSet; } |
| inline void SetMaxContributorCount(int value) { m_maxContributorCountHasBeenSet = true; m_maxContributorCount = value; } |
| inline GetInsightRuleReportRequest& WithMaxContributorCount(int value) { SetMaxContributorCount(value); return *this;} |
| |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| inline const Aws::Vector<Aws::String>& GetMetrics() const{ return m_metrics; } |
| inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } |
| inline void SetMetrics(const Aws::Vector<Aws::String>& value) { m_metricsHasBeenSet = true; m_metrics = value; } |
| inline void SetMetrics(Aws::Vector<Aws::String>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } |
| inline GetInsightRuleReportRequest& WithMetrics(const Aws::Vector<Aws::String>& value) { SetMetrics(value); return *this;} |
| inline GetInsightRuleReportRequest& WithMetrics(Aws::Vector<Aws::String>&& value) { SetMetrics(std::move(value)); return *this;} |
| inline GetInsightRuleReportRequest& AddMetrics(const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; } |
| inline GetInsightRuleReportRequest& AddMetrics(Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; } |
| inline GetInsightRuleReportRequest& AddMetrics(const char* value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; } |
| |
|
|
| |
| |
| |
| |
| |
| inline const Aws::String& GetOrderBy() const{ return m_orderBy; } |
| inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; } |
| inline void SetOrderBy(const Aws::String& value) { m_orderByHasBeenSet = true; m_orderBy = value; } |
| inline void SetOrderBy(Aws::String&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); } |
| inline void SetOrderBy(const char* value) { m_orderByHasBeenSet = true; m_orderBy.assign(value); } |
| inline GetInsightRuleReportRequest& WithOrderBy(const Aws::String& value) { SetOrderBy(value); return *this;} |
| inline GetInsightRuleReportRequest& WithOrderBy(Aws::String&& value) { SetOrderBy(std::move(value)); return *this;} |
| inline GetInsightRuleReportRequest& WithOrderBy(const char* value) { SetOrderBy(value); return *this;} |
| |
| private: |
|
|
| Aws::String m_ruleName; |
| bool m_ruleNameHasBeenSet = false; |
|
|
| Aws::Utils::DateTime m_startTime; |
| bool m_startTimeHasBeenSet = false; |
|
|
| Aws::Utils::DateTime m_endTime; |
| bool m_endTimeHasBeenSet = false; |
|
|
| int m_period; |
| bool m_periodHasBeenSet = false; |
|
|
| int m_maxContributorCount; |
| bool m_maxContributorCountHasBeenSet = false; |
|
|
| Aws::Vector<Aws::String> m_metrics; |
| bool m_metricsHasBeenSet = false; |
|
|
| Aws::String m_orderBy; |
| bool m_orderByHasBeenSet = false; |
| }; |
|
|
| } |
| } |
| } |
|
|