7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/DomainDetails.h>
11#include <aws/guardduty/model/RemoteAccountDetails.h>
12#include <aws/guardduty/model/RemoteIpDetails.h>
44 template <
typename ApiT = Aws::String>
46 m_apiHasBeenSet =
true;
47 m_api = std::forward<ApiT>(value);
49 template <
typename ApiT = Aws::String>
51 SetApi(std::forward<ApiT>(value));
62 template <
typename CallerTypeT = Aws::String>
64 m_callerTypeHasBeenSet =
true;
65 m_callerType = std::forward<CallerTypeT>(value);
67 template <
typename CallerTypeT = Aws::String>
80 template <
typename DomainDetailsT = DomainDetails>
82 m_domainDetailsHasBeenSet =
true;
83 m_domainDetails = std::forward<DomainDetailsT>(value);
85 template <
typename DomainDetailsT = DomainDetails>
98 template <
typename ErrorCodeT = Aws::String>
100 m_errorCodeHasBeenSet =
true;
101 m_errorCode = std::forward<ErrorCodeT>(value);
103 template <
typename ErrorCodeT = Aws::String>
116 template <
typename UserAgentT = Aws::String>
118 m_userAgentHasBeenSet =
true;
119 m_userAgent = std::forward<UserAgentT>(value);
121 template <
typename UserAgentT = Aws::String>
135 template <
typename RemoteIpDetailsT = RemoteIpDetails>
137 m_remoteIpDetailsHasBeenSet =
true;
138 m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value);
140 template <
typename RemoteIpDetailsT = RemoteIpDetails>
153 template <
typename ServiceNameT = Aws::String>
155 m_serviceNameHasBeenSet =
true;
156 m_serviceName = std::forward<ServiceNameT>(value);
158 template <
typename ServiceNameT = Aws::String>
172 template <
typename RemoteAccountDetailsT = RemoteAccountDetails>
174 m_remoteAccountDetailsHasBeenSet =
true;
175 m_remoteAccountDetails = std::forward<RemoteAccountDetailsT>(value);
177 template <
typename RemoteAccountDetailsT = RemoteAccountDetails>
191 template <
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
193 m_affectedResourcesHasBeenSet =
true;
194 m_affectedResources = std::forward<AffectedResourcesT>(value);
196 template <
typename AffectedResourcesT = Aws::Map<Aws::String, Aws::String>>
201 template <
typename AffectedResourcesKeyT = Aws::String,
typename AffectedResourcesValueT = Aws::String>
203 m_affectedResourcesHasBeenSet =
true;
204 m_affectedResources.emplace(std::forward<AffectedResourcesKeyT>(key), std::forward<AffectedResourcesValueT>(value));
226 bool m_apiHasBeenSet =
false;
227 bool m_callerTypeHasBeenSet =
false;
228 bool m_domainDetailsHasBeenSet =
false;
229 bool m_errorCodeHasBeenSet =
false;
230 bool m_userAgentHasBeenSet =
false;
231 bool m_remoteIpDetailsHasBeenSet =
false;
232 bool m_serviceNameHasBeenSet =
false;
233 bool m_remoteAccountDetailsHasBeenSet =
false;
234 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