/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Inspector { namespace Model { /** */ class DescribeAssessmentRunsRequest : public InspectorRequest { public: AWS_INSPECTOR_API DescribeAssessmentRunsRequest(); // 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 "DescribeAssessmentRuns"; } AWS_INSPECTOR_API Aws::String SerializePayload() const override; AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline const Aws::Vector& GetAssessmentRunArns() const{ return m_assessmentRunArns; } /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline bool AssessmentRunArnsHasBeenSet() const { return m_assessmentRunArnsHasBeenSet; } /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline void SetAssessmentRunArns(const Aws::Vector& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns = value; } /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline void SetAssessmentRunArns(Aws::Vector&& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns = std::move(value); } /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline DescribeAssessmentRunsRequest& WithAssessmentRunArns(const Aws::Vector& value) { SetAssessmentRunArns(value); return *this;} /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline DescribeAssessmentRunsRequest& WithAssessmentRunArns(Aws::Vector&& value) { SetAssessmentRunArns(std::move(value)); return *this;} /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline DescribeAssessmentRunsRequest& AddAssessmentRunArns(const Aws::String& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(value); return *this; } /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline DescribeAssessmentRunsRequest& AddAssessmentRunArns(Aws::String&& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(std::move(value)); return *this; } /** *

The ARN that specifies the assessment run that you want to describe.

*/ inline DescribeAssessmentRunsRequest& AddAssessmentRunArns(const char* value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(value); return *this; } private: Aws::Vector m_assessmentRunArns; bool m_assessmentRunArnsHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws