AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateFindingsRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHubRequest.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsSecurityFindingFilters.h>
10#include <aws/securityhub/model/NoteUpdate.h>
11#include <aws/securityhub/model/RecordState.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SecurityHub {
17namespace Model {
18
22 public:
23 AWS_SECURITYHUB_API UpdateFindingsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateFindings"; }
30
31 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
32
34
38 inline const AwsSecurityFindingFilters& GetFilters() const { return m_filters; }
39 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
40 template <typename FiltersT = AwsSecurityFindingFilters>
41 void SetFilters(FiltersT&& value) {
42 m_filtersHasBeenSet = true;
43 m_filters = std::forward<FiltersT>(value);
44 }
45 template <typename FiltersT = AwsSecurityFindingFilters>
47 SetFilters(std::forward<FiltersT>(value));
48 return *this;
49 }
51
53
56 inline const NoteUpdate& GetNote() const { return m_note; }
57 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
58 template <typename NoteT = NoteUpdate>
59 void SetNote(NoteT&& value) {
60 m_noteHasBeenSet = true;
61 m_note = std::forward<NoteT>(value);
62 }
63 template <typename NoteT = NoteUpdate>
65 SetNote(std::forward<NoteT>(value));
66 return *this;
67 }
69
71
74 inline RecordState GetRecordState() const { return m_recordState; }
75 inline bool RecordStateHasBeenSet() const { return m_recordStateHasBeenSet; }
76 inline void SetRecordState(RecordState value) {
77 m_recordStateHasBeenSet = true;
78 m_recordState = value;
79 }
81 SetRecordState(value);
82 return *this;
83 }
85 private:
87
88 NoteUpdate m_note;
89
90 RecordState m_recordState{RecordState::NOT_SET};
91 bool m_filtersHasBeenSet = false;
92 bool m_noteHasBeenSet = false;
93 bool m_recordStateHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SecurityHub
98} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateFindingsRequest & WithNote(NoteT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateFindingsRequest & WithFilters(FiltersT &&value)
UpdateFindingsRequest & WithRecordState(RecordState value)
const AwsSecurityFindingFilters & GetFilters() const
AWS_SECURITYHUB_API UpdateFindingsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String