AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFindingsRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/model/AwsSecurityFindingFilters.h>
10#include <aws/securityhub/model/NoteUpdate.h>
11#include <aws/securityhub/model/RecordState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SecurityHub
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SECURITYHUB_API UpdateFindingsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFindings"; }
33
34 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
35
36
38
42 inline const AwsSecurityFindingFilters& GetFilters() const{ return m_filters; }
43 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
44 inline void SetFilters(const AwsSecurityFindingFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
45 inline void SetFilters(AwsSecurityFindingFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
46 inline UpdateFindingsRequest& WithFilters(const AwsSecurityFindingFilters& value) { SetFilters(value); return *this;}
47 inline UpdateFindingsRequest& WithFilters(AwsSecurityFindingFilters&& value) { SetFilters(std::move(value)); return *this;}
49
51
54 inline const NoteUpdate& GetNote() const{ return m_note; }
55 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
56 inline void SetNote(const NoteUpdate& value) { m_noteHasBeenSet = true; m_note = value; }
57 inline void SetNote(NoteUpdate&& value) { m_noteHasBeenSet = true; m_note = std::move(value); }
58 inline UpdateFindingsRequest& WithNote(const NoteUpdate& value) { SetNote(value); return *this;}
59 inline UpdateFindingsRequest& WithNote(NoteUpdate&& value) { SetNote(std::move(value)); return *this;}
61
63
66 inline const RecordState& GetRecordState() const{ return m_recordState; }
67 inline bool RecordStateHasBeenSet() const { return m_recordStateHasBeenSet; }
68 inline void SetRecordState(const RecordState& value) { m_recordStateHasBeenSet = true; m_recordState = value; }
69 inline void SetRecordState(RecordState&& value) { m_recordStateHasBeenSet = true; m_recordState = std::move(value); }
70 inline UpdateFindingsRequest& WithRecordState(const RecordState& value) { SetRecordState(value); return *this;}
71 inline UpdateFindingsRequest& WithRecordState(RecordState&& value) { SetRecordState(std::move(value)); return *this;}
73 private:
74
76 bool m_filtersHasBeenSet = false;
77
78 NoteUpdate m_note;
79 bool m_noteHasBeenSet = false;
80
81 RecordState m_recordState;
82 bool m_recordStateHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SecurityHub
87} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
void SetFilters(const AwsSecurityFindingFilters &value)
UpdateFindingsRequest & WithNote(const NoteUpdate &value)
UpdateFindingsRequest & WithFilters(AwsSecurityFindingFilters &&value)
UpdateFindingsRequest & WithNote(NoteUpdate &&value)
UpdateFindingsRequest & WithRecordState(RecordState &&value)
UpdateFindingsRequest & WithRecordState(const RecordState &value)
const AwsSecurityFindingFilters & GetFilters() const
UpdateFindingsRequest & WithFilters(const AwsSecurityFindingFilters &value)
void SetFilters(AwsSecurityFindingFilters &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String