AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetInvestigationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/detective/Detective_EXPORTS.h>
11#include <aws/detective/model/EntityType.h>
12#include <aws/detective/model/Severity.h>
13#include <aws/detective/model/State.h>
14#include <aws/detective/model/Status.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Detective {
28namespace Model {
30 public:
31 AWS_DETECTIVE_API GetInvestigationResult() = default;
34
36
39 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
40 template <typename GraphArnT = Aws::String>
41 void SetGraphArn(GraphArnT&& value) {
42 m_graphArnHasBeenSet = true;
43 m_graphArn = std::forward<GraphArnT>(value);
44 }
45 template <typename GraphArnT = Aws::String>
47 SetGraphArn(std::forward<GraphArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
57 template <typename InvestigationIdT = Aws::String>
58 void SetInvestigationId(InvestigationIdT&& value) {
59 m_investigationIdHasBeenSet = true;
60 m_investigationId = std::forward<InvestigationIdT>(value);
61 }
62 template <typename InvestigationIdT = Aws::String>
63 GetInvestigationResult& WithInvestigationId(InvestigationIdT&& value) {
64 SetInvestigationId(std::forward<InvestigationIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetEntityArn() const { return m_entityArn; }
75 template <typename EntityArnT = Aws::String>
76 void SetEntityArn(EntityArnT&& value) {
77 m_entityArnHasBeenSet = true;
78 m_entityArn = std::forward<EntityArnT>(value);
79 }
80 template <typename EntityArnT = Aws::String>
82 SetEntityArn(std::forward<EntityArnT>(value));
83 return *this;
84 }
86
88
92 inline EntityType GetEntityType() const { return m_entityType; }
93 inline void SetEntityType(EntityType value) {
94 m_entityTypeHasBeenSet = true;
95 m_entityType = value;
96 }
98 SetEntityType(value);
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
108 template <typename CreatedTimeT = Aws::Utils::DateTime>
109 void SetCreatedTime(CreatedTimeT&& value) {
110 m_createdTimeHasBeenSet = true;
111 m_createdTime = std::forward<CreatedTimeT>(value);
112 }
113 template <typename CreatedTimeT = Aws::Utils::DateTime>
115 SetCreatedTime(std::forward<CreatedTimeT>(value));
116 return *this;
117 }
119
121
126 inline const Aws::Utils::DateTime& GetScopeStartTime() const { return m_scopeStartTime; }
127 template <typename ScopeStartTimeT = Aws::Utils::DateTime>
128 void SetScopeStartTime(ScopeStartTimeT&& value) {
129 m_scopeStartTimeHasBeenSet = true;
130 m_scopeStartTime = std::forward<ScopeStartTimeT>(value);
131 }
132 template <typename ScopeStartTimeT = Aws::Utils::DateTime>
133 GetInvestigationResult& WithScopeStartTime(ScopeStartTimeT&& value) {
134 SetScopeStartTime(std::forward<ScopeStartTimeT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::Utils::DateTime& GetScopeEndTime() const { return m_scopeEndTime; }
145 template <typename ScopeEndTimeT = Aws::Utils::DateTime>
146 void SetScopeEndTime(ScopeEndTimeT&& value) {
147 m_scopeEndTimeHasBeenSet = true;
148 m_scopeEndTime = std::forward<ScopeEndTimeT>(value);
149 }
150 template <typename ScopeEndTimeT = Aws::Utils::DateTime>
151 GetInvestigationResult& WithScopeEndTime(ScopeEndTimeT&& value) {
152 SetScopeEndTime(std::forward<ScopeEndTimeT>(value));
153 return *this;
154 }
156
158
161 inline Status GetStatus() const { return m_status; }
162 inline void SetStatus(Status value) {
163 m_statusHasBeenSet = true;
164 m_status = value;
165 }
167 SetStatus(value);
168 return *this;
169 }
171
173
177 inline Severity GetSeverity() const { return m_severity; }
178 inline void SetSeverity(Severity value) {
179 m_severityHasBeenSet = true;
180 m_severity = value;
181 }
183 SetSeverity(value);
184 return *this;
185 }
187
189
193 inline State GetState() const { return m_state; }
194 inline void SetState(State value) {
195 m_stateHasBeenSet = true;
196 m_state = value;
197 }
199 SetState(value);
200 return *this;
201 }
203
205
206 inline const Aws::String& GetRequestId() const { return m_requestId; }
207 template <typename RequestIdT = Aws::String>
208 void SetRequestId(RequestIdT&& value) {
209 m_requestIdHasBeenSet = true;
210 m_requestId = std::forward<RequestIdT>(value);
211 }
212 template <typename RequestIdT = Aws::String>
214 SetRequestId(std::forward<RequestIdT>(value));
215 return *this;
216 }
218 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
219
220 private:
221 Aws::String m_graphArn;
222
223 Aws::String m_investigationId;
224
225 Aws::String m_entityArn;
226
227 EntityType m_entityType{EntityType::NOT_SET};
228
229 Aws::Utils::DateTime m_createdTime{};
230
231 Aws::Utils::DateTime m_scopeStartTime{};
232
233 Aws::Utils::DateTime m_scopeEndTime{};
234
235 Status m_status{Status::NOT_SET};
236
237 Severity m_severity{Severity::NOT_SET};
238
239 State m_state{State::NOT_SET};
240
241 Aws::String m_requestId;
242 Aws::Http::HttpResponseCode m_HttpResponseCode;
243 bool m_graphArnHasBeenSet = false;
244 bool m_investigationIdHasBeenSet = false;
245 bool m_entityArnHasBeenSet = false;
246 bool m_entityTypeHasBeenSet = false;
247 bool m_createdTimeHasBeenSet = false;
248 bool m_scopeStartTimeHasBeenSet = false;
249 bool m_scopeEndTimeHasBeenSet = false;
250 bool m_statusHasBeenSet = false;
251 bool m_severityHasBeenSet = false;
252 bool m_stateHasBeenSet = false;
253 bool m_requestIdHasBeenSet = false;
254};
255
256} // namespace Model
257} // namespace Detective
258} // namespace Aws
GetInvestigationResult & WithInvestigationId(InvestigationIdT &&value)
GetInvestigationResult & WithGraphArn(GraphArnT &&value)
AWS_DETECTIVE_API GetInvestigationResult()=default
AWS_DETECTIVE_API GetInvestigationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedTime() const
GetInvestigationResult & WithScopeEndTime(ScopeEndTimeT &&value)
GetInvestigationResult & WithSeverity(Severity value)
GetInvestigationResult & WithState(State value)
const Aws::Utils::DateTime & GetScopeStartTime() const
GetInvestigationResult & WithRequestId(RequestIdT &&value)
AWS_DETECTIVE_API GetInvestigationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInvestigationResult & WithEntityArn(EntityArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetInvestigationResult & WithStatus(Status value)
GetInvestigationResult & WithCreatedTime(CreatedTimeT &&value)
GetInvestigationResult & WithScopeStartTime(ScopeStartTimeT &&value)
GetInvestigationResult & WithEntityType(EntityType value)
const Aws::Utils::DateTime & GetScopeEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue