AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DiscoveredEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
29 public:
30 AWS_SECURITYAGENT_API DiscoveredEndpoint() = default;
31 AWS_SECURITYAGENT_API DiscoveredEndpoint(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API DiscoveredEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetUri() const { return m_uri; }
40 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
41 template <typename UriT = Aws::String>
42 void SetUri(UriT&& value) {
43 m_uriHasBeenSet = true;
44 m_uri = std::forward<UriT>(value);
45 }
46 template <typename UriT = Aws::String>
47 DiscoveredEndpoint& WithUri(UriT&& value) {
48 SetUri(std::forward<UriT>(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>
65 DiscoveredEndpoint& WithPentestJobId(PentestJobIdT&& value) {
66 SetPentestJobId(std::forward<PentestJobIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTaskId() const { return m_taskId; }
76 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
77 template <typename TaskIdT = Aws::String>
78 void SetTaskId(TaskIdT&& value) {
79 m_taskIdHasBeenSet = true;
80 m_taskId = std::forward<TaskIdT>(value);
81 }
82 template <typename TaskIdT = Aws::String>
83 DiscoveredEndpoint& WithTaskId(TaskIdT&& value) {
84 SetTaskId(std::forward<TaskIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
94 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
95 template <typename AgentSpaceIdT = Aws::String>
96 void SetAgentSpaceId(AgentSpaceIdT&& value) {
97 m_agentSpaceIdHasBeenSet = true;
98 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
99 }
100 template <typename AgentSpaceIdT = Aws::String>
101 DiscoveredEndpoint& WithAgentSpaceId(AgentSpaceIdT&& value) {
102 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetEvidence() const { return m_evidence; }
112 inline bool EvidenceHasBeenSet() const { return m_evidenceHasBeenSet; }
113 template <typename EvidenceT = Aws::String>
114 void SetEvidence(EvidenceT&& value) {
115 m_evidenceHasBeenSet = true;
116 m_evidence = std::forward<EvidenceT>(value);
117 }
118 template <typename EvidenceT = Aws::String>
119 DiscoveredEndpoint& WithEvidence(EvidenceT&& value) {
120 SetEvidence(std::forward<EvidenceT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetOperation() const { return m_operation; }
130 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
131 template <typename OperationT = Aws::String>
132 void SetOperation(OperationT&& value) {
133 m_operationHasBeenSet = true;
134 m_operation = std::forward<OperationT>(value);
135 }
136 template <typename OperationT = Aws::String>
137 DiscoveredEndpoint& WithOperation(OperationT&& value) {
138 SetOperation(std::forward<OperationT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetDescription() const { return m_description; }
148 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
149 template <typename DescriptionT = Aws::String>
150 void SetDescription(DescriptionT&& value) {
151 m_descriptionHasBeenSet = true;
152 m_description = std::forward<DescriptionT>(value);
153 }
154 template <typename DescriptionT = Aws::String>
155 DiscoveredEndpoint& WithDescription(DescriptionT&& value) {
156 SetDescription(std::forward<DescriptionT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_uri;
162
163 Aws::String m_pentestJobId;
164
165 Aws::String m_taskId;
166
167 Aws::String m_agentSpaceId;
168
169 Aws::String m_evidence;
170
171 Aws::String m_operation;
172
173 Aws::String m_description;
174 bool m_uriHasBeenSet = false;
175 bool m_pentestJobIdHasBeenSet = false;
176 bool m_taskIdHasBeenSet = false;
177 bool m_agentSpaceIdHasBeenSet = false;
178 bool m_evidenceHasBeenSet = false;
179 bool m_operationHasBeenSet = false;
180 bool m_descriptionHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace SecurityAgent
185} // namespace Aws
DiscoveredEndpoint & WithUri(UriT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DiscoveredEndpoint & WithPentestJobId(PentestJobIdT &&value)
DiscoveredEndpoint & WithOperation(OperationT &&value)
AWS_SECURITYAGENT_API DiscoveredEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
DiscoveredEndpoint & WithEvidence(EvidenceT &&value)
AWS_SECURITYAGENT_API DiscoveredEndpoint()=default
DiscoveredEndpoint & WithAgentSpaceId(AgentSpaceIdT &&value)
DiscoveredEndpoint & WithTaskId(TaskIdT &&value)
AWS_SECURITYAGENT_API DiscoveredEndpoint(Aws::Utils::Json::JsonView jsonValue)
DiscoveredEndpoint & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue