AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetCaseResult.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/model/CaseStatus.h>
10#include <aws/security-ir/model/EngagementType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/security-ir/model/PendingAction.h>
14#include <aws/security-ir/model/ClosureCode.h>
15#include <aws/security-ir/model/ResolverType.h>
16#include <aws/security-ir/model/ImpactedAwsRegion.h>
17#include <aws/security-ir/model/ThreatActorIp.h>
18#include <aws/security-ir/model/Watcher.h>
19#include <aws/security-ir/model/CaseAttachmentAttributes.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace SecurityIR
35{
36namespace Model
37{
39 {
40 public:
41 AWS_SECURITYIR_API GetCaseResult() = default;
44
45
47
50 inline const Aws::String& GetTitle() const { return m_title; }
51 template<typename TitleT = Aws::String>
52 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
53 template<typename TitleT = Aws::String>
54 GetCaseResult& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
56
58
61 inline const Aws::String& GetCaseArn() const { return m_caseArn; }
62 template<typename CaseArnT = Aws::String>
63 void SetCaseArn(CaseArnT&& value) { m_caseArnHasBeenSet = true; m_caseArn = std::forward<CaseArnT>(value); }
64 template<typename CaseArnT = Aws::String>
65 GetCaseResult& WithCaseArn(CaseArnT&& value) { SetCaseArn(std::forward<CaseArnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 GetCaseResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
86 inline CaseStatus GetCaseStatus() const { return m_caseStatus; }
87 inline void SetCaseStatus(CaseStatus value) { m_caseStatusHasBeenSet = true; m_caseStatus = value; }
88 inline GetCaseResult& WithCaseStatus(CaseStatus value) { SetCaseStatus(value); return *this;}
90
92
96 inline EngagementType GetEngagementType() const { return m_engagementType; }
97 inline void SetEngagementType(EngagementType value) { m_engagementTypeHasBeenSet = true; m_engagementType = value; }
98 inline GetCaseResult& WithEngagementType(EngagementType value) { SetEngagementType(value); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetReportedIncidentStartDate() const { return m_reportedIncidentStartDate; }
107 template<typename ReportedIncidentStartDateT = Aws::Utils::DateTime>
108 void SetReportedIncidentStartDate(ReportedIncidentStartDateT&& value) { m_reportedIncidentStartDateHasBeenSet = true; m_reportedIncidentStartDate = std::forward<ReportedIncidentStartDateT>(value); }
109 template<typename ReportedIncidentStartDateT = Aws::Utils::DateTime>
110 GetCaseResult& WithReportedIncidentStartDate(ReportedIncidentStartDateT&& value) { SetReportedIncidentStartDate(std::forward<ReportedIncidentStartDateT>(value)); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetActualIncidentStartDate() const { return m_actualIncidentStartDate; }
119 template<typename ActualIncidentStartDateT = Aws::Utils::DateTime>
120 void SetActualIncidentStartDate(ActualIncidentStartDateT&& value) { m_actualIncidentStartDateHasBeenSet = true; m_actualIncidentStartDate = std::forward<ActualIncidentStartDateT>(value); }
121 template<typename ActualIncidentStartDateT = Aws::Utils::DateTime>
122 GetCaseResult& WithActualIncidentStartDate(ActualIncidentStartDateT&& value) { SetActualIncidentStartDate(std::forward<ActualIncidentStartDateT>(value)); return *this;}
124
126
129 inline const Aws::Vector<ImpactedAwsRegion>& GetImpactedAwsRegions() const { return m_impactedAwsRegions; }
130 template<typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
131 void SetImpactedAwsRegions(ImpactedAwsRegionsT&& value) { m_impactedAwsRegionsHasBeenSet = true; m_impactedAwsRegions = std::forward<ImpactedAwsRegionsT>(value); }
132 template<typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
133 GetCaseResult& WithImpactedAwsRegions(ImpactedAwsRegionsT&& value) { SetImpactedAwsRegions(std::forward<ImpactedAwsRegionsT>(value)); return *this;}
134 template<typename ImpactedAwsRegionsT = ImpactedAwsRegion>
135 GetCaseResult& AddImpactedAwsRegions(ImpactedAwsRegionsT&& value) { m_impactedAwsRegionsHasBeenSet = true; m_impactedAwsRegions.emplace_back(std::forward<ImpactedAwsRegionsT>(value)); return *this; }
137
139
143 inline const Aws::Vector<ThreatActorIp>& GetThreatActorIpAddresses() const { return m_threatActorIpAddresses; }
144 template<typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
145 void SetThreatActorIpAddresses(ThreatActorIpAddressesT&& value) { m_threatActorIpAddressesHasBeenSet = true; m_threatActorIpAddresses = std::forward<ThreatActorIpAddressesT>(value); }
146 template<typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
147 GetCaseResult& WithThreatActorIpAddresses(ThreatActorIpAddressesT&& value) { SetThreatActorIpAddresses(std::forward<ThreatActorIpAddressesT>(value)); return *this;}
148 template<typename ThreatActorIpAddressesT = ThreatActorIp>
149 GetCaseResult& AddThreatActorIpAddresses(ThreatActorIpAddressesT&& value) { m_threatActorIpAddressesHasBeenSet = true; m_threatActorIpAddresses.emplace_back(std::forward<ThreatActorIpAddressesT>(value)); return *this; }
151
153
157 inline PendingAction GetPendingAction() const { return m_pendingAction; }
158 inline void SetPendingAction(PendingAction value) { m_pendingActionHasBeenSet = true; m_pendingAction = value; }
159 inline GetCaseResult& WithPendingAction(PendingAction value) { SetPendingAction(value); return *this;}
161
163
166 inline const Aws::Vector<Aws::String>& GetImpactedAccounts() const { return m_impactedAccounts; }
167 template<typename ImpactedAccountsT = Aws::Vector<Aws::String>>
168 void SetImpactedAccounts(ImpactedAccountsT&& value) { m_impactedAccountsHasBeenSet = true; m_impactedAccounts = std::forward<ImpactedAccountsT>(value); }
169 template<typename ImpactedAccountsT = Aws::Vector<Aws::String>>
170 GetCaseResult& WithImpactedAccounts(ImpactedAccountsT&& value) { SetImpactedAccounts(std::forward<ImpactedAccountsT>(value)); return *this;}
171 template<typename ImpactedAccountsT = Aws::String>
172 GetCaseResult& AddImpactedAccounts(ImpactedAccountsT&& value) { m_impactedAccountsHasBeenSet = true; m_impactedAccounts.emplace_back(std::forward<ImpactedAccountsT>(value)); return *this; }
174
176
180 inline const Aws::Vector<Watcher>& GetWatchers() const { return m_watchers; }
181 template<typename WatchersT = Aws::Vector<Watcher>>
182 void SetWatchers(WatchersT&& value) { m_watchersHasBeenSet = true; m_watchers = std::forward<WatchersT>(value); }
183 template<typename WatchersT = Aws::Vector<Watcher>>
184 GetCaseResult& WithWatchers(WatchersT&& value) { SetWatchers(std::forward<WatchersT>(value)); return *this;}
185 template<typename WatchersT = Watcher>
186 GetCaseResult& AddWatchers(WatchersT&& value) { m_watchersHasBeenSet = true; m_watchers.emplace_back(std::forward<WatchersT>(value)); return *this; }
188
190
193 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
194 template<typename CreatedDateT = Aws::Utils::DateTime>
195 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
196 template<typename CreatedDateT = Aws::Utils::DateTime>
197 GetCaseResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
199
201
205 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
206 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
207 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
208 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
209 GetCaseResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
211
213
217 inline ClosureCode GetClosureCode() const { return m_closureCode; }
218 inline void SetClosureCode(ClosureCode value) { m_closureCodeHasBeenSet = true; m_closureCode = value; }
219 inline GetCaseResult& WithClosureCode(ClosureCode value) { SetClosureCode(value); return *this;}
221
223
227 inline ResolverType GetResolverType() const { return m_resolverType; }
228 inline void SetResolverType(ResolverType value) { m_resolverTypeHasBeenSet = true; m_resolverType = value; }
229 inline GetCaseResult& WithResolverType(ResolverType value) { SetResolverType(value); return *this;}
231
233
236 inline const Aws::Vector<Aws::String>& GetImpactedServices() const { return m_impactedServices; }
237 template<typename ImpactedServicesT = Aws::Vector<Aws::String>>
238 void SetImpactedServices(ImpactedServicesT&& value) { m_impactedServicesHasBeenSet = true; m_impactedServices = std::forward<ImpactedServicesT>(value); }
239 template<typename ImpactedServicesT = Aws::Vector<Aws::String>>
240 GetCaseResult& WithImpactedServices(ImpactedServicesT&& value) { SetImpactedServices(std::forward<ImpactedServicesT>(value)); return *this;}
241 template<typename ImpactedServicesT = Aws::String>
242 GetCaseResult& AddImpactedServices(ImpactedServicesT&& value) { m_impactedServicesHasBeenSet = true; m_impactedServices.emplace_back(std::forward<ImpactedServicesT>(value)); return *this; }
244
246
250 inline const Aws::Vector<CaseAttachmentAttributes>& GetCaseAttachments() const { return m_caseAttachments; }
251 template<typename CaseAttachmentsT = Aws::Vector<CaseAttachmentAttributes>>
252 void SetCaseAttachments(CaseAttachmentsT&& value) { m_caseAttachmentsHasBeenSet = true; m_caseAttachments = std::forward<CaseAttachmentsT>(value); }
253 template<typename CaseAttachmentsT = Aws::Vector<CaseAttachmentAttributes>>
254 GetCaseResult& WithCaseAttachments(CaseAttachmentsT&& value) { SetCaseAttachments(std::forward<CaseAttachmentsT>(value)); return *this;}
255 template<typename CaseAttachmentsT = CaseAttachmentAttributes>
256 GetCaseResult& AddCaseAttachments(CaseAttachmentsT&& value) { m_caseAttachmentsHasBeenSet = true; m_caseAttachments.emplace_back(std::forward<CaseAttachmentsT>(value)); return *this; }
258
260
264 inline const Aws::Utils::DateTime& GetClosedDate() const { return m_closedDate; }
265 template<typename ClosedDateT = Aws::Utils::DateTime>
266 void SetClosedDate(ClosedDateT&& value) { m_closedDateHasBeenSet = true; m_closedDate = std::forward<ClosedDateT>(value); }
267 template<typename ClosedDateT = Aws::Utils::DateTime>
268 GetCaseResult& WithClosedDate(ClosedDateT&& value) { SetClosedDate(std::forward<ClosedDateT>(value)); return *this;}
270
272
273 inline const Aws::String& GetRequestId() const { return m_requestId; }
274 template<typename RequestIdT = Aws::String>
275 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
276 template<typename RequestIdT = Aws::String>
277 GetCaseResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
279 private:
280
281 Aws::String m_title;
282 bool m_titleHasBeenSet = false;
283
284 Aws::String m_caseArn;
285 bool m_caseArnHasBeenSet = false;
286
287 Aws::String m_description;
288 bool m_descriptionHasBeenSet = false;
289
290 CaseStatus m_caseStatus{CaseStatus::NOT_SET};
291 bool m_caseStatusHasBeenSet = false;
292
293 EngagementType m_engagementType{EngagementType::NOT_SET};
294 bool m_engagementTypeHasBeenSet = false;
295
296 Aws::Utils::DateTime m_reportedIncidentStartDate{};
297 bool m_reportedIncidentStartDateHasBeenSet = false;
298
299 Aws::Utils::DateTime m_actualIncidentStartDate{};
300 bool m_actualIncidentStartDateHasBeenSet = false;
301
302 Aws::Vector<ImpactedAwsRegion> m_impactedAwsRegions;
303 bool m_impactedAwsRegionsHasBeenSet = false;
304
305 Aws::Vector<ThreatActorIp> m_threatActorIpAddresses;
306 bool m_threatActorIpAddressesHasBeenSet = false;
307
308 PendingAction m_pendingAction{PendingAction::NOT_SET};
309 bool m_pendingActionHasBeenSet = false;
310
311 Aws::Vector<Aws::String> m_impactedAccounts;
312 bool m_impactedAccountsHasBeenSet = false;
313
314 Aws::Vector<Watcher> m_watchers;
315 bool m_watchersHasBeenSet = false;
316
317 Aws::Utils::DateTime m_createdDate{};
318 bool m_createdDateHasBeenSet = false;
319
320 Aws::Utils::DateTime m_lastUpdatedDate{};
321 bool m_lastUpdatedDateHasBeenSet = false;
322
323 ClosureCode m_closureCode{ClosureCode::NOT_SET};
324 bool m_closureCodeHasBeenSet = false;
325
326 ResolverType m_resolverType{ResolverType::NOT_SET};
327 bool m_resolverTypeHasBeenSet = false;
328
329 Aws::Vector<Aws::String> m_impactedServices;
330 bool m_impactedServicesHasBeenSet = false;
331
333 bool m_caseAttachmentsHasBeenSet = false;
334
335 Aws::Utils::DateTime m_closedDate{};
336 bool m_closedDateHasBeenSet = false;
337
338 Aws::String m_requestId;
339 bool m_requestIdHasBeenSet = false;
340 };
341
342} // namespace Model
343} // namespace SecurityIR
344} // namespace Aws
void SetRequestId(RequestIdT &&value)
GetCaseResult & AddImpactedAwsRegions(ImpactedAwsRegionsT &&value)
GetCaseResult & WithImpactedAwsRegions(ImpactedAwsRegionsT &&value)
void SetCaseAttachments(CaseAttachmentsT &&value)
const Aws::String & GetDescription() const
GetCaseResult & WithClosureCode(ClosureCode value)
const Aws::Utils::DateTime & GetActualIncidentStartDate() const
GetCaseResult & WithDescription(DescriptionT &&value)
GetCaseResult & WithCaseStatus(CaseStatus value)
GetCaseResult & AddImpactedServices(ImpactedServicesT &&value)
AWS_SECURITYIR_API GetCaseResult()=default
const Aws::Vector< Aws::String > & GetImpactedAccounts() const
GetCaseResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
const Aws::Utils::DateTime & GetReportedIncidentStartDate() const
GetCaseResult & WithImpactedServices(ImpactedServicesT &&value)
GetCaseResult & WithThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
const Aws::Utils::DateTime & GetClosedDate() const
void SetDescription(DescriptionT &&value)
GetCaseResult & WithCaseArn(CaseArnT &&value)
void SetActualIncidentStartDate(ActualIncidentStartDateT &&value)
GetCaseResult & WithReportedIncidentStartDate(ReportedIncidentStartDateT &&value)
void SetClosureCode(ClosureCode value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetRequestId() const
AWS_SECURITYIR_API GetCaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCaseResult & WithActualIncidentStartDate(ActualIncidentStartDateT &&value)
const Aws::Vector< ThreatActorIp > & GetThreatActorIpAddresses() const
void SetImpactedServices(ImpactedServicesT &&value)
GetCaseResult & AddThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
GetCaseResult & AddCaseAttachments(CaseAttachmentsT &&value)
void SetImpactedAccounts(ImpactedAccountsT &&value)
GetCaseResult & AddWatchers(WatchersT &&value)
const Aws::String & GetCaseArn() const
GetCaseResult & WithTitle(TitleT &&value)
GetCaseResult & WithImpactedAccounts(ImpactedAccountsT &&value)
void SetResolverType(ResolverType value)
void SetEngagementType(EngagementType value)
GetCaseResult & WithPendingAction(PendingAction value)
void SetWatchers(WatchersT &&value)
void SetCaseStatus(CaseStatus value)
const Aws::String & GetTitle() const
GetCaseResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
void SetThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
const Aws::Vector< ImpactedAwsRegion > & GetImpactedAwsRegions() const
GetCaseResult & WithCaseAttachments(CaseAttachmentsT &&value)
void SetClosedDate(ClosedDateT &&value)
GetCaseResult & WithResolverType(ResolverType value)
AWS_SECURITYIR_API GetCaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Watcher > & GetWatchers() const
void SetImpactedAwsRegions(ImpactedAwsRegionsT &&value)
GetCaseResult & WithClosedDate(ClosedDateT &&value)
const Aws::Vector< Aws::String > & GetImpactedServices() const
GetCaseResult & WithCreatedDate(CreatedDateT &&value)
void SetPendingAction(PendingAction value)
GetCaseResult & WithWatchers(WatchersT &&value)
void SetReportedIncidentStartDate(ReportedIncidentStartDateT &&value)
GetCaseResult & AddImpactedAccounts(ImpactedAccountsT &&value)
const Aws::Vector< CaseAttachmentAttributes > & GetCaseAttachments() const
void SetCreatedDate(CreatedDateT &&value)
GetCaseResult & WithEngagementType(EngagementType value)
EngagementType GetEngagementType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue