7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/ActionRemoteIpDetails.h>
10#include <aws/securityhub/model/AwsApiCallActionDomainDetails.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
51 template<
typename ApiT = Aws::String>
52 void SetApi(ApiT&& value) { m_apiHasBeenSet =
true; m_api = std::forward<ApiT>(value); }
53 template<
typename ApiT = Aws::String>
64 template<
typename ServiceNameT = Aws::String>
65 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
66 template<
typename ServiceNameT = Aws::String>
77 template<
typename CallerTypeT = Aws::String>
78 void SetCallerType(CallerTypeT&& value) { m_callerTypeHasBeenSet =
true; m_callerType = std::forward<CallerTypeT>(value); }
79 template<
typename CallerTypeT = Aws::String>
90 template<
typename RemoteIpDetailsT = ActionRemoteIpDetails>
91 void SetRemoteIpDetails(RemoteIpDetailsT&& value) { m_remoteIpDetailsHasBeenSet =
true; m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value); }
92 template<
typename RemoteIpDetailsT = ActionRemoteIpDetails>
103 template<
typename DomainDetailsT = AwsApiCallActionDomainDetails>
104 void SetDomainDetails(DomainDetailsT&& value) { m_domainDetailsHasBeenSet =
true; m_domainDetails = std::forward<DomainDetailsT>(value); }
105 template<
typename DomainDetailsT = AwsApiCallActionDomainDetails>
115 template<
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
116 void SetAffectedResources(AffectedResourcesT&& value) { m_affectedResourcesHasBeenSet =
true; m_affectedResources = std::forward<AffectedResourcesT>(value); }
117 template<
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
119 template<
typename AffectedResourcesKeyT = Aws::String,
typename AffectedResourcesValueT = Aws::String>
121 m_affectedResourcesHasBeenSet =
true; m_affectedResources.emplace(std::forward<AffectedResourcesKeyT>(key), std::forward<AffectedResourcesValueT>(value));
return *
this;
134 template<
typename FirstSeenT = Aws::String>
135 void SetFirstSeen(FirstSeenT&& value) { m_firstSeenHasBeenSet =
true; m_firstSeen = std::forward<FirstSeenT>(value); }
136 template<
typename FirstSeenT = Aws::String>
149 template<
typename LastSeenT = Aws::String>
150 void SetLastSeen(LastSeenT&& value) { m_lastSeenHasBeenSet =
true; m_lastSeen = std::forward<LastSeenT>(value); }
151 template<
typename LastSeenT = Aws::String>
157 bool m_apiHasBeenSet =
false;
160 bool m_serviceNameHasBeenSet =
false;
163 bool m_callerTypeHasBeenSet =
false;
166 bool m_remoteIpDetailsHasBeenSet =
false;
169 bool m_domainDetailsHasBeenSet =
false;
172 bool m_affectedResourcesHasBeenSet =
false;
175 bool m_firstSeenHasBeenSet =
false;
178 bool m_lastSeenHasBeenSet =
false;
const Aws::String & GetCallerType() const
AwsApiCallAction & WithFirstSeen(FirstSeenT &&value)
void SetServiceName(ServiceNameT &&value)
AWS_SECURITYHUB_API AwsApiCallAction(Aws::Utils::Json::JsonView jsonValue)
bool AffectedResourcesHasBeenSet() const
AWS_SECURITYHUB_API AwsApiCallAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsApiCallAction & WithApi(ApiT &&value)
void SetFirstSeen(FirstSeenT &&value)
void SetAffectedResources(AffectedResourcesT &&value)
AwsApiCallAction & WithRemoteIpDetails(RemoteIpDetailsT &&value)
AwsApiCallAction & WithCallerType(CallerTypeT &&value)
const Aws::String & GetServiceName() const
void SetApi(ApiT &&value)
bool FirstSeenHasBeenSet() const
bool ServiceNameHasBeenSet() const
void SetLastSeen(LastSeenT &&value)
void SetRemoteIpDetails(RemoteIpDetailsT &&value)
AwsApiCallAction & WithAffectedResources(AffectedResourcesT &&value)
bool LastSeenHasBeenSet() const
const Aws::String & GetApi() const
bool CallerTypeHasBeenSet() const
void SetCallerType(CallerTypeT &&value)
const AwsApiCallActionDomainDetails & GetDomainDetails() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastSeen() const
void SetDomainDetails(DomainDetailsT &&value)
bool ApiHasBeenSet() const
bool RemoteIpDetailsHasBeenSet() const
AwsApiCallAction & WithLastSeen(LastSeenT &&value)
bool DomainDetailsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAffectedResources() const
const Aws::String & GetFirstSeen() const
const ActionRemoteIpDetails & GetRemoteIpDetails() const
AwsApiCallAction & AddAffectedResources(AffectedResourcesKeyT &&key, AffectedResourcesValueT &&value)
AWS_SECURITYHUB_API AwsApiCallAction()=default
AwsApiCallAction & WithDomainDetails(DomainDetailsT &&value)
AwsApiCallAction & WithServiceName(ServiceNameT &&value)
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
Aws::Utils::Json::JsonValue JsonValue