AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetInvestigationResult.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/model/EntityType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/detective/model/Status.h>
12#include <aws/detective/model/Severity.h>
13#include <aws/detective/model/State.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Detective
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DETECTIVE_API GetInvestigationResult() = default;
38
39
41
44 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
45 template<typename GraphArnT = Aws::String>
46 void SetGraphArn(GraphArnT&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::forward<GraphArnT>(value); }
47 template<typename GraphArnT = Aws::String>
48 GetInvestigationResult& WithGraphArn(GraphArnT&& value) { SetGraphArn(std::forward<GraphArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
56 template<typename InvestigationIdT = Aws::String>
57 void SetInvestigationId(InvestigationIdT&& value) { m_investigationIdHasBeenSet = true; m_investigationId = std::forward<InvestigationIdT>(value); }
58 template<typename InvestigationIdT = Aws::String>
59 GetInvestigationResult& WithInvestigationId(InvestigationIdT&& value) { SetInvestigationId(std::forward<InvestigationIdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetEntityArn() const { return m_entityArn; }
68 template<typename EntityArnT = Aws::String>
69 void SetEntityArn(EntityArnT&& value) { m_entityArnHasBeenSet = true; m_entityArn = std::forward<EntityArnT>(value); }
70 template<typename EntityArnT = Aws::String>
71 GetInvestigationResult& WithEntityArn(EntityArnT&& value) { SetEntityArn(std::forward<EntityArnT>(value)); return *this;}
73
75
79 inline EntityType GetEntityType() const { return m_entityType; }
80 inline void SetEntityType(EntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
81 inline GetInvestigationResult& WithEntityType(EntityType value) { SetEntityType(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
89 template<typename CreatedTimeT = Aws::Utils::DateTime>
90 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
91 template<typename CreatedTimeT = Aws::Utils::DateTime>
92 GetInvestigationResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
94
96
101 inline const Aws::Utils::DateTime& GetScopeStartTime() const { return m_scopeStartTime; }
102 template<typename ScopeStartTimeT = Aws::Utils::DateTime>
103 void SetScopeStartTime(ScopeStartTimeT&& value) { m_scopeStartTimeHasBeenSet = true; m_scopeStartTime = std::forward<ScopeStartTimeT>(value); }
104 template<typename ScopeStartTimeT = Aws::Utils::DateTime>
105 GetInvestigationResult& WithScopeStartTime(ScopeStartTimeT&& value) { SetScopeStartTime(std::forward<ScopeStartTimeT>(value)); return *this;}
107
109
113 inline const Aws::Utils::DateTime& GetScopeEndTime() const { return m_scopeEndTime; }
114 template<typename ScopeEndTimeT = Aws::Utils::DateTime>
115 void SetScopeEndTime(ScopeEndTimeT&& value) { m_scopeEndTimeHasBeenSet = true; m_scopeEndTime = std::forward<ScopeEndTimeT>(value); }
116 template<typename ScopeEndTimeT = Aws::Utils::DateTime>
117 GetInvestigationResult& WithScopeEndTime(ScopeEndTimeT&& value) { SetScopeEndTime(std::forward<ScopeEndTimeT>(value)); return *this;}
119
121
124 inline Status GetStatus() const { return m_status; }
125 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
126 inline GetInvestigationResult& WithStatus(Status value) { SetStatus(value); return *this;}
128
130
134 inline Severity GetSeverity() const { return m_severity; }
135 inline void SetSeverity(Severity value) { m_severityHasBeenSet = true; m_severity = value; }
136 inline GetInvestigationResult& WithSeverity(Severity value) { SetSeverity(value); return *this;}
138
140
144 inline State GetState() const { return m_state; }
145 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
146 inline GetInvestigationResult& WithState(State value) { SetState(value); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 GetInvestigationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 Aws::String m_graphArn;
160 bool m_graphArnHasBeenSet = false;
161
162 Aws::String m_investigationId;
163 bool m_investigationIdHasBeenSet = false;
164
165 Aws::String m_entityArn;
166 bool m_entityArnHasBeenSet = false;
167
168 EntityType m_entityType{EntityType::NOT_SET};
169 bool m_entityTypeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_createdTime{};
172 bool m_createdTimeHasBeenSet = false;
173
174 Aws::Utils::DateTime m_scopeStartTime{};
175 bool m_scopeStartTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_scopeEndTime{};
178 bool m_scopeEndTimeHasBeenSet = false;
179
180 Status m_status{Status::NOT_SET};
181 bool m_statusHasBeenSet = false;
182
183 Severity m_severity{Severity::NOT_SET};
184 bool m_severityHasBeenSet = false;
185
186 State m_state{State::NOT_SET};
187 bool m_stateHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Detective
195} // 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