7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/DomainDetails.h>
10#include <aws/guardduty/model/RemoteIpDetails.h>
11#include <aws/guardduty/model/RemoteAccountDetails.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
51 inline void SetApi(
Aws::String&& value) { m_apiHasBeenSet =
true; m_api = std::move(value); }
52 inline void SetApi(
const char* value) { m_apiHasBeenSet =
true; m_api.assign(value); }
66 inline void SetCallerType(
const char* value) { m_callerTypeHasBeenSet =
true; m_callerType.assign(value); }
92 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
106 inline void SetUserAgent(
const char* value) { m_userAgentHasBeenSet =
true; m_userAgent.assign(value); }
133 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
174 bool m_apiHasBeenSet =
false;
177 bool m_callerTypeHasBeenSet =
false;
180 bool m_domainDetailsHasBeenSet =
false;
183 bool m_errorCodeHasBeenSet =
false;
186 bool m_userAgentHasBeenSet =
false;
189 bool m_remoteIpDetailsHasBeenSet =
false;
192 bool m_serviceNameHasBeenSet =
false;
195 bool m_remoteAccountDetailsHasBeenSet =
false;
198 bool m_affectedResourcesHasBeenSet =
false;
void SetServiceName(const char *value)
AwsApiCallAction & WithRemoteAccountDetails(RemoteAccountDetails &&value)
AwsApiCallAction & WithErrorCode(const char *value)
void SetErrorCode(const char *value)
const DomainDetails & GetDomainDetails() const
AwsApiCallAction & WithServiceName(const Aws::String &value)
const RemoteAccountDetails & GetRemoteAccountDetails() const
bool ErrorCodeHasBeenSet() const
void SetApi(Aws::String &&value)
AWS_GUARDDUTY_API AwsApiCallAction()
AwsApiCallAction & WithCallerType(Aws::String &&value)
AwsApiCallAction & WithServiceName(Aws::String &&value)
bool CallerTypeHasBeenSet() const
void SetCallerType(const char *value)
void SetErrorCode(const Aws::String &value)
AwsApiCallAction & AddAffectedResources(const Aws::String &key, const Aws::String &value)
void SetDomainDetails(const DomainDetails &value)
bool UserAgentHasBeenSet() const
AwsApiCallAction & WithRemoteAccountDetails(const RemoteAccountDetails &value)
AwsApiCallAction & WithUserAgent(const Aws::String &value)
bool ServiceNameHasBeenSet() const
AwsApiCallAction & WithCallerType(const Aws::String &value)
AwsApiCallAction & WithRemoteIpDetails(const RemoteIpDetails &value)
bool DomainDetailsHasBeenSet() const
void SetRemoteIpDetails(RemoteIpDetails &&value)
void SetErrorCode(Aws::String &&value)
AwsApiCallAction & WithApi(Aws::String &&value)
void SetRemoteAccountDetails(const RemoteAccountDetails &value)
const Aws::String & GetServiceName() const
void SetApi(const Aws::String &value)
bool RemoteIpDetailsHasBeenSet() const
AWS_GUARDDUTY_API AwsApiCallAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCallerType() const
AwsApiCallAction & WithAffectedResources(Aws::Map< Aws::String, Aws::String > &&value)
void SetRemoteIpDetails(const RemoteIpDetails &value)
bool AffectedResourcesHasBeenSet() const
void SetAffectedResources(const Aws::Map< Aws::String, Aws::String > &value)
void SetDomainDetails(DomainDetails &&value)
AwsApiCallAction & WithDomainDetails(const DomainDetails &value)
void SetApi(const char *value)
void SetCallerType(Aws::String &&value)
AwsApiCallAction & AddAffectedResources(const char *key, Aws::String &&value)
const Aws::String & GetApi() const
void SetUserAgent(const Aws::String &value)
AwsApiCallAction & WithApi(const char *value)
AwsApiCallAction & AddAffectedResources(const Aws::String &key, Aws::String &&value)
AwsApiCallAction & AddAffectedResources(Aws::String &&key, Aws::String &&value)
AwsApiCallAction & WithRemoteIpDetails(RemoteIpDetails &&value)
AwsApiCallAction & AddAffectedResources(Aws::String &&key, const char *value)
bool RemoteAccountDetailsHasBeenSet() const
void SetAffectedResources(Aws::Map< Aws::String, Aws::String > &&value)
void SetUserAgent(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAffectedResources() const
bool ApiHasBeenSet() const
AwsApiCallAction & WithDomainDetails(DomainDetails &&value)
const Aws::String & GetErrorCode() const
AwsApiCallAction & WithApi(const Aws::String &value)
void SetServiceName(const Aws::String &value)
void SetRemoteAccountDetails(RemoteAccountDetails &&value)
AWS_GUARDDUTY_API AwsApiCallAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserAgent(Aws::String &&value)
AwsApiCallAction & WithErrorCode(const Aws::String &value)
AwsApiCallAction & WithUserAgent(const char *value)
AwsApiCallAction & WithServiceName(const char *value)
const Aws::String & GetUserAgent() const
AwsApiCallAction & AddAffectedResources(const char *key, const char *value)
AwsApiCallAction & WithCallerType(const char *value)
AwsApiCallAction & WithAffectedResources(const Aws::Map< Aws::String, Aws::String > &value)
AwsApiCallAction & WithUserAgent(Aws::String &&value)
void SetCallerType(const Aws::String &value)
AwsApiCallAction & WithErrorCode(Aws::String &&value)
AwsApiCallAction & AddAffectedResources(Aws::String &&key, const Aws::String &value)
void SetServiceName(Aws::String &&value)
const RemoteIpDetails & GetRemoteIpDetails() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
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