/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace CloudWatch { namespace Model { /** */ class DescribeAlarmsRequest : public CloudWatchRequest { public: AWS_CLOUDWATCH_API DescribeAlarmsRequest(); // 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 "DescribeAlarms"; } AWS_CLOUDWATCH_API Aws::String SerializePayload() const override; protected: AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The names of the alarms to retrieve information about.

*/ inline const Aws::Vector& GetAlarmNames() const{ return m_alarmNames; } /** *

The names of the alarms to retrieve information about.

*/ inline bool AlarmNamesHasBeenSet() const { return m_alarmNamesHasBeenSet; } /** *

The names of the alarms to retrieve information about.

*/ inline void SetAlarmNames(const Aws::Vector& value) { m_alarmNamesHasBeenSet = true; m_alarmNames = value; } /** *

The names of the alarms to retrieve information about.

*/ inline void SetAlarmNames(Aws::Vector&& value) { m_alarmNamesHasBeenSet = true; m_alarmNames = std::move(value); } /** *

The names of the alarms to retrieve information about.

*/ inline DescribeAlarmsRequest& WithAlarmNames(const Aws::Vector& value) { SetAlarmNames(value); return *this;} /** *

The names of the alarms to retrieve information about.

*/ inline DescribeAlarmsRequest& WithAlarmNames(Aws::Vector&& value) { SetAlarmNames(std::move(value)); return *this;} /** *

The names of the alarms to retrieve information about.

*/ inline DescribeAlarmsRequest& AddAlarmNames(const Aws::String& value) { m_alarmNamesHasBeenSet = true; m_alarmNames.push_back(value); return *this; } /** *

The names of the alarms to retrieve information about.

*/ inline DescribeAlarmsRequest& AddAlarmNames(Aws::String&& value) { m_alarmNamesHasBeenSet = true; m_alarmNames.push_back(std::move(value)); return *this; } /** *

The names of the alarms to retrieve information about.

*/ inline DescribeAlarmsRequest& AddAlarmNames(const char* value) { m_alarmNamesHasBeenSet = true; m_alarmNames.push_back(value); return *this; } /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline const Aws::String& GetAlarmNamePrefix() const{ return m_alarmNamePrefix; } /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline bool AlarmNamePrefixHasBeenSet() const { return m_alarmNamePrefixHasBeenSet; } /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline void SetAlarmNamePrefix(const Aws::String& value) { m_alarmNamePrefixHasBeenSet = true; m_alarmNamePrefix = value; } /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline void SetAlarmNamePrefix(Aws::String&& value) { m_alarmNamePrefixHasBeenSet = true; m_alarmNamePrefix = std::move(value); } /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline void SetAlarmNamePrefix(const char* value) { m_alarmNamePrefixHasBeenSet = true; m_alarmNamePrefix.assign(value); } /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline DescribeAlarmsRequest& WithAlarmNamePrefix(const Aws::String& value) { SetAlarmNamePrefix(value); return *this;} /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline DescribeAlarmsRequest& WithAlarmNamePrefix(Aws::String&& value) { SetAlarmNamePrefix(std::move(value)); return *this;} /** *

An alarm name prefix. If you specify this parameter, you receive information * about all alarms that have names that start with this prefix.

If this * parameter is specified, you cannot specify AlarmNames.

*/ inline DescribeAlarmsRequest& WithAlarmNamePrefix(const char* value) { SetAlarmNamePrefix(value); return *this;} /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline const Aws::Vector& GetAlarmTypes() const{ return m_alarmTypes; } /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline bool AlarmTypesHasBeenSet() const { return m_alarmTypesHasBeenSet; } /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline void SetAlarmTypes(const Aws::Vector& value) { m_alarmTypesHasBeenSet = true; m_alarmTypes = value; } /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline void SetAlarmTypes(Aws::Vector&& value) { m_alarmTypesHasBeenSet = true; m_alarmTypes = std::move(value); } /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline DescribeAlarmsRequest& WithAlarmTypes(const Aws::Vector& value) { SetAlarmTypes(value); return *this;} /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline DescribeAlarmsRequest& WithAlarmTypes(Aws::Vector&& value) { SetAlarmTypes(std::move(value)); return *this;} /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline DescribeAlarmsRequest& AddAlarmTypes(const AlarmType& value) { m_alarmTypesHasBeenSet = true; m_alarmTypes.push_back(value); return *this; } /** *

Use this parameter to specify whether you want the operation to return metric * alarms or composite alarms. If you omit this parameter, only metric alarms are * returned.

*/ inline DescribeAlarmsRequest& AddAlarmTypes(AlarmType&& value) { m_alarmTypesHasBeenSet = true; m_alarmTypes.push_back(std::move(value)); return *this; } /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline const Aws::String& GetChildrenOfAlarmName() const{ return m_childrenOfAlarmName; } /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline bool ChildrenOfAlarmNameHasBeenSet() const { return m_childrenOfAlarmNameHasBeenSet; } /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline void SetChildrenOfAlarmName(const Aws::String& value) { m_childrenOfAlarmNameHasBeenSet = true; m_childrenOfAlarmName = value; } /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline void SetChildrenOfAlarmName(Aws::String&& value) { m_childrenOfAlarmNameHasBeenSet = true; m_childrenOfAlarmName = std::move(value); } /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline void SetChildrenOfAlarmName(const char* value) { m_childrenOfAlarmNameHasBeenSet = true; m_childrenOfAlarmName.assign(value); } /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline DescribeAlarmsRequest& WithChildrenOfAlarmName(const Aws::String& value) { SetChildrenOfAlarmName(value); return *this;} /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline DescribeAlarmsRequest& WithChildrenOfAlarmName(Aws::String&& value) { SetChildrenOfAlarmName(std::move(value)); return *this;} /** *

If you use this parameter and specify the name of a composite alarm, the * operation returns information about the "children" alarms of the alarm you * specify. These are the metric alarms and composite alarms referenced in the * AlarmRule field of the composite alarm that you specify in * ChildrenOfAlarmName. Information about the composite alarm that you * name in ChildrenOfAlarmName is not returned.

If you specify * ChildrenOfAlarmName, you cannot specify any other parameters in the * request except for MaxRecords and NextToken. If you do * so, you receive a validation error.

Only the Alarm * Name, ARN, StateValue * (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information * are returned by this operation when you use this parameter. To get complete * information about these alarms, perform another DescribeAlarms * operation and specify the parent alarm names in the AlarmNames * parameter.

*/ inline DescribeAlarmsRequest& WithChildrenOfAlarmName(const char* value) { SetChildrenOfAlarmName(value); return *this;} /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline const Aws::String& GetParentsOfAlarmName() const{ return m_parentsOfAlarmName; } /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline bool ParentsOfAlarmNameHasBeenSet() const { return m_parentsOfAlarmNameHasBeenSet; } /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline void SetParentsOfAlarmName(const Aws::String& value) { m_parentsOfAlarmNameHasBeenSet = true; m_parentsOfAlarmName = value; } /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline void SetParentsOfAlarmName(Aws::String&& value) { m_parentsOfAlarmNameHasBeenSet = true; m_parentsOfAlarmName = std::move(value); } /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline void SetParentsOfAlarmName(const char* value) { m_parentsOfAlarmNameHasBeenSet = true; m_parentsOfAlarmName.assign(value); } /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline DescribeAlarmsRequest& WithParentsOfAlarmName(const Aws::String& value) { SetParentsOfAlarmName(value); return *this;} /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline DescribeAlarmsRequest& WithParentsOfAlarmName(Aws::String&& value) { SetParentsOfAlarmName(std::move(value)); return *this;} /** *

If you use this parameter and specify the name of a metric or composite * alarm, the operation returns information about the "parent" alarms of the alarm * you specify. These are the composite alarms that have AlarmRule * parameters that reference the alarm named in ParentsOfAlarmName. * Information about the alarm that you specify in ParentsOfAlarmName * is not returned.

If you specify ParentsOfAlarmName, you * cannot specify any other parameters in the request except for * MaxRecords and NextToken. If you do so, you receive a * validation error.

Only the Alarm Name and ARN are returned by this * operation when you use this parameter. To get complete information about these * alarms, perform another DescribeAlarms operation and specify the * parent alarm names in the AlarmNames parameter.

*/ inline DescribeAlarmsRequest& WithParentsOfAlarmName(const char* value) { SetParentsOfAlarmName(value); return *this;} /** *

Specify this parameter to receive information only about alarms that are * currently in the state that you specify.

*/ inline const StateValue& GetStateValue() const{ return m_stateValue; } /** *

Specify this parameter to receive information only about alarms that are * currently in the state that you specify.

*/ inline bool StateValueHasBeenSet() const { return m_stateValueHasBeenSet; } /** *

Specify this parameter to receive information only about alarms that are * currently in the state that you specify.

*/ inline void SetStateValue(const StateValue& value) { m_stateValueHasBeenSet = true; m_stateValue = value; } /** *

Specify this parameter to receive information only about alarms that are * currently in the state that you specify.

*/ inline void SetStateValue(StateValue&& value) { m_stateValueHasBeenSet = true; m_stateValue = std::move(value); } /** *

Specify this parameter to receive information only about alarms that are * currently in the state that you specify.

*/ inline DescribeAlarmsRequest& WithStateValue(const StateValue& value) { SetStateValue(value); return *this;} /** *

Specify this parameter to receive information only about alarms that are * currently in the state that you specify.

*/ inline DescribeAlarmsRequest& WithStateValue(StateValue&& value) { SetStateValue(std::move(value)); return *this;} /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline const Aws::String& GetActionPrefix() const{ return m_actionPrefix; } /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline bool ActionPrefixHasBeenSet() const { return m_actionPrefixHasBeenSet; } /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline void SetActionPrefix(const Aws::String& value) { m_actionPrefixHasBeenSet = true; m_actionPrefix = value; } /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline void SetActionPrefix(Aws::String&& value) { m_actionPrefixHasBeenSet = true; m_actionPrefix = std::move(value); } /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline void SetActionPrefix(const char* value) { m_actionPrefixHasBeenSet = true; m_actionPrefix.assign(value); } /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline DescribeAlarmsRequest& WithActionPrefix(const Aws::String& value) { SetActionPrefix(value); return *this;} /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline DescribeAlarmsRequest& WithActionPrefix(Aws::String&& value) { SetActionPrefix(std::move(value)); return *this;} /** *

Use this parameter to filter the results of the operation to only those * alarms that use a certain alarm action. For example, you could specify the ARN * of an SNS topic to find all alarms that send notifications to that topic.

*/ inline DescribeAlarmsRequest& WithActionPrefix(const char* value) { SetActionPrefix(value); return *this;} /** *

The maximum number of alarm descriptions to retrieve.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of alarm descriptions to retrieve.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of alarm descriptions to retrieve.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of alarm descriptions to retrieve.

*/ inline DescribeAlarmsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

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

The token returned by a previous call to indicate that there is more data * available.

*/ inline DescribeAlarmsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_alarmNames; bool m_alarmNamesHasBeenSet = false; Aws::String m_alarmNamePrefix; bool m_alarmNamePrefixHasBeenSet = false; Aws::Vector m_alarmTypes; bool m_alarmTypesHasBeenSet = false; Aws::String m_childrenOfAlarmName; bool m_childrenOfAlarmNameHasBeenSet = false; Aws::String m_parentsOfAlarmName; bool m_parentsOfAlarmNameHasBeenSet = false; StateValue m_stateValue; bool m_stateValueHasBeenSet = false; Aws::String m_actionPrefix; bool m_actionPrefixHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace CloudWatch } // namespace Aws