/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Readiness rule information, including the resource type, rule ID, and rule
* description.See Also:
AWS
* API Reference
The resource type that the readiness rule applies to.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The resource type that the readiness rule applies to.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type that the readiness rule applies to.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type that the readiness rule applies to.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type that the readiness rule applies to.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The resource type that the readiness rule applies to.
*/ inline ListRulesOutput& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The resource type that the readiness rule applies to.
*/ inline ListRulesOutput& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The resource type that the readiness rule applies to.
*/ inline ListRulesOutput& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *The description of a readiness rule.
*/ inline const Aws::String& GetRuleDescription() const{ return m_ruleDescription; } /** *The description of a readiness rule.
*/ inline bool RuleDescriptionHasBeenSet() const { return m_ruleDescriptionHasBeenSet; } /** *The description of a readiness rule.
*/ inline void SetRuleDescription(const Aws::String& value) { m_ruleDescriptionHasBeenSet = true; m_ruleDescription = value; } /** *The description of a readiness rule.
*/ inline void SetRuleDescription(Aws::String&& value) { m_ruleDescriptionHasBeenSet = true; m_ruleDescription = std::move(value); } /** *The description of a readiness rule.
*/ inline void SetRuleDescription(const char* value) { m_ruleDescriptionHasBeenSet = true; m_ruleDescription.assign(value); } /** *The description of a readiness rule.
*/ inline ListRulesOutput& WithRuleDescription(const Aws::String& value) { SetRuleDescription(value); return *this;} /** *The description of a readiness rule.
*/ inline ListRulesOutput& WithRuleDescription(Aws::String&& value) { SetRuleDescription(std::move(value)); return *this;} /** *The description of a readiness rule.
*/ inline ListRulesOutput& WithRuleDescription(const char* value) { SetRuleDescription(value); return *this;} /** *The ID for the readiness rule.
*/ inline const Aws::String& GetRuleId() const{ return m_ruleId; } /** *The ID for the readiness rule.
*/ inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; } /** *The ID for the readiness rule.
*/ inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; } /** *The ID for the readiness rule.
*/ inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); } /** *The ID for the readiness rule.
*/ inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); } /** *The ID for the readiness rule.
*/ inline ListRulesOutput& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;} /** *The ID for the readiness rule.
*/ inline ListRulesOutput& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;} /** *The ID for the readiness rule.
*/ inline ListRulesOutput& WithRuleId(const char* value) { SetRuleId(value); return *this;} private: Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_ruleDescription; bool m_ruleDescriptionHasBeenSet = false; Aws::String m_ruleId; bool m_ruleIdHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws