/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies which finding to get the finding history for.See
* Also:
AWS
* API Reference
The identifier of the finding that was specified by the finding provider.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the finding that was specified by the finding provider.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the finding that was specified by the finding provider.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the finding that was specified by the finding provider.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the finding that was specified by the finding provider.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the finding that was specified by the finding provider.
*/ inline AwsSecurityFindingIdentifier& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the finding that was specified by the finding provider.
*/ inline AwsSecurityFindingIdentifier& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the finding that was specified by the finding provider.
*/ inline AwsSecurityFindingIdentifier& WithId(const char* value) { SetId(value); return *this;} /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline const Aws::String& GetProductArn() const{ return m_productArn; } /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; } /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; } /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); } /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); } /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline AwsSecurityFindingIdentifier& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;} /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline AwsSecurityFindingIdentifier& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;} /** *The ARN generated by Security Hub that uniquely identifies a product that * generates findings. This can be the ARN for a third-party product that is * integrated with Security Hub, or the ARN for a custom integration.
*/ inline AwsSecurityFindingIdentifier& WithProductArn(const char* value) { SetProductArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_productArn; bool m_productArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws