AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
StartCodeRemediationRequest.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
24 public:
25 AWS_SECURITYAGENT_API StartCodeRemediationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartCodeRemediation"; }
32
33 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
40 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
41 template <typename AgentSpaceIdT = Aws::String>
42 void SetAgentSpaceId(AgentSpaceIdT&& value) {
43 m_agentSpaceIdHasBeenSet = true;
44 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
45 }
46 template <typename AgentSpaceIdT = Aws::String>
48 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPentestJobId() const { return m_pentestJobId; }
58 inline bool PentestJobIdHasBeenSet() const { return m_pentestJobIdHasBeenSet; }
59 template <typename PentestJobIdT = Aws::String>
60 void SetPentestJobId(PentestJobIdT&& value) {
61 m_pentestJobIdHasBeenSet = true;
62 m_pentestJobId = std::forward<PentestJobIdT>(value);
63 }
64 template <typename PentestJobIdT = Aws::String>
66 SetPentestJobId(std::forward<PentestJobIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<Aws::String>& GetFindingIds() const { return m_findingIds; }
76 inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
77 template <typename FindingIdsT = Aws::Vector<Aws::String>>
78 void SetFindingIds(FindingIdsT&& value) {
79 m_findingIdsHasBeenSet = true;
80 m_findingIds = std::forward<FindingIdsT>(value);
81 }
82 template <typename FindingIdsT = Aws::Vector<Aws::String>>
84 SetFindingIds(std::forward<FindingIdsT>(value));
85 return *this;
86 }
87 template <typename FindingIdsT = Aws::String>
89 m_findingIdsHasBeenSet = true;
90 m_findingIds.emplace_back(std::forward<FindingIdsT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_agentSpaceId;
96
97 Aws::String m_pentestJobId;
98
99 Aws::Vector<Aws::String> m_findingIds;
100 bool m_agentSpaceIdHasBeenSet = false;
101 bool m_pentestJobIdHasBeenSet = false;
102 bool m_findingIdsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SecurityAgent
107} // namespace Aws
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
AWS_SECURITYAGENT_API StartCodeRemediationRequest()=default
StartCodeRemediationRequest & AddFindingIds(FindingIdsT &&value)
StartCodeRemediationRequest & WithFindingIds(FindingIdsT &&value)
StartCodeRemediationRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
StartCodeRemediationRequest & WithPentestJobId(PentestJobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector