AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetGraphArn() const{ return m_graphArn; }
45 inline void SetGraphArn(const Aws::String& value) { m_graphArn = value; }
46 inline void SetGraphArn(Aws::String&& value) { m_graphArn = std::move(value); }
47 inline void SetGraphArn(const char* value) { m_graphArn.assign(value); }
48 inline GetInvestigationResult& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
49 inline GetInvestigationResult& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
50 inline GetInvestigationResult& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
52
54
57 inline const Aws::String& GetInvestigationId() const{ return m_investigationId; }
58 inline void SetInvestigationId(const Aws::String& value) { m_investigationId = value; }
59 inline void SetInvestigationId(Aws::String&& value) { m_investigationId = std::move(value); }
60 inline void SetInvestigationId(const char* value) { m_investigationId.assign(value); }
61 inline GetInvestigationResult& WithInvestigationId(const Aws::String& value) { SetInvestigationId(value); return *this;}
62 inline GetInvestigationResult& WithInvestigationId(Aws::String&& value) { SetInvestigationId(std::move(value)); return *this;}
63 inline GetInvestigationResult& WithInvestigationId(const char* value) { SetInvestigationId(value); return *this;}
65
67
71 inline const Aws::String& GetEntityArn() const{ return m_entityArn; }
72 inline void SetEntityArn(const Aws::String& value) { m_entityArn = value; }
73 inline void SetEntityArn(Aws::String&& value) { m_entityArn = std::move(value); }
74 inline void SetEntityArn(const char* value) { m_entityArn.assign(value); }
75 inline GetInvestigationResult& WithEntityArn(const Aws::String& value) { SetEntityArn(value); return *this;}
76 inline GetInvestigationResult& WithEntityArn(Aws::String&& value) { SetEntityArn(std::move(value)); return *this;}
77 inline GetInvestigationResult& WithEntityArn(const char* value) { SetEntityArn(value); return *this;}
79
81
85 inline const EntityType& GetEntityType() const{ return m_entityType; }
86 inline void SetEntityType(const EntityType& value) { m_entityType = value; }
87 inline void SetEntityType(EntityType&& value) { m_entityType = std::move(value); }
88 inline GetInvestigationResult& WithEntityType(const EntityType& value) { SetEntityType(value); return *this;}
89 inline GetInvestigationResult& WithEntityType(EntityType&& value) { SetEntityType(std::move(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
97 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
98 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
99 inline GetInvestigationResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
100 inline GetInvestigationResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
102
104
109 inline const Aws::Utils::DateTime& GetScopeStartTime() const{ return m_scopeStartTime; }
110 inline void SetScopeStartTime(const Aws::Utils::DateTime& value) { m_scopeStartTime = value; }
111 inline void SetScopeStartTime(Aws::Utils::DateTime&& value) { m_scopeStartTime = std::move(value); }
113 inline GetInvestigationResult& WithScopeStartTime(Aws::Utils::DateTime&& value) { SetScopeStartTime(std::move(value)); return *this;}
115
117
121 inline const Aws::Utils::DateTime& GetScopeEndTime() const{ return m_scopeEndTime; }
122 inline void SetScopeEndTime(const Aws::Utils::DateTime& value) { m_scopeEndTime = value; }
123 inline void SetScopeEndTime(Aws::Utils::DateTime&& value) { m_scopeEndTime = std::move(value); }
125 inline GetInvestigationResult& WithScopeEndTime(Aws::Utils::DateTime&& value) { SetScopeEndTime(std::move(value)); return *this;}
127
129
132 inline const Status& GetStatus() const{ return m_status; }
133 inline void SetStatus(const Status& value) { m_status = value; }
134 inline void SetStatus(Status&& value) { m_status = std::move(value); }
135 inline GetInvestigationResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
136 inline GetInvestigationResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
138
140
144 inline const Severity& GetSeverity() const{ return m_severity; }
145 inline void SetSeverity(const Severity& value) { m_severity = value; }
146 inline void SetSeverity(Severity&& value) { m_severity = std::move(value); }
147 inline GetInvestigationResult& WithSeverity(const Severity& value) { SetSeverity(value); return *this;}
148 inline GetInvestigationResult& WithSeverity(Severity&& value) { SetSeverity(std::move(value)); return *this;}
150
152
156 inline const State& GetState() const{ return m_state; }
157 inline void SetState(const State& value) { m_state = value; }
158 inline void SetState(State&& value) { m_state = std::move(value); }
159 inline GetInvestigationResult& WithState(const State& value) { SetState(value); return *this;}
160 inline GetInvestigationResult& WithState(State&& value) { SetState(std::move(value)); return *this;}
162
164
165 inline const Aws::String& GetRequestId() const{ return m_requestId; }
166 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
167 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
168 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
169 inline GetInvestigationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
170 inline GetInvestigationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
171 inline GetInvestigationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 private:
174
175 Aws::String m_graphArn;
176
177 Aws::String m_investigationId;
178
179 Aws::String m_entityArn;
180
181 EntityType m_entityType;
182
183 Aws::Utils::DateTime m_createdTime;
184
185 Aws::Utils::DateTime m_scopeStartTime;
186
187 Aws::Utils::DateTime m_scopeEndTime;
188
189 Status m_status;
190
191 Severity m_severity;
192
193 State m_state;
194
195 Aws::String m_requestId;
196 };
197
198} // namespace Model
199} // namespace Detective
200} // namespace Aws
GetInvestigationResult & WithSeverity(const Severity &value)
GetInvestigationResult & WithInvestigationId(const Aws::String &value)
void SetScopeEndTime(Aws::Utils::DateTime &&value)
void SetScopeStartTime(const Aws::Utils::DateTime &value)
AWS_DETECTIVE_API GetInvestigationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInvestigationResult & WithEntityType(EntityType &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetScopeStartTime(Aws::Utils::DateTime &&value)
GetInvestigationResult & WithState(const State &value)
const Aws::Utils::DateTime & GetScopeStartTime() const
AWS_DETECTIVE_API GetInvestigationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInvestigationResult & WithRequestId(const char *value)
void SetScopeEndTime(const Aws::Utils::DateTime &value)
GetInvestigationResult & WithGraphArn(const char *value)
GetInvestigationResult & WithInvestigationId(Aws::String &&value)
GetInvestigationResult & WithEntityArn(Aws::String &&value)
GetInvestigationResult & WithState(State &&value)
GetInvestigationResult & WithScopeStartTime(const Aws::Utils::DateTime &value)
GetInvestigationResult & WithRequestId(Aws::String &&value)
GetInvestigationResult & WithCreatedTime(const Aws::Utils::DateTime &value)
GetInvestigationResult & WithGraphArn(Aws::String &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
GetInvestigationResult & WithRequestId(const Aws::String &value)
GetInvestigationResult & WithInvestigationId(const char *value)
GetInvestigationResult & WithCreatedTime(Aws::Utils::DateTime &&value)
GetInvestigationResult & WithEntityType(const EntityType &value)
GetInvestigationResult & WithScopeStartTime(Aws::Utils::DateTime &&value)
GetInvestigationResult & WithScopeEndTime(const Aws::Utils::DateTime &value)
GetInvestigationResult & WithScopeEndTime(Aws::Utils::DateTime &&value)
GetInvestigationResult & WithEntityArn(const Aws::String &value)
GetInvestigationResult & WithSeverity(Severity &&value)
GetInvestigationResult & WithStatus(const Status &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
GetInvestigationResult & WithEntityArn(const char *value)
GetInvestigationResult & WithGraphArn(const Aws::String &value)
GetInvestigationResult & WithStatus(Status &&value)
const Aws::Utils::DateTime & GetScopeEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue