7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/AwsApiCallAction.h>
10#include <aws/guardduty/model/DnsRequestAction.h>
11#include <aws/guardduty/model/KubernetesApiCallAction.h>
12#include <aws/guardduty/model/KubernetesPermissionCheckedDetails.h>
13#include <aws/guardduty/model/KubernetesRoleBindingDetails.h>
14#include <aws/guardduty/model/KubernetesRoleDetails.h>
15#include <aws/guardduty/model/NetworkConnectionAction.h>
16#include <aws/guardduty/model/PortProbeAction.h>
17#include <aws/guardduty/model/RdsLoginAttemptAction.h>
38 AWS_GUARDDUTY_API
Action() =
default;
49 template <
typename ActionTypeT = Aws::String>
51 m_actionTypeHasBeenSet =
true;
52 m_actionType = std::forward<ActionTypeT>(value);
54 template <
typename ActionTypeT = Aws::String>
67 template <
typename AwsApiCallActionT = AwsApiCallAction>
69 m_awsApiCallActionHasBeenSet =
true;
70 m_awsApiCallAction = std::forward<AwsApiCallActionT>(value);
72 template <
typename AwsApiCallActionT = AwsApiCallAction>
85 template <
typename DnsRequestActionT = DnsRequestAction>
87 m_dnsRequestActionHasBeenSet =
true;
88 m_dnsRequestAction = std::forward<DnsRequestActionT>(value);
90 template <
typename DnsRequestActionT = DnsRequestAction>
104 template <
typename NetworkConnectionActionT = NetworkConnectionAction>
106 m_networkConnectionActionHasBeenSet =
true;
107 m_networkConnectionAction = std::forward<NetworkConnectionActionT>(value);
109 template <
typename NetworkConnectionActionT = NetworkConnectionAction>
122 template <
typename PortProbeActionT = PortProbeAction>
124 m_portProbeActionHasBeenSet =
true;
125 m_portProbeAction = std::forward<PortProbeActionT>(value);
127 template <
typename PortProbeActionT = PortProbeAction>
141 template <
typename KubernetesApiCallActionT = KubernetesApiCallAction>
143 m_kubernetesApiCallActionHasBeenSet =
true;
144 m_kubernetesApiCallAction = std::forward<KubernetesApiCallActionT>(value);
146 template <
typename KubernetesApiCallActionT = KubernetesApiCallAction>
160 template <
typename RdsLoginAttemptActionT = RdsLoginAttemptAction>
162 m_rdsLoginAttemptActionHasBeenSet =
true;
163 m_rdsLoginAttemptAction = std::forward<RdsLoginAttemptActionT>(value);
165 template <
typename RdsLoginAttemptActionT = RdsLoginAttemptAction>
178 return m_kubernetesPermissionCheckedDetails;
181 template <
typename KubernetesPermissionCheckedDetailsT = KubernetesPermissionCheckedDetails>
183 m_kubernetesPermissionCheckedDetailsHasBeenSet =
true;
184 m_kubernetesPermissionCheckedDetails = std::forward<KubernetesPermissionCheckedDetailsT>(value);
186 template <
typename KubernetesPermissionCheckedDetailsT = KubernetesPermissionCheckedDetails>
200 template <
typename KubernetesRoleBindingDetailsT = KubernetesRoleBindingDetails>
202 m_kubernetesRoleBindingDetailsHasBeenSet =
true;
203 m_kubernetesRoleBindingDetails = std::forward<KubernetesRoleBindingDetailsT>(value);
205 template <
typename KubernetesRoleBindingDetailsT = KubernetesRoleBindingDetails>
218 template <
typename KubernetesRoleDetailsT = KubernetesRoleDetails>
220 m_kubernetesRoleDetailsHasBeenSet =
true;
221 m_kubernetesRoleDetails = std::forward<KubernetesRoleDetailsT>(value);
223 template <
typename KubernetesRoleDetailsT = KubernetesRoleDetails>
249 bool m_actionTypeHasBeenSet =
false;
250 bool m_awsApiCallActionHasBeenSet =
false;
251 bool m_dnsRequestActionHasBeenSet =
false;
252 bool m_networkConnectionActionHasBeenSet =
false;
253 bool m_portProbeActionHasBeenSet =
false;
254 bool m_kubernetesApiCallActionHasBeenSet =
false;
255 bool m_rdsLoginAttemptActionHasBeenSet =
false;
256 bool m_kubernetesPermissionCheckedDetailsHasBeenSet =
false;
257 bool m_kubernetesRoleBindingDetailsHasBeenSet =
false;
258 bool m_kubernetesRoleDetailsHasBeenSet =
false;
bool KubernetesPermissionCheckedDetailsHasBeenSet() const
AWS_GUARDDUTY_API Action()=default
const KubernetesRoleDetails & GetKubernetesRoleDetails() const
void SetDnsRequestAction(DnsRequestActionT &&value)
bool KubernetesRoleBindingDetailsHasBeenSet() const
void SetKubernetesApiCallAction(KubernetesApiCallActionT &&value)
Action & WithKubernetesRoleDetails(KubernetesRoleDetailsT &&value)
Action & WithPortProbeAction(PortProbeActionT &&value)
const NetworkConnectionAction & GetNetworkConnectionAction() const
AWS_GUARDDUTY_API Action(Aws::Utils::Json::JsonView jsonValue)
Action & WithKubernetesApiCallAction(KubernetesApiCallActionT &&value)
AWS_GUARDDUTY_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
const KubernetesPermissionCheckedDetails & GetKubernetesPermissionCheckedDetails() const
const RdsLoginAttemptAction & GetRdsLoginAttemptAction() const
void SetRdsLoginAttemptAction(RdsLoginAttemptActionT &&value)
const KubernetesRoleBindingDetails & GetKubernetesRoleBindingDetails() const
const PortProbeAction & GetPortProbeAction() const
void SetNetworkConnectionAction(NetworkConnectionActionT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool NetworkConnectionActionHasBeenSet() const
Action & WithNetworkConnectionAction(NetworkConnectionActionT &&value)
Action & WithDnsRequestAction(DnsRequestActionT &&value)
bool KubernetesRoleDetailsHasBeenSet() const
bool DnsRequestActionHasBeenSet() const
bool KubernetesApiCallActionHasBeenSet() const
Action & WithKubernetesPermissionCheckedDetails(KubernetesPermissionCheckedDetailsT &&value)
void SetKubernetesRoleDetails(KubernetesRoleDetailsT &&value)
const AwsApiCallAction & GetAwsApiCallAction() const
Action & WithKubernetesRoleBindingDetails(KubernetesRoleBindingDetailsT &&value)
bool AwsApiCallActionHasBeenSet() const
bool ActionTypeHasBeenSet() const
void SetActionType(ActionTypeT &&value)
void SetPortProbeAction(PortProbeActionT &&value)
const Aws::String & GetActionType() const
bool RdsLoginAttemptActionHasBeenSet() const
const DnsRequestAction & GetDnsRequestAction() const
Action & WithActionType(ActionTypeT &&value)
bool PortProbeActionHasBeenSet() const
void SetAwsApiCallAction(AwsApiCallActionT &&value)
const KubernetesApiCallAction & GetKubernetesApiCallAction() const
void SetKubernetesPermissionCheckedDetails(KubernetesPermissionCheckedDetailsT &&value)
void SetKubernetesRoleBindingDetails(KubernetesRoleBindingDetailsT &&value)
Action & WithAwsApiCallAction(AwsApiCallActionT &&value)
Action & WithRdsLoginAttemptAction(RdsLoginAttemptActionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue