/** * 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 DescribeAppAssessmentRequest : public ResilienceHubRequest { public: AWS_RESILIENCEHUB_API DescribeAppAssessmentRequest(); // 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 "DescribeAppAssessment"; } AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override; /** *

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

*/ inline const Aws::String& GetAssessmentArn() const{ return m_assessmentArn; } /** *

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

*/ inline bool AssessmentArnHasBeenSet() const { return m_assessmentArnHasBeenSet; } /** *

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

*/ inline void SetAssessmentArn(const Aws::String& value) { m_assessmentArnHasBeenSet = true; m_assessmentArn = value; } /** *

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

*/ inline void SetAssessmentArn(Aws::String&& value) { m_assessmentArnHasBeenSet = true; m_assessmentArn = std::move(value); } /** *

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

*/ inline void SetAssessmentArn(const char* value) { m_assessmentArnHasBeenSet = true; m_assessmentArn.assign(value); } /** *

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

*/ inline DescribeAppAssessmentRequest& WithAssessmentArn(const Aws::String& value) { SetAssessmentArn(value); return *this;} /** *

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

*/ inline DescribeAppAssessmentRequest& WithAssessmentArn(Aws::String&& value) { SetAssessmentArn(std::move(value)); return *this;} /** *

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

*/ inline DescribeAppAssessmentRequest& WithAssessmentArn(const char* value) { SetAssessmentArn(value); return *this;} private: Aws::String m_assessmentArn; bool m_assessmentArnHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws