AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
StartPentestJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgentRequest.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SecurityAgent {
15namespace Model {
16
23 public:
24 AWS_SECURITYAGENT_API StartPentestJobRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartPentestJob"; }
31
32 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
39 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
40 template <typename AgentSpaceIdT = Aws::String>
41 void SetAgentSpaceId(AgentSpaceIdT&& value) {
42 m_agentSpaceIdHasBeenSet = true;
43 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
44 }
45 template <typename AgentSpaceIdT = Aws::String>
46 StartPentestJobRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
47 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPentestId() const { return m_pentestId; }
57 inline bool PentestIdHasBeenSet() const { return m_pentestIdHasBeenSet; }
58 template <typename PentestIdT = Aws::String>
59 void SetPentestId(PentestIdT&& value) {
60 m_pentestIdHasBeenSet = true;
61 m_pentestId = std::forward<PentestIdT>(value);
62 }
63 template <typename PentestIdT = Aws::String>
65 SetPentestId(std::forward<PentestIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_agentSpaceId;
71
72 Aws::String m_pentestId;
73 bool m_agentSpaceIdHasBeenSet = false;
74 bool m_pentestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityAgent
79} // namespace Aws
StartPentestJobRequest & WithPentestId(PentestIdT &&value)
StartPentestJobRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
AWS_SECURITYAGENT_API StartPentestJobRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String