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>
50 template<
typename ApiT = Aws::String>
51 void SetApi(ApiT&& value) { m_apiHasBeenSet =
true; m_api = std::forward<ApiT>(value); }
52 template<
typename ApiT = Aws::String>
62 template<
typename CallerTypeT = Aws::String>
63 void SetCallerType(CallerTypeT&& value) { m_callerTypeHasBeenSet =
true; m_callerType = std::forward<CallerTypeT>(value); }
64 template<
typename CallerTypeT = Aws::String>
74 template<
typename DomainDetailsT = DomainDetails>
75 void SetDomainDetails(DomainDetailsT&& value) { m_domainDetailsHasBeenSet =
true; m_domainDetails = std::forward<DomainDetailsT>(value); }
76 template<
typename DomainDetailsT = DomainDetails>
86 template<
typename ErrorCodeT = Aws::String>
87 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
88 template<
typename ErrorCodeT = Aws::String>
98 template<
typename UserAgentT = Aws::String>
99 void SetUserAgent(UserAgentT&& value) { m_userAgentHasBeenSet =
true; m_userAgent = std::forward<UserAgentT>(value); }
100 template<
typename UserAgentT = Aws::String>
111 template<
typename RemoteIpDetailsT = RemoteIpDetails>
112 void SetRemoteIpDetails(RemoteIpDetailsT&& value) { m_remoteIpDetailsHasBeenSet =
true; m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value); }
113 template<
typename RemoteIpDetailsT = RemoteIpDetails>
123 template<
typename ServiceNameT = Aws::String>
124 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
125 template<
typename ServiceNameT = Aws::String>
136 template<
typename RemoteAccountDetailsT = RemoteAccountDetails>
137 void SetRemoteAccountDetails(RemoteAccountDetailsT&& value) { m_remoteAccountDetailsHasBeenSet =
true; m_remoteAccountDetails = std::forward<RemoteAccountDetailsT>(value); }
138 template<
typename RemoteAccountDetailsT = RemoteAccountDetails>
149 template<
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
150 void SetAffectedResources(AffectedResourcesT&& value) { m_affectedResourcesHasBeenSet =
true; m_affectedResources = std::forward<AffectedResourcesT>(value); }
151 template<
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
153 template<
typename AffectedResourcesKeyT = Aws::String,
typename AffectedResourcesValueT = Aws::String>
155 m_affectedResourcesHasBeenSet =
true; m_affectedResources.emplace(std::forward<AffectedResourcesKeyT>(key), std::forward<AffectedResourcesValueT>(value));
return *
this;
161 bool m_apiHasBeenSet =
false;
164 bool m_callerTypeHasBeenSet =
false;
167 bool m_domainDetailsHasBeenSet =
false;
170 bool m_errorCodeHasBeenSet =
false;
173 bool m_userAgentHasBeenSet =
false;
176 bool m_remoteIpDetailsHasBeenSet =
false;
179 bool m_serviceNameHasBeenSet =
false;
182 bool m_remoteAccountDetailsHasBeenSet =
false;
185 bool m_affectedResourcesHasBeenSet =
false;
const DomainDetails & GetDomainDetails() const
const RemoteAccountDetails & GetRemoteAccountDetails() const
void SetUserAgent(UserAgentT &&value)
bool ErrorCodeHasBeenSet() const
void SetCallerType(CallerTypeT &&value)
void SetRemoteAccountDetails(RemoteAccountDetailsT &&value)
void SetDomainDetails(DomainDetailsT &&value)
void SetRemoteIpDetails(RemoteIpDetailsT &&value)
bool CallerTypeHasBeenSet() const
AwsApiCallAction & WithRemoteAccountDetails(RemoteAccountDetailsT &&value)
AwsApiCallAction & WithAffectedResources(AffectedResourcesT &&value)
AwsApiCallAction & WithCallerType(CallerTypeT &&value)
AwsApiCallAction & WithApi(ApiT &&value)
bool UserAgentHasBeenSet() const
AwsApiCallAction & WithDomainDetails(DomainDetailsT &&value)
bool ServiceNameHasBeenSet() const
bool DomainDetailsHasBeenSet() const
AwsApiCallAction & WithRemoteIpDetails(RemoteIpDetailsT &&value)
const Aws::String & GetServiceName() const
void SetApi(ApiT &&value)
bool RemoteIpDetailsHasBeenSet() const
AWS_GUARDDUTY_API AwsApiCallAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCallerType() const
bool AffectedResourcesHasBeenSet() const
AwsApiCallAction & WithServiceName(ServiceNameT &&value)
AwsApiCallAction & AddAffectedResources(AffectedResourcesKeyT &&key, AffectedResourcesValueT &&value)
AwsApiCallAction & WithErrorCode(ErrorCodeT &&value)
const Aws::String & GetApi() const
AWS_GUARDDUTY_API AwsApiCallAction()=default
bool RemoteAccountDetailsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAffectedResources() const
bool ApiHasBeenSet() const
const Aws::String & GetErrorCode() const
AWS_GUARDDUTY_API AwsApiCallAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(ErrorCodeT &&value)
void SetServiceName(ServiceNameT &&value)
const Aws::String & GetUserAgent() const
void SetAffectedResources(AffectedResourcesT &&value)
const RemoteIpDetails & GetRemoteIpDetails() const
AwsApiCallAction & WithUserAgent(UserAgentT &&value)
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