150 lines
5.6 KiB
C++
150 lines
5.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/securityhub/SecurityHub_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SecurityHub
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Identifies a finding to update using
|
|
* <code>BatchUpdateFindings</code>.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFindingIdentifier">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SECURITYHUB_API AwsSecurityFindingIdentifier
|
|
{
|
|
public:
|
|
AwsSecurityFindingIdentifier();
|
|
AwsSecurityFindingIdentifier(Aws::Utils::Json::JsonView jsonValue);
|
|
AwsSecurityFindingIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline const Aws::String& GetId() const{ return m_id; }
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline AwsSecurityFindingIdentifier& WithId(const Aws::String& value) { SetId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline AwsSecurityFindingIdentifier& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
*/
|
|
inline AwsSecurityFindingIdentifier& WithId(const char* value) { SetId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline const Aws::String& GetProductArn() const{ return m_productArn; }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline AwsSecurityFindingIdentifier& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline AwsSecurityFindingIdentifier& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline AwsSecurityFindingIdentifier& WithProductArn(const char* value) { SetProductArn(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_id;
|
|
bool m_idHasBeenSet;
|
|
|
|
Aws::String m_productArn;
|
|
bool m_productArnHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SecurityHub
|
|
} // namespace Aws
|