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>
24template<
typename RESULT_TYPE>
25class AmazonWebServiceResult;
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>
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>
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>
107 template<
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
108 void SetReportedIncidentStartDate(ReportedIncidentStartDateT&& value) { m_reportedIncidentStartDateHasBeenSet =
true; m_reportedIncidentStartDate = std::forward<ReportedIncidentStartDateT>(value); }
109 template<
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
119 template<
typename ActualInc
identStartDateT = Aws::Utils::DateTime>
120 void SetActualIncidentStartDate(ActualIncidentStartDateT&& value) { m_actualIncidentStartDateHasBeenSet =
true; m_actualIncidentStartDate = std::forward<ActualIncidentStartDateT>(value); }
121 template<
typename ActualInc
identStartDateT = Aws::Utils::DateTime>
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>>
134 template<
typename ImpactedAwsRegionsT = ImpactedAwsRegion>
135 GetCaseResult&
AddImpactedAwsRegions(ImpactedAwsRegionsT&& value) { m_impactedAwsRegionsHasBeenSet =
true; m_impactedAwsRegions.emplace_back(std::forward<ImpactedAwsRegionsT>(value));
return *
this; }
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>>
148 template<
typename ThreatActorIpAddressesT = ThreatActorIp>
149 GetCaseResult&
AddThreatActorIpAddresses(ThreatActorIpAddressesT&& value) { m_threatActorIpAddressesHasBeenSet =
true; m_threatActorIpAddresses.emplace_back(std::forward<ThreatActorIpAddressesT>(value));
return *
this; }
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>>
171 template<
typename ImpactedAccountsT = Aws::String>
172 GetCaseResult&
AddImpactedAccounts(ImpactedAccountsT&& value) { m_impactedAccountsHasBeenSet =
true; m_impactedAccounts.emplace_back(std::forward<ImpactedAccountsT>(value));
return *
this; }
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>>
185 template<
typename WatchersT = Watcher>
186 GetCaseResult&
AddWatchers(WatchersT&& value) { m_watchersHasBeenSet =
true; m_watchers.emplace_back(std::forward<WatchersT>(value));
return *
this; }
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>
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>
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>>
241 template<
typename ImpactedServicesT = Aws::String>
242 GetCaseResult&
AddImpactedServices(ImpactedServicesT&& value) { m_impactedServicesHasBeenSet =
true; m_impactedServices.emplace_back(std::forward<ImpactedServicesT>(value));
return *
this; }
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>>
255 template<
typename CaseAttachmentsT = CaseAttachmentAttributes>
256 GetCaseResult&
AddCaseAttachments(CaseAttachmentsT&& value) { m_caseAttachmentsHasBeenSet =
true; m_caseAttachments.emplace_back(std::forward<CaseAttachmentsT>(value));
return *
this; }
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>
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>
282 bool m_titleHasBeenSet =
false;
285 bool m_caseArnHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
291 bool m_caseStatusHasBeenSet =
false;
294 bool m_engagementTypeHasBeenSet =
false;
297 bool m_reportedIncidentStartDateHasBeenSet =
false;
300 bool m_actualIncidentStartDateHasBeenSet =
false;
303 bool m_impactedAwsRegionsHasBeenSet =
false;
306 bool m_threatActorIpAddressesHasBeenSet =
false;
309 bool m_pendingActionHasBeenSet =
false;
312 bool m_impactedAccountsHasBeenSet =
false;
315 bool m_watchersHasBeenSet =
false;
318 bool m_createdDateHasBeenSet =
false;
321 bool m_lastUpdatedDateHasBeenSet =
false;
324 bool m_closureCodeHasBeenSet =
false;
327 bool m_resolverTypeHasBeenSet =
false;
330 bool m_impactedServicesHasBeenSet =
false;
333 bool m_caseAttachmentsHasBeenSet =
false;
336 bool m_closedDateHasBeenSet =
false;
339 bool m_requestIdHasBeenSet =
false;
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
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)
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)
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