/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains the name and configuration information of a late
* data rule.See Also:
AWS
* API Reference
The name of the late data rule.
*/ inline const Aws::String& GetRuleName() const{ return m_ruleName; } /** *The name of the late data rule.
*/ inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } /** *The name of the late data rule.
*/ inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } /** *The name of the late data rule.
*/ inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } /** *The name of the late data rule.
*/ inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } /** *The name of the late data rule.
*/ inline LateDataRule& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} /** *The name of the late data rule.
*/ inline LateDataRule& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} /** *The name of the late data rule.
*/ inline LateDataRule& WithRuleName(const char* value) { SetRuleName(value); return *this;} /** *The information needed to configure the late data rule.
*/ inline const LateDataRuleConfiguration& GetRuleConfiguration() const{ return m_ruleConfiguration; } /** *The information needed to configure the late data rule.
*/ inline bool RuleConfigurationHasBeenSet() const { return m_ruleConfigurationHasBeenSet; } /** *The information needed to configure the late data rule.
*/ inline void SetRuleConfiguration(const LateDataRuleConfiguration& value) { m_ruleConfigurationHasBeenSet = true; m_ruleConfiguration = value; } /** *The information needed to configure the late data rule.
*/ inline void SetRuleConfiguration(LateDataRuleConfiguration&& value) { m_ruleConfigurationHasBeenSet = true; m_ruleConfiguration = std::move(value); } /** *The information needed to configure the late data rule.
*/ inline LateDataRule& WithRuleConfiguration(const LateDataRuleConfiguration& value) { SetRuleConfiguration(value); return *this;} /** *The information needed to configure the late data rule.
*/ inline LateDataRule& WithRuleConfiguration(LateDataRuleConfiguration&& value) { SetRuleConfiguration(std::move(value)); return *this;} private: Aws::String m_ruleName; bool m_ruleNameHasBeenSet = false; LateDataRuleConfiguration m_ruleConfiguration; bool m_ruleConfigurationHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws