7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/security-ir/SecurityIRRequest.h>
13#include <aws/security-ir/SecurityIR_EXPORTS.h>
14#include <aws/security-ir/model/EngagementType.h>
15#include <aws/security-ir/model/ImpactedAwsRegion.h>
16#include <aws/security-ir/model/ResolverType.h>
17#include <aws/security-ir/model/ThreatActorIp.h>
18#include <aws/security-ir/model/Watcher.h>
49 template <
typename ClientTokenT = Aws::String>
51 m_clientTokenHasBeenSet =
true;
52 m_clientToken = std::forward<ClientTokenT>(value);
54 template <
typename ClientTokenT = Aws::String>
69 m_resolverTypeHasBeenSet =
true;
70 m_resolverType = value;
85 template <
typename TitleT = Aws::String>
87 m_titleHasBeenSet =
true;
88 m_title = std::forward<TitleT>(value);
90 template <
typename TitleT = Aws::String>
92 SetTitle(std::forward<TitleT>(value));
104 template <
typename DescriptionT = Aws::String>
106 m_descriptionHasBeenSet =
true;
107 m_description = std::forward<DescriptionT>(value);
109 template <
typename DescriptionT = Aws::String>
125 m_engagementTypeHasBeenSet =
true;
126 m_engagementType = value;
141 template <
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
143 m_reportedIncidentStartDateHasBeenSet =
true;
144 m_reportedIncidentStartDate = std::forward<ReportedIncidentStartDateT>(value);
146 template <
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
164 template <
typename ImpactedAccountsT = Aws::Vector<Aws::String>>
166 m_impactedAccountsHasBeenSet =
true;
167 m_impactedAccounts = std::forward<ImpactedAccountsT>(value);
169 template <
typename ImpactedAccountsT = Aws::Vector<Aws::String>>
174 template <
typename ImpactedAccountsT = Aws::String>
176 m_impactedAccountsHasBeenSet =
true;
177 m_impactedAccounts.emplace_back(std::forward<ImpactedAccountsT>(value));
189 template <
typename WatchersT = Aws::Vector<Watcher>>
191 m_watchersHasBeenSet =
true;
192 m_watchers = std::forward<WatchersT>(value);
194 template <
typename WatchersT = Aws::Vector<Watcher>>
199 template <
typename WatchersT = Watcher>
201 m_watchersHasBeenSet =
true;
202 m_watchers.emplace_back(std::forward<WatchersT>(value));
215 template <
typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
217 m_threatActorIpAddressesHasBeenSet =
true;
218 m_threatActorIpAddresses = std::forward<ThreatActorIpAddressesT>(value);
220 template <
typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
225 template <
typename ThreatActorIpAddressesT = ThreatActorIp>
227 m_threatActorIpAddressesHasBeenSet =
true;
228 m_threatActorIpAddresses.emplace_back(std::forward<ThreatActorIpAddressesT>(value));
240 template <
typename ImpactedServicesT = Aws::Vector<Aws::String>>
242 m_impactedServicesHasBeenSet =
true;
243 m_impactedServices = std::forward<ImpactedServicesT>(value);
245 template <
typename ImpactedServicesT = Aws::Vector<Aws::String>>
250 template <
typename ImpactedServicesT = Aws::String>
252 m_impactedServicesHasBeenSet =
true;
253 m_impactedServices.emplace_back(std::forward<ImpactedServicesT>(value));
265 template <
typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
267 m_impactedAwsRegionsHasBeenSet =
true;
268 m_impactedAwsRegions = std::forward<ImpactedAwsRegionsT>(value);
270 template <
typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
275 template <
typename ImpactedAwsRegionsT = ImpactedAwsRegion>
277 m_impactedAwsRegionsHasBeenSet =
true;
278 m_impactedAwsRegions.emplace_back(std::forward<ImpactedAwsRegionsT>(value));
290 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
292 m_tagsHasBeenSet =
true;
293 m_tags = std::forward<TagsT>(value);
295 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
297 SetTags(std::forward<TagsT>(value));
300 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
302 m_tagsHasBeenSet =
true;
303 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
331 bool m_clientTokenHasBeenSet =
true;
332 bool m_resolverTypeHasBeenSet =
false;
333 bool m_titleHasBeenSet =
false;
334 bool m_descriptionHasBeenSet =
false;
335 bool m_engagementTypeHasBeenSet =
false;
336 bool m_reportedIncidentStartDateHasBeenSet =
false;
337 bool m_impactedAccountsHasBeenSet =
false;
338 bool m_watchersHasBeenSet =
false;
339 bool m_threatActorIpAddressesHasBeenSet =
false;
340 bool m_impactedServicesHasBeenSet =
false;
341 bool m_impactedAwsRegionsHasBeenSet =
false;
342 bool m_tagsHasBeenSet =
false;
bool ImpactedAccountsHasBeenSet() const
CreateCaseRequest & WithResolverType(ResolverType value)
const Aws::Vector< ThreatActorIp > & GetThreatActorIpAddresses() const
ResolverType GetResolverType() const
CreateCaseRequest & AddThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
CreateCaseRequest & WithImpactedAccounts(ImpactedAccountsT &&value)
void SetImpactedServices(ImpactedServicesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< Aws::String > & GetImpactedAccounts() const
CreateCaseRequest & WithTitle(TitleT &&value)
bool ImpactedServicesHasBeenSet() const
CreateCaseRequest & WithImpactedAwsRegions(ImpactedAwsRegionsT &&value)
CreateCaseRequest & WithEngagementType(EngagementType value)
CreateCaseRequest & WithThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
const Aws::Vector< Watcher > & GetWatchers() const
CreateCaseRequest & AddWatchers(WatchersT &&value)
CreateCaseRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetDescription() const
void SetClientToken(ClientTokenT &&value)
AWS_SECURITYIR_API CreateCaseRequest()=default
void SetImpactedAwsRegions(ImpactedAwsRegionsT &&value)
const Aws::String & GetClientToken() const
bool EngagementTypeHasBeenSet() const
CreateCaseRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
bool ThreatActorIpAddressesHasBeenSet() const
CreateCaseRequest & WithReportedIncidentStartDate(ReportedIncidentStartDateT &&value)
const Aws::Utils::DateTime & GetReportedIncidentStartDate() const
void SetThreatActorIpAddresses(ThreatActorIpAddressesT &&value)
CreateCaseRequest & WithDescription(DescriptionT &&value)
void SetImpactedAccounts(ImpactedAccountsT &&value)
AWS_SECURITYIR_API Aws::String SerializePayload() const override
EngagementType GetEngagementType() const
bool ResolverTypeHasBeenSet() const
bool TitleHasBeenSet() const
bool ImpactedAwsRegionsHasBeenSet() const
void SetTitle(TitleT &&value)
CreateCaseRequest & AddImpactedAwsRegions(ImpactedAwsRegionsT &&value)
CreateCaseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateCaseRequest & AddImpactedServices(ImpactedServicesT &&value)
bool ReportedIncidentStartDateHasBeenSet() const
void SetResolverType(ResolverType value)
const Aws::Vector< ImpactedAwsRegion > & GetImpactedAwsRegions() const
CreateCaseRequest & WithImpactedServices(ImpactedServicesT &&value)
CreateCaseRequest & WithWatchers(WatchersT &&value)
const Aws::Vector< Aws::String > & GetImpactedServices() const
void SetEngagementType(EngagementType value)
bool DescriptionHasBeenSet() const
void SetReportedIncidentStartDate(ReportedIncidentStartDateT &&value)
bool WatchersHasBeenSet() const
const Aws::String & GetTitle() const
bool ClientTokenHasBeenSet() const
void SetWatchers(WatchersT &&value)
CreateCaseRequest & AddImpactedAccounts(ImpactedAccountsT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector