AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetInvestigationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/Detective_EXPORTS.h>
10#include <aws/detective/model/EntityType.h>
11#include <aws/detective/model/Severity.h>
12#include <aws/detective/model/State.h>
13#include <aws/detective/model/Status.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Detective {
27namespace Model {
29 public:
30 AWS_DETECTIVE_API GetInvestigationResult() = default;
33
35
38 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
39 template <typename GraphArnT = Aws::String>
40 void SetGraphArn(GraphArnT&& value) {
41 m_graphArnHasBeenSet = true;
42 m_graphArn = std::forward<GraphArnT>(value);
43 }
44 template <typename GraphArnT = Aws::String>
46 SetGraphArn(std::forward<GraphArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
56 template <typename InvestigationIdT = Aws::String>
57 void SetInvestigationId(InvestigationIdT&& value) {
58 m_investigationIdHasBeenSet = true;
59 m_investigationId = std::forward<InvestigationIdT>(value);
60 }
61 template <typename InvestigationIdT = Aws::String>
62 GetInvestigationResult& WithInvestigationId(InvestigationIdT&& value) {
63 SetInvestigationId(std::forward<InvestigationIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetEntityArn() const { return m_entityArn; }
74 template <typename EntityArnT = Aws::String>
75 void SetEntityArn(EntityArnT&& value) {
76 m_entityArnHasBeenSet = true;
77 m_entityArn = std::forward<EntityArnT>(value);
78 }
79 template <typename EntityArnT = Aws::String>
81 SetEntityArn(std::forward<EntityArnT>(value));
82 return *this;
83 }
85
87
91 inline EntityType GetEntityType() const { return m_entityType; }
92 inline void SetEntityType(EntityType value) {
93 m_entityTypeHasBeenSet = true;
94 m_entityType = value;
95 }
97 SetEntityType(value);
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
107 template <typename CreatedTimeT = Aws::Utils::DateTime>
108 void SetCreatedTime(CreatedTimeT&& value) {
109 m_createdTimeHasBeenSet = true;
110 m_createdTime = std::forward<CreatedTimeT>(value);
111 }
112 template <typename CreatedTimeT = Aws::Utils::DateTime>
114 SetCreatedTime(std::forward<CreatedTimeT>(value));
115 return *this;
116 }
118
120
125 inline const Aws::Utils::DateTime& GetScopeStartTime() const { return m_scopeStartTime; }
126 template <typename ScopeStartTimeT = Aws::Utils::DateTime>
127 void SetScopeStartTime(ScopeStartTimeT&& value) {
128 m_scopeStartTimeHasBeenSet = true;
129 m_scopeStartTime = std::forward<ScopeStartTimeT>(value);
130 }
131 template <typename ScopeStartTimeT = Aws::Utils::DateTime>
132 GetInvestigationResult& WithScopeStartTime(ScopeStartTimeT&& value) {
133 SetScopeStartTime(std::forward<ScopeStartTimeT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::Utils::DateTime& GetScopeEndTime() const { return m_scopeEndTime; }
144 template <typename ScopeEndTimeT = Aws::Utils::DateTime>
145 void SetScopeEndTime(ScopeEndTimeT&& value) {
146 m_scopeEndTimeHasBeenSet = true;
147 m_scopeEndTime = std::forward<ScopeEndTimeT>(value);
148 }
149 template <typename ScopeEndTimeT = Aws::Utils::DateTime>
150 GetInvestigationResult& WithScopeEndTime(ScopeEndTimeT&& value) {
151 SetScopeEndTime(std::forward<ScopeEndTimeT>(value));
152 return *this;
153 }
155
157
160 inline Status GetStatus() const { return m_status; }
161 inline void SetStatus(Status value) {
162 m_statusHasBeenSet = true;
163 m_status = value;
164 }
166 SetStatus(value);
167 return *this;
168 }
170
172
176 inline Severity GetSeverity() const { return m_severity; }
177 inline void SetSeverity(Severity value) {
178 m_severityHasBeenSet = true;
179 m_severity = value;
180 }
182 SetSeverity(value);
183 return *this;
184 }
186
188
192 inline State GetState() const { return m_state; }
193 inline void SetState(State value) {
194 m_stateHasBeenSet = true;
195 m_state = value;
196 }
198 SetState(value);
199 return *this;
200 }
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template <typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) {
208 m_requestIdHasBeenSet = true;
209 m_requestId = std::forward<RequestIdT>(value);
210 }
211 template <typename RequestIdT = Aws::String>
213 SetRequestId(std::forward<RequestIdT>(value));
214 return *this;
215 }
217 private:
218 Aws::String m_graphArn;
219 bool m_graphArnHasBeenSet = false;
220
221 Aws::String m_investigationId;
222 bool m_investigationIdHasBeenSet = false;
223
224 Aws::String m_entityArn;
225 bool m_entityArnHasBeenSet = false;
226
227 EntityType m_entityType{EntityType::NOT_SET};
228 bool m_entityTypeHasBeenSet = false;
229
230 Aws::Utils::DateTime m_createdTime{};
231 bool m_createdTimeHasBeenSet = false;
232
233 Aws::Utils::DateTime m_scopeStartTime{};
234 bool m_scopeStartTimeHasBeenSet = false;
235
236 Aws::Utils::DateTime m_scopeEndTime{};
237 bool m_scopeEndTimeHasBeenSet = false;
238
239 Status m_status{Status::NOT_SET};
240 bool m_statusHasBeenSet = false;
241
242 Severity m_severity{Severity::NOT_SET};
243 bool m_severityHasBeenSet = false;
244
245 State m_state{State::NOT_SET};
246 bool m_stateHasBeenSet = false;
247
248 Aws::String m_requestId;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace Detective
254} // 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)
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