7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/ActionRemoteIpDetails.h>
11#include <aws/securityhub/model/AwsApiCallActionDomainDetails.h>
45 template <
typename ApiT = Aws::String>
47 m_apiHasBeenSet =
true;
48 m_api = std::forward<ApiT>(value);
50 template <
typename ApiT = Aws::String>
52 SetApi(std::forward<ApiT>(value));
64 template <
typename ServiceNameT = Aws::String>
66 m_serviceNameHasBeenSet =
true;
67 m_serviceName = std::forward<ServiceNameT>(value);
69 template <
typename ServiceNameT = Aws::String>
83 template <
typename CallerTypeT = Aws::String>
85 m_callerTypeHasBeenSet =
true;
86 m_callerType = std::forward<CallerTypeT>(value);
88 template <
typename CallerTypeT = Aws::String>
102 template <
typename RemoteIpDetailsT = ActionRemoteIpDetails>
104 m_remoteIpDetailsHasBeenSet =
true;
105 m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value);
107 template <
typename RemoteIpDetailsT = ActionRemoteIpDetails>
121 template <
typename DomainDetailsT = AwsApiCallActionDomainDetails>
123 m_domainDetailsHasBeenSet =
true;
124 m_domainDetails = std::forward<DomainDetailsT>(value);
126 template <
typename DomainDetailsT = AwsApiCallActionDomainDetails>
139 template <
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
141 m_affectedResourcesHasBeenSet =
true;
142 m_affectedResources = std::forward<AffectedResourcesT>(value);
144 template <
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
149 template <
typename AffectedResourcesKeyT = Aws::String,
typename AffectedResourcesValueT = Aws::String>
151 m_affectedResourcesHasBeenSet =
true;
152 m_affectedResources.emplace(std::forward<AffectedResourcesKeyT>(key), std::forward<AffectedResourcesValueT>(value));
166 template <
typename FirstSeenT = Aws::String>
168 m_firstSeenHasBeenSet =
true;
169 m_firstSeen = std::forward<FirstSeenT>(value);
171 template <
typename FirstSeenT = Aws::String>
187 template <
typename LastSeenT = Aws::String>
189 m_lastSeenHasBeenSet =
true;
190 m_lastSeen = std::forward<LastSeenT>(value);
192 template <
typename LastSeenT = Aws::String>
214 bool m_apiHasBeenSet =
false;
215 bool m_serviceNameHasBeenSet =
false;
216 bool m_callerTypeHasBeenSet =
false;
217 bool m_remoteIpDetailsHasBeenSet =
false;
218 bool m_domainDetailsHasBeenSet =
false;
219 bool m_affectedResourcesHasBeenSet =
false;
220 bool m_firstSeenHasBeenSet =
false;
221 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