/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains the configuration settings for real-time
* alerts.See Also:
AWS
* API Reference
Turns off real-time alerts.
*/ inline bool GetDisabled() const{ return m_disabled; } /** *Turns off real-time alerts.
*/ inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; } /** *Turns off real-time alerts.
*/ inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; } /** *Turns off real-time alerts.
*/ inline RealTimeAlertConfiguration& WithDisabled(bool value) { SetDisabled(value); return *this;} /** *The rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline const Aws::VectorThe rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *The rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline void SetRules(const Aws::VectorThe rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline void SetRules(Aws::VectorThe rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline RealTimeAlertConfiguration& WithRules(const Aws::VectorThe rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline RealTimeAlertConfiguration& WithRules(Aws::VectorThe rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline RealTimeAlertConfiguration& AddRules(const RealTimeAlertRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *The rules in the alert. Rules specify the words or phrases that you want to * be notified about.
*/ inline RealTimeAlertConfiguration& AddRules(RealTimeAlertRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: bool m_disabled; bool m_disabledHasBeenSet = false; Aws::Vector