/** * 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 ResilienceHub { namespace Model { /** */ class DescribeResiliencyPolicyRequest : public ResilienceHubRequest { public: AWS_RESILIENCEHUB_API DescribeResiliencyPolicyRequest(); // 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 "DescribeResiliencyPolicy"; } AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline const Aws::String& GetPolicyArn() const{ return m_policyArn; } /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetPolicyArn(const Aws::String& value) { m_policyArnHasBeenSet = true; m_policyArn = value; } /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetPolicyArn(Aws::String&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetPolicyArn(const char* value) { m_policyArnHasBeenSet = true; m_policyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DescribeResiliencyPolicyRequest& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DescribeResiliencyPolicyRequest& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the resiliency policy. The format for this * ARN is: * arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DescribeResiliencyPolicyRequest& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;} private: Aws::String m_policyArn; bool m_policyArnHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws