AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
BatchDisassociateFindingIssueRequest.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
12#include <utility>
13
14namespace Aws {
15namespace SecurityAgent {
16namespace Model {
17
25 public:
26 AWS_SECURITYAGENT_API BatchDisassociateFindingIssueRequest() = default;
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 "BatchDisassociateFindingIssue"; }
33
34 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
41 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
42 template <typename AgentSpaceIdT = Aws::String>
43 void SetAgentSpaceId(AgentSpaceIdT&& value) {
44 m_agentSpaceIdHasBeenSet = true;
45 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
46 }
47 template <typename AgentSpaceIdT = Aws::String>
49 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetPentestJobId() const { return m_pentestJobId; }
60 inline bool PentestJobIdHasBeenSet() const { return m_pentestJobIdHasBeenSet; }
61 template <typename PentestJobIdT = Aws::String>
62 void SetPentestJobId(PentestJobIdT&& value) {
63 m_pentestJobIdHasBeenSet = true;
64 m_pentestJobId = std::forward<PentestJobIdT>(value);
65 }
66 template <typename PentestJobIdT = Aws::String>
68 SetPentestJobId(std::forward<PentestJobIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetCodeReviewJobId() const { return m_codeReviewJobId; }
79 inline bool CodeReviewJobIdHasBeenSet() const { return m_codeReviewJobIdHasBeenSet; }
80 template <typename CodeReviewJobIdT = Aws::String>
81 void SetCodeReviewJobId(CodeReviewJobIdT&& value) {
82 m_codeReviewJobIdHasBeenSet = true;
83 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
84 }
85 template <typename CodeReviewJobIdT = Aws::String>
87 SetCodeReviewJobId(std::forward<CodeReviewJobIdT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::Vector<Aws::String>& GetFindingIds() const { return m_findingIds; }
98 inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
99 template <typename FindingIdsT = Aws::Vector<Aws::String>>
100 void SetFindingIds(FindingIdsT&& value) {
101 m_findingIdsHasBeenSet = true;
102 m_findingIds = std::forward<FindingIdsT>(value);
103 }
104 template <typename FindingIdsT = Aws::Vector<Aws::String>>
106 SetFindingIds(std::forward<FindingIdsT>(value));
107 return *this;
108 }
109 template <typename FindingIdsT = Aws::String>
111 m_findingIdsHasBeenSet = true;
112 m_findingIds.emplace_back(std::forward<FindingIdsT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_agentSpaceId;
118
119 Aws::String m_pentestJobId;
120
121 Aws::String m_codeReviewJobId;
122
123 Aws::Vector<Aws::String> m_findingIds;
124 bool m_agentSpaceIdHasBeenSet = false;
125 bool m_pentestJobIdHasBeenSet = false;
126 bool m_codeReviewJobIdHasBeenSet = false;
127 bool m_findingIdsHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace SecurityAgent
132} // namespace Aws
BatchDisassociateFindingIssueRequest & AddFindingIds(FindingIdsT &&value)
BatchDisassociateFindingIssueRequest & WithFindingIds(FindingIdsT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
BatchDisassociateFindingIssueRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
BatchDisassociateFindingIssueRequest & WithPentestJobId(PentestJobIdT &&value)
BatchDisassociateFindingIssueRequest & WithCodeReviewJobId(CodeReviewJobIdT &&value)
AWS_SECURITYAGENT_API BatchDisassociateFindingIssueRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector