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/core/utils/memory/stl/AWSVector.h>
11#include <aws/security-ir/SecurityIR_EXPORTS.h>
12#include <aws/security-ir/model/CaseAttachmentAttributes.h>
13#include <aws/security-ir/model/CaseMetadataEntry.h>
14#include <aws/security-ir/model/CaseStatus.h>
15#include <aws/security-ir/model/ClosureCode.h>
16#include <aws/security-ir/model/EngagementType.h>
17#include <aws/security-ir/model/ImpactedAwsRegion.h>
18#include <aws/security-ir/model/PendingAction.h>
19#include <aws/security-ir/model/ResolverType.h>
20#include <aws/security-ir/model/ThreatActorIp.h>
21#include <aws/security-ir/model/Watcher.h>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
47 template <
typename TitleT = Aws::String>
49 m_titleHasBeenSet =
true;
50 m_title = std::forward<TitleT>(value);
52 template <
typename TitleT = Aws::String>
54 SetTitle(std::forward<TitleT>(value));
64 template <
typename CaseArnT = Aws::String>
66 m_caseArnHasBeenSet =
true;
67 m_caseArn = std::forward<CaseArnT>(value);
69 template <
typename CaseArnT = Aws::String>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
102 m_caseStatusHasBeenSet =
true;
103 m_caseStatus = value;
118 m_engagementTypeHasBeenSet =
true;
119 m_engagementType = value;
133 template <
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
135 m_reportedIncidentStartDateHasBeenSet =
true;
136 m_reportedIncidentStartDate = std::forward<ReportedIncidentStartDateT>(value);
138 template <
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
151 template <
typename ActualInc
identStartDateT = Aws::Utils::DateTime>
153 m_actualIncidentStartDateHasBeenSet =
true;
154 m_actualIncidentStartDate = std::forward<ActualIncidentStartDateT>(value);
156 template <
typename ActualInc
identStartDateT = Aws::Utils::DateTime>
168 template <
typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
170 m_impactedAwsRegionsHasBeenSet =
true;
171 m_impactedAwsRegions = std::forward<ImpactedAwsRegionsT>(value);
173 template <
typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
178 template <
typename ImpactedAwsRegionsT = ImpactedAwsRegion>
180 m_impactedAwsRegionsHasBeenSet =
true;
181 m_impactedAwsRegions.emplace_back(std::forward<ImpactedAwsRegionsT>(value));
192 template <
typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
194 m_threatActorIpAddressesHasBeenSet =
true;
195 m_threatActorIpAddresses = std::forward<ThreatActorIpAddressesT>(value);
197 template <
typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
202 template <
typename ThreatActorIpAddressesT = ThreatActorIp>
204 m_threatActorIpAddressesHasBeenSet =
true;
205 m_threatActorIpAddresses.emplace_back(std::forward<ThreatActorIpAddressesT>(value));
217 m_pendingActionHasBeenSet =
true;
218 m_pendingAction = value;
231 template <
typename ImpactedAccountsT = Aws::Vector<Aws::String>>
233 m_impactedAccountsHasBeenSet =
true;
234 m_impactedAccounts = std::forward<ImpactedAccountsT>(value);
236 template <
typename ImpactedAccountsT = Aws::Vector<Aws::String>>
241 template <
typename ImpactedAccountsT = Aws::String>
243 m_impactedAccountsHasBeenSet =
true;
244 m_impactedAccounts.emplace_back(std::forward<ImpactedAccountsT>(value));
255 template <
typename WatchersT = Aws::Vector<Watcher>>
257 m_watchersHasBeenSet =
true;
258 m_watchers = std::forward<WatchersT>(value);
260 template <
typename WatchersT = Aws::Vector<Watcher>>
265 template <
typename WatchersT = Watcher>
267 m_watchersHasBeenSet =
true;
268 m_watchers.emplace_back(std::forward<WatchersT>(value));
278 template <
typename CreatedDateT = Aws::Utils::DateTime>
280 m_createdDateHasBeenSet =
true;
281 m_createdDate = std::forward<CreatedDateT>(value);
283 template <
typename CreatedDateT = Aws::Utils::DateTime>
296 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
298 m_lastUpdatedDateHasBeenSet =
true;
299 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
301 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
315 m_closureCodeHasBeenSet =
true;
316 m_closureCode = value;
330 m_resolverTypeHasBeenSet =
true;
331 m_resolverType = value;
344 template <
typename ImpactedServicesT = Aws::Vector<Aws::String>>
346 m_impactedServicesHasBeenSet =
true;
347 m_impactedServices = std::forward<ImpactedServicesT>(value);
349 template <
typename ImpactedServicesT = Aws::Vector<Aws::String>>
354 template <
typename ImpactedServicesT = Aws::String>
356 m_impactedServicesHasBeenSet =
true;
357 m_impactedServices.emplace_back(std::forward<ImpactedServicesT>(value));
368 template <
typename CaseAttachmentsT = Aws::Vector<CaseAttachmentAttributes>>
370 m_caseAttachmentsHasBeenSet =
true;
371 m_caseAttachments = std::forward<CaseAttachmentsT>(value);
373 template <
typename CaseAttachmentsT = Aws::Vector<CaseAttachmentAttributes>>
378 template <
typename CaseAttachmentsT = CaseAttachmentAttributes>
380 m_caseAttachmentsHasBeenSet =
true;
381 m_caseAttachments.emplace_back(std::forward<CaseAttachmentsT>(value));
392 template <
typename ClosedDateT = Aws::Utils::DateTime>
394 m_closedDateHasBeenSet =
true;
395 m_closedDate = std::forward<ClosedDateT>(value);
397 template <
typename ClosedDateT = Aws::Utils::DateTime>
409 template <
typename CaseMetadataT = Aws::Vector<CaseMetadataEntry>>
411 m_caseMetadataHasBeenSet =
true;
412 m_caseMetadata = std::forward<CaseMetadataT>(value);
414 template <
typename CaseMetadataT = Aws::Vector<CaseMetadataEntry>>
419 template <
typename CaseMetadataT = CaseMetadataEntry>
421 m_caseMetadataHasBeenSet =
true;
422 m_caseMetadata.emplace_back(std::forward<CaseMetadataT>(value));
430 template <
typename RequestIdT = Aws::String>
432 m_requestIdHasBeenSet =
true;
433 m_requestId = std::forward<RequestIdT>(value);
435 template <
typename RequestIdT = Aws::String>
486 bool m_titleHasBeenSet =
false;
487 bool m_caseArnHasBeenSet =
false;
488 bool m_descriptionHasBeenSet =
false;
489 bool m_caseStatusHasBeenSet =
false;
490 bool m_engagementTypeHasBeenSet =
false;
491 bool m_reportedIncidentStartDateHasBeenSet =
false;
492 bool m_actualIncidentStartDateHasBeenSet =
false;
493 bool m_impactedAwsRegionsHasBeenSet =
false;
494 bool m_threatActorIpAddressesHasBeenSet =
false;
495 bool m_pendingActionHasBeenSet =
false;
496 bool m_impactedAccountsHasBeenSet =
false;
497 bool m_watchersHasBeenSet =
false;
498 bool m_createdDateHasBeenSet =
false;
499 bool m_lastUpdatedDateHasBeenSet =
false;
500 bool m_closureCodeHasBeenSet =
false;
501 bool m_resolverTypeHasBeenSet =
false;
502 bool m_impactedServicesHasBeenSet =
false;
503 bool m_caseAttachmentsHasBeenSet =
false;
504 bool m_closedDateHasBeenSet =
false;
505 bool m_caseMetadataHasBeenSet =
false;
506 bool m_requestIdHasBeenSet =
false;
GetCaseResult & WithCaseMetadata(CaseMetadataT &&value)
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)
ResolverType GetResolverType() const
const Aws::Utils::DateTime & GetActualIncidentStartDate() const
CaseStatus GetCaseStatus() 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
GetCaseResult & AddCaseMetadata(CaseMetadataT &&value)
const Aws::Utils::DateTime & GetReportedIncidentStartDate() const
GetCaseResult & WithImpactedServices(ImpactedServicesT &&value)
GetCaseResult & WithThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
const Aws::Utils::DateTime & GetClosedDate() const
void SetDescription(DescriptionT &&value)
PendingAction GetPendingAction() const
GetCaseResult & WithCaseArn(CaseArnT &&value)
ClosureCode GetClosureCode() const
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 SetTitle(TitleT &&value)
void SetWatchers(WatchersT &&value)
void SetCaseStatus(CaseStatus value)
const Aws::String & GetTitle() const
GetCaseResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Vector< CaseMetadataEntry > & GetCaseMetadata() const
void SetThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
const Aws::Vector< ImpactedAwsRegion > & GetImpactedAwsRegions() const
GetCaseResult & WithCaseAttachments(CaseAttachmentsT &&value)
void SetCaseArn(CaseArnT &&value)
void SetClosedDate(ClosedDateT &&value)
GetCaseResult & WithResolverType(ResolverType value)
void SetCaseMetadata(CaseMetadataT &&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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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