/** * 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 SecurityHub { namespace Model { /** *

Information about an enabled security standard in which a security control * is enabled.

See Also:

AWS * API Reference

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

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline const Aws::String& GetStandardsId() const{ return m_standardsId; } /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline bool StandardsIdHasBeenSet() const { return m_standardsIdHasBeenSet; } /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline void SetStandardsId(const Aws::String& value) { m_standardsIdHasBeenSet = true; m_standardsId = value; } /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline void SetStandardsId(Aws::String&& value) { m_standardsIdHasBeenSet = true; m_standardsId = std::move(value); } /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline void SetStandardsId(const char* value) { m_standardsIdHasBeenSet = true; m_standardsId.assign(value); } /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline AssociatedStandard& WithStandardsId(const Aws::String& value) { SetStandardsId(value); return *this;} /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline AssociatedStandard& WithStandardsId(Aws::String&& value) { SetStandardsId(std::move(value)); return *this;} /** *

The unique identifier of a standard in which a control is enabled. This field * consists of the resource portion of the Amazon Resource Name (ARN) returned for * a standard in the DescribeStandards * API response.

*/ inline AssociatedStandard& WithStandardsId(const char* value) { SetStandardsId(value); return *this;} private: Aws::String m_standardsId; bool m_standardsIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws