/** * 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 AuditManager { namespace Model { /** */ class GetAssessmentRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API GetAssessmentRequest(); // 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 "GetAssessment"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The unique identifier for the assessment.

*/ inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; } /** *

The unique identifier for the assessment.

*/ inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; } /** *

The unique identifier for the assessment.

*/ inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; } /** *

The unique identifier for the assessment.

*/ inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); } /** *

The unique identifier for the assessment.

*/ inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); } /** *

The unique identifier for the assessment.

*/ inline GetAssessmentRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;} /** *

The unique identifier for the assessment.

*/ inline GetAssessmentRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;} /** *

The unique identifier for the assessment.

*/ inline GetAssessmentRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;} private: Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws