/** * 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 { /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. The security control ID or ARN is the same * across standards.

See Also:

AWS * API Reference

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

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; } /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; } /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; } /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); } /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); } /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline StandardsControlAssociationId& WithSecurityControlId(const Aws::String& value) { SetSecurityControlId(value); return *this;} /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline StandardsControlAssociationId& WithSecurityControlId(Aws::String&& value) { SetSecurityControlId(std::move(value)); return *this;} /** *

The unique identifier (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) of a security * control across standards.

*/ inline StandardsControlAssociationId& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;} /** *

The ARN of a standard.

*/ inline const Aws::String& GetStandardsArn() const{ return m_standardsArn; } /** *

The ARN of a standard.

*/ inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; } /** *

The ARN of a standard.

*/ inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; } /** *

The ARN of a standard.

*/ inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); } /** *

The ARN of a standard.

*/ inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); } /** *

The ARN of a standard.

*/ inline StandardsControlAssociationId& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;} /** *

The ARN of a standard.

*/ inline StandardsControlAssociationId& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;} /** *

The ARN of a standard.

*/ inline StandardsControlAssociationId& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;} private: Aws::String m_securityControlId; bool m_securityControlIdHasBeenSet = false; Aws::String m_standardsArn; bool m_standardsArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws