AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchUpdateFindingsV2ProcessedFinding.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/OcsfFindingIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API BatchUpdateFindingsV2ProcessedFinding() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const OcsfFindingIdentifier& GetFindingIdentifier() const { return m_findingIdentifier; }
46 inline bool FindingIdentifierHasBeenSet() const { return m_findingIdentifierHasBeenSet; }
47 template<typename FindingIdentifierT = OcsfFindingIdentifier>
48 void SetFindingIdentifier(FindingIdentifierT&& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = std::forward<FindingIdentifierT>(value); }
49 template<typename FindingIdentifierT = OcsfFindingIdentifier>
50 BatchUpdateFindingsV2ProcessedFinding& WithFindingIdentifier(FindingIdentifierT&& value) { SetFindingIdentifier(std::forward<FindingIdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetMetadataUid() const { return m_metadataUid; }
58 inline bool MetadataUidHasBeenSet() const { return m_metadataUidHasBeenSet; }
59 template<typename MetadataUidT = Aws::String>
60 void SetMetadataUid(MetadataUidT&& value) { m_metadataUidHasBeenSet = true; m_metadataUid = std::forward<MetadataUidT>(value); }
61 template<typename MetadataUidT = Aws::String>
62 BatchUpdateFindingsV2ProcessedFinding& WithMetadataUid(MetadataUidT&& value) { SetMetadataUid(std::forward<MetadataUidT>(value)); return *this;}
64 private:
65
66 OcsfFindingIdentifier m_findingIdentifier;
67 bool m_findingIdentifierHasBeenSet = false;
68
69 Aws::String m_metadataUid;
70 bool m_metadataUidHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SecurityHub
75} // namespace Aws
AWS_SECURITYHUB_API BatchUpdateFindingsV2ProcessedFinding(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
BatchUpdateFindingsV2ProcessedFinding & WithFindingIdentifier(FindingIdentifierT &&value)
BatchUpdateFindingsV2ProcessedFinding & WithMetadataUid(MetadataUidT &&value)
AWS_SECURITYHUB_API BatchUpdateFindingsV2ProcessedFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue