/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Inspector { namespace Model { /** *

This data type is used in the Finding data type.

See * Also:

AWS * API Reference

*/ class InspectorServiceAttributes { public: AWS_INSPECTOR_API InspectorServiceAttributes(); AWS_INSPECTOR_API InspectorServiceAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_INSPECTOR_API InspectorServiceAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The schema version of this data type.

*/ inline int GetSchemaVersion() const{ return m_schemaVersion; } /** *

The schema version of this data type.

*/ inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } /** *

The schema version of this data type.

*/ inline void SetSchemaVersion(int value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } /** *

The schema version of this data type.

*/ inline InspectorServiceAttributes& WithSchemaVersion(int value) { SetSchemaVersion(value); return *this;} /** *

The ARN of the assessment run during which the finding is generated.

*/ inline const Aws::String& GetAssessmentRunArn() const{ return m_assessmentRunArn; } /** *

The ARN of the assessment run during which the finding is generated.

*/ inline bool AssessmentRunArnHasBeenSet() const { return m_assessmentRunArnHasBeenSet; } /** *

The ARN of the assessment run during which the finding is generated.

*/ inline void SetAssessmentRunArn(const Aws::String& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = value; } /** *

The ARN of the assessment run during which the finding is generated.

*/ inline void SetAssessmentRunArn(Aws::String&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::move(value); } /** *

The ARN of the assessment run during which the finding is generated.

*/ inline void SetAssessmentRunArn(const char* value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn.assign(value); } /** *

The ARN of the assessment run during which the finding is generated.

*/ inline InspectorServiceAttributes& WithAssessmentRunArn(const Aws::String& value) { SetAssessmentRunArn(value); return *this;} /** *

The ARN of the assessment run during which the finding is generated.

*/ inline InspectorServiceAttributes& WithAssessmentRunArn(Aws::String&& value) { SetAssessmentRunArn(std::move(value)); return *this;} /** *

The ARN of the assessment run during which the finding is generated.

*/ inline InspectorServiceAttributes& WithAssessmentRunArn(const char* value) { SetAssessmentRunArn(value); return *this;} /** *

The ARN of the rules package that is used to generate the finding.

*/ inline const Aws::String& GetRulesPackageArn() const{ return m_rulesPackageArn; } /** *

The ARN of the rules package that is used to generate the finding.

*/ inline bool RulesPackageArnHasBeenSet() const { return m_rulesPackageArnHasBeenSet; } /** *

The ARN of the rules package that is used to generate the finding.

*/ inline void SetRulesPackageArn(const Aws::String& value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn = value; } /** *

The ARN of the rules package that is used to generate the finding.

*/ inline void SetRulesPackageArn(Aws::String&& value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn = std::move(value); } /** *

The ARN of the rules package that is used to generate the finding.

*/ inline void SetRulesPackageArn(const char* value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn.assign(value); } /** *

The ARN of the rules package that is used to generate the finding.

*/ inline InspectorServiceAttributes& WithRulesPackageArn(const Aws::String& value) { SetRulesPackageArn(value); return *this;} /** *

The ARN of the rules package that is used to generate the finding.

*/ inline InspectorServiceAttributes& WithRulesPackageArn(Aws::String&& value) { SetRulesPackageArn(std::move(value)); return *this;} /** *

The ARN of the rules package that is used to generate the finding.

*/ inline InspectorServiceAttributes& WithRulesPackageArn(const char* value) { SetRulesPackageArn(value); return *this;} private: int m_schemaVersion; bool m_schemaVersionHasBeenSet = false; Aws::String m_assessmentRunArn; bool m_assessmentRunArnHasBeenSet = false; Aws::String m_rulesPackageArn; bool m_rulesPackageArnHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws