/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CloudWatch { namespace Model { /** */ class DescribeInsightRulesRequest : public CloudWatchRequest { public: AWS_CLOUDWATCH_API DescribeInsightRulesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeInsightRules"; } AWS_CLOUDWATCH_API Aws::String SerializePayload() const override; protected: AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline DescribeInsightRulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline DescribeInsightRulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Include this value, if it was returned by the previous operation, to get the * next set of rules.

*/ inline DescribeInsightRulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return in one operation. If you omit this * parameter, the default of 500 is used.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return in one operation. If you omit this * parameter, the default of 500 is used.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return in one operation. If you omit this * parameter, the default of 500 is used.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return in one operation. If you omit this * parameter, the default of 500 is used.

*/ inline DescribeInsightRulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CloudWatch } // namespace Aws