7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/security-ir/SecurityIRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/security-ir/model/ResolverType.h>
11#include <aws/security-ir/model/EngagementType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/security-ir/model/Watcher.h>
16#include <aws/security-ir/model/ThreatActorIp.h>
17#include <aws/security-ir/model/ImpactedAwsRegion.h>
19#include <aws/core/utils/UUID.h>
53 template<
typename ClientTokenT = Aws::String>
54 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
55 template<
typename ClientTokenT = Aws::String>
77 template<
typename TitleT = Aws::String>
78 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
79 template<
typename TitleT = Aws::String>
90 template<
typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
92 template<
typename DescriptionT = Aws::String>
115 template<
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
116 void SetReportedIncidentStartDate(ReportedIncidentStartDateT&& value) { m_reportedIncidentStartDateHasBeenSet =
true; m_reportedIncidentStartDate = std::forward<ReportedIncidentStartDateT>(value); }
117 template<
typename ReportedInc
identStartDateT = Aws::Utils::DateTime>
132 template<
typename ImpactedAccountsT = Aws::Vector<Aws::String>>
133 void SetImpactedAccounts(ImpactedAccountsT&& value) { m_impactedAccountsHasBeenSet =
true; m_impactedAccounts = std::forward<ImpactedAccountsT>(value); }
134 template<
typename ImpactedAccountsT = Aws::Vector<Aws::String>>
136 template<
typename ImpactedAccountsT = Aws::String>
137 CreateCaseRequest&
AddImpactedAccounts(ImpactedAccountsT&& value) { m_impactedAccountsHasBeenSet =
true; m_impactedAccounts.emplace_back(std::forward<ImpactedAccountsT>(value));
return *
this; }
147 template<
typename WatchersT = Aws::Vector<Watcher>>
148 void SetWatchers(WatchersT&& value) { m_watchersHasBeenSet =
true; m_watchers = std::forward<WatchersT>(value); }
149 template<
typename WatchersT = Aws::Vector<Watcher>>
151 template<
typename WatchersT = Watcher>
152 CreateCaseRequest&
AddWatchers(WatchersT&& value) { m_watchersHasBeenSet =
true; m_watchers.emplace_back(std::forward<WatchersT>(value));
return *
this; }
163 template<
typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
164 void SetThreatActorIpAddresses(ThreatActorIpAddressesT&& value) { m_threatActorIpAddressesHasBeenSet =
true; m_threatActorIpAddresses = std::forward<ThreatActorIpAddressesT>(value); }
165 template<
typename ThreatActorIpAddressesT = Aws::Vector<ThreatActorIp>>
167 template<
typename ThreatActorIpAddressesT = ThreatActorIp>
168 CreateCaseRequest&
AddThreatActorIpAddresses(ThreatActorIpAddressesT&& value) { m_threatActorIpAddressesHasBeenSet =
true; m_threatActorIpAddresses.emplace_back(std::forward<ThreatActorIpAddressesT>(value));
return *
this; }
178 template<
typename ImpactedServicesT = Aws::Vector<Aws::String>>
179 void SetImpactedServices(ImpactedServicesT&& value) { m_impactedServicesHasBeenSet =
true; m_impactedServices = std::forward<ImpactedServicesT>(value); }
180 template<
typename ImpactedServicesT = Aws::Vector<Aws::String>>
182 template<
typename ImpactedServicesT = Aws::String>
183 CreateCaseRequest&
AddImpactedServices(ImpactedServicesT&& value) { m_impactedServicesHasBeenSet =
true; m_impactedServices.emplace_back(std::forward<ImpactedServicesT>(value));
return *
this; }
193 template<
typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
194 void SetImpactedAwsRegions(ImpactedAwsRegionsT&& value) { m_impactedAwsRegionsHasBeenSet =
true; m_impactedAwsRegions = std::forward<ImpactedAwsRegionsT>(value); }
195 template<
typename ImpactedAwsRegionsT = Aws::Vector<ImpactedAwsRegion>>
197 template<
typename ImpactedAwsRegionsT = ImpactedAwsRegion>
198 CreateCaseRequest&
AddImpactedAwsRegions(ImpactedAwsRegionsT&& value) { m_impactedAwsRegionsHasBeenSet =
true; m_impactedAwsRegions.emplace_back(std::forward<ImpactedAwsRegionsT>(value));
return *
this; }
208 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
209 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
210 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
214 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
220 bool m_clientTokenHasBeenSet =
true;
223 bool m_resolverTypeHasBeenSet =
false;
226 bool m_titleHasBeenSet =
false;
229 bool m_descriptionHasBeenSet =
false;
232 bool m_engagementTypeHasBeenSet =
false;
235 bool m_reportedIncidentStartDateHasBeenSet =
false;
238 bool m_impactedAccountsHasBeenSet =
false;
241 bool m_watchersHasBeenSet =
false;
244 bool m_threatActorIpAddressesHasBeenSet =
false;
247 bool m_impactedServicesHasBeenSet =
false;
250 bool m_impactedAwsRegionsHasBeenSet =
false;
253 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