/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ResilienceHub { namespace Model { class DeleteResiliencyPolicyResult { public: AWS_RESILIENCEHUB_API DeleteResiliencyPolicyResult(); AWS_RESILIENCEHUB_API DeleteResiliencyPolicyResult(const Aws::AmazonWebServiceResult& result); AWS_RESILIENCEHUB_API DeleteResiliencyPolicyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetPolicyArn(const Aws::String& value) { 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_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_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 DeleteResiliencyPolicyResult& 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 DeleteResiliencyPolicyResult& 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 DeleteResiliencyPolicyResult& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteResiliencyPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteResiliencyPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteResiliencyPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_policyArn; Aws::String m_requestId; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws