This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/RelatedFinding.h

133 lines
3.9 KiB
C
Raw Normal View History

/**
* 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>Details about a related finding.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/RelatedFinding">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API RelatedFinding
{
public:
RelatedFinding();
RelatedFinding(Aws::Utils::Json::JsonView jsonValue);
RelatedFinding& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline const Aws::String& GetProductArn() const{ return m_productArn; }
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline RelatedFinding& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline RelatedFinding& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
/**
* <p>The ARN of the product that generated a related finding.</p>
*/
inline RelatedFinding& WithProductArn(const char* value) { SetProductArn(value); return *this;}
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline RelatedFinding& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline RelatedFinding& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The product-generated identifier for a related finding.</p>
*/
inline RelatedFinding& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_productArn;
bool m_productArnHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws