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>
52 inline void SetApi(
Aws::String&& value) { m_apiHasBeenSet =
true; m_api = std::move(value); }
53 inline void SetApi(
const char* value) { m_apiHasBeenSet =
true; m_api.assign(value); }
68 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
83 inline void SetCallerType(
const char* value) { m_callerTypeHasBeenSet =
true; m_callerType.assign(value); }
156 inline void SetFirstSeen(
const char* value) { m_firstSeenHasBeenSet =
true; m_firstSeen.assign(value); }
184 inline void SetLastSeen(
const char* value) { m_lastSeenHasBeenSet =
true; m_lastSeen.assign(value); }
192 bool m_apiHasBeenSet =
false;
195 bool m_serviceNameHasBeenSet =
false;
198 bool m_callerTypeHasBeenSet =
false;
201 bool m_remoteIpDetailsHasBeenSet =
false;
204 bool m_domainDetailsHasBeenSet =
false;
207 bool m_affectedResourcesHasBeenSet =
false;
210 bool m_firstSeenHasBeenSet =
false;
213 bool m_lastSeenHasBeenSet =
false;
void SetFirstSeen(const char *value)
const Aws::String & GetCallerType() const
AwsApiCallAction & WithServiceName(Aws::String &&value)
AwsApiCallAction & AddAffectedResources(Aws::String &&key, const char *value)
void SetFirstSeen(const Aws::String &value)
AwsApiCallAction & WithServiceName(const char *value)
AwsApiCallAction & AddAffectedResources(Aws::String &&key, const Aws::String &value)
AWS_SECURITYHUB_API AwsApiCallAction(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteIpDetails(ActionRemoteIpDetails &&value)
void SetApi(const char *value)
bool AffectedResourcesHasBeenSet() const
void SetServiceName(const char *value)
AwsApiCallAction & WithDomainDetails(const AwsApiCallActionDomainDetails &value)
AWS_SECURITYHUB_API AwsApiCallAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceName() const
void SetLastSeen(const Aws::String &value)
bool FirstSeenHasBeenSet() const
void SetCallerType(const char *value)
bool ServiceNameHasBeenSet() const
AwsApiCallAction & WithLastSeen(const Aws::String &value)
void SetCallerType(Aws::String &&value)
bool LastSeenHasBeenSet() const
AWS_SECURITYHUB_API AwsApiCallAction()
AwsApiCallAction & WithLastSeen(Aws::String &&value)
const Aws::String & GetApi() const
AwsApiCallAction & WithAffectedResources(Aws::Map< Aws::String, Aws::String > &&value)
AwsApiCallAction & AddAffectedResources(Aws::String &&key, Aws::String &&value)
AwsApiCallAction & WithRemoteIpDetails(ActionRemoteIpDetails &&value)
void SetFirstSeen(Aws::String &&value)
AwsApiCallAction & WithCallerType(const char *value)
bool CallerTypeHasBeenSet() const
AwsApiCallAction & WithFirstSeen(const char *value)
void SetAffectedResources(const Aws::Map< Aws::String, Aws::String > &value)
AwsApiCallAction & WithCallerType(Aws::String &&value)
void SetCallerType(const Aws::String &value)
const AwsApiCallActionDomainDetails & GetDomainDetails() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastSeen(Aws::String &&value)
AwsApiCallAction & WithCallerType(const Aws::String &value)
AwsApiCallAction & WithAffectedResources(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetLastSeen() const
bool ApiHasBeenSet() const
AwsApiCallAction & AddAffectedResources(const Aws::String &key, const Aws::String &value)
bool RemoteIpDetailsHasBeenSet() const
AwsApiCallAction & AddAffectedResources(const char *key, const char *value)
AwsApiCallAction & WithLastSeen(const char *value)
AwsApiCallAction & WithApi(const Aws::String &value)
void SetApi(Aws::String &&value)
void SetApi(const Aws::String &value)
AwsApiCallAction & WithFirstSeen(Aws::String &&value)
bool DomainDetailsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAffectedResources() const
AwsApiCallAction & WithApi(const char *value)
void SetDomainDetails(AwsApiCallActionDomainDetails &&value)
const Aws::String & GetFirstSeen() const
AwsApiCallAction & AddAffectedResources(const char *key, Aws::String &&value)
AwsApiCallAction & AddAffectedResources(const Aws::String &key, Aws::String &&value)
void SetRemoteIpDetails(const ActionRemoteIpDetails &value)
const ActionRemoteIpDetails & GetRemoteIpDetails() const
AwsApiCallAction & WithServiceName(const Aws::String &value)
AwsApiCallAction & WithApi(Aws::String &&value)
void SetAffectedResources(Aws::Map< Aws::String, Aws::String > &&value)
AwsApiCallAction & WithDomainDetails(AwsApiCallActionDomainDetails &&value)
void SetServiceName(const Aws::String &value)
void SetServiceName(Aws::String &&value)
AwsApiCallAction & WithRemoteIpDetails(const ActionRemoteIpDetails &value)
void SetDomainDetails(const AwsApiCallActionDomainDetails &value)
AwsApiCallAction & WithFirstSeen(const Aws::String &value)
void SetLastSeen(const char *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