/** * 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 Route53RecoveryControlConfig { namespace Model { /** */ class DescribeSafetyRuleRequest : public Route53RecoveryControlConfigRequest { public: AWS_ROUTE53RECOVERYCONTROLCONFIG_API DescribeSafetyRuleRequest(); // 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 "DescribeSafetyRule"; } AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override; /** *

The ARN of the safety rule.

*/ inline const Aws::String& GetSafetyRuleArn() const{ return m_safetyRuleArn; } /** *

The ARN of the safety rule.

*/ inline bool SafetyRuleArnHasBeenSet() const { return m_safetyRuleArnHasBeenSet; } /** *

The ARN of the safety rule.

*/ inline void SetSafetyRuleArn(const Aws::String& value) { m_safetyRuleArnHasBeenSet = true; m_safetyRuleArn = value; } /** *

The ARN of the safety rule.

*/ inline void SetSafetyRuleArn(Aws::String&& value) { m_safetyRuleArnHasBeenSet = true; m_safetyRuleArn = std::move(value); } /** *

The ARN of the safety rule.

*/ inline void SetSafetyRuleArn(const char* value) { m_safetyRuleArnHasBeenSet = true; m_safetyRuleArn.assign(value); } /** *

The ARN of the safety rule.

*/ inline DescribeSafetyRuleRequest& WithSafetyRuleArn(const Aws::String& value) { SetSafetyRuleArn(value); return *this;} /** *

The ARN of the safety rule.

*/ inline DescribeSafetyRuleRequest& WithSafetyRuleArn(Aws::String&& value) { SetSafetyRuleArn(std::move(value)); return *this;} /** *

The ARN of the safety rule.

*/ inline DescribeSafetyRuleRequest& WithSafetyRuleArn(const char* value) { SetSafetyRuleArn(value); return *this;} private: Aws::String m_safetyRuleArn; bool m_safetyRuleArnHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws