AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
BatchExportFindingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityagent/SecurityAgentRequest.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/IssueDestination.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SecurityAgent {
17namespace Model {
18
26 public:
27 AWS_SECURITYAGENT_API BatchExportFindingsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "BatchExportFindings"; }
34
35 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
42 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
43 template <typename AgentSpaceIdT = Aws::String>
44 void SetAgentSpaceId(AgentSpaceIdT&& value) {
45 m_agentSpaceIdHasBeenSet = true;
46 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
47 }
48 template <typename AgentSpaceIdT = Aws::String>
50 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetPentestJobId() const { return m_pentestJobId; }
61 inline bool PentestJobIdHasBeenSet() const { return m_pentestJobIdHasBeenSet; }
62 template <typename PentestJobIdT = Aws::String>
63 void SetPentestJobId(PentestJobIdT&& value) {
64 m_pentestJobIdHasBeenSet = true;
65 m_pentestJobId = std::forward<PentestJobIdT>(value);
66 }
67 template <typename PentestJobIdT = Aws::String>
69 SetPentestJobId(std::forward<PentestJobIdT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetCodeReviewJobId() const { return m_codeReviewJobId; }
80 inline bool CodeReviewJobIdHasBeenSet() const { return m_codeReviewJobIdHasBeenSet; }
81 template <typename CodeReviewJobIdT = Aws::String>
82 void SetCodeReviewJobId(CodeReviewJobIdT&& value) {
83 m_codeReviewJobIdHasBeenSet = true;
84 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
85 }
86 template <typename CodeReviewJobIdT = Aws::String>
88 SetCodeReviewJobId(std::forward<CodeReviewJobIdT>(value));
89 return *this;
90 }
92
94
98 inline const IssueDestination& GetIssueDestination() const { return m_issueDestination; }
99 inline bool IssueDestinationHasBeenSet() const { return m_issueDestinationHasBeenSet; }
100 template <typename IssueDestinationT = IssueDestination>
101 void SetIssueDestination(IssueDestinationT&& value) {
102 m_issueDestinationHasBeenSet = true;
103 m_issueDestination = std::forward<IssueDestinationT>(value);
104 }
105 template <typename IssueDestinationT = IssueDestination>
107 SetIssueDestination(std::forward<IssueDestinationT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::Vector<Aws::String>& GetFindingIds() const { return m_findingIds; }
118 inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
119 template <typename FindingIdsT = Aws::Vector<Aws::String>>
120 void SetFindingIds(FindingIdsT&& value) {
121 m_findingIdsHasBeenSet = true;
122 m_findingIds = std::forward<FindingIdsT>(value);
123 }
124 template <typename FindingIdsT = Aws::Vector<Aws::String>>
126 SetFindingIds(std::forward<FindingIdsT>(value));
127 return *this;
128 }
129 template <typename FindingIdsT = Aws::String>
131 m_findingIdsHasBeenSet = true;
132 m_findingIds.emplace_back(std::forward<FindingIdsT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_agentSpaceId;
138
139 Aws::String m_pentestJobId;
140
141 Aws::String m_codeReviewJobId;
142
143 IssueDestination m_issueDestination;
144
145 Aws::Vector<Aws::String> m_findingIds;
146 bool m_agentSpaceIdHasBeenSet = false;
147 bool m_pentestJobIdHasBeenSet = false;
148 bool m_codeReviewJobIdHasBeenSet = false;
149 bool m_issueDestinationHasBeenSet = false;
150 bool m_findingIdsHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace SecurityAgent
155} // namespace Aws
BatchExportFindingsRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
BatchExportFindingsRequest & AddFindingIds(FindingIdsT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
BatchExportFindingsRequest & WithCodeReviewJobId(CodeReviewJobIdT &&value)
BatchExportFindingsRequest & WithIssueDestination(IssueDestinationT &&value)
AWS_SECURITYAGENT_API BatchExportFindingsRequest()=default
BatchExportFindingsRequest & WithPentestJobId(PentestJobIdT &&value)
BatchExportFindingsRequest & WithFindingIds(FindingIdsT &&value)
const Aws::Vector< Aws::String > & GetFindingIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector