7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
40 template <
typename ClusterNameT = Aws::String>
42 m_clusterNameHasBeenSet =
true;
43 m_clusterName = std::forward<ClusterNameT>(value);
45 template <
typename ClusterNameT = Aws::String>
58 template <
typename UsernameT = Aws::String>
60 m_usernameHasBeenSet =
true;
61 m_username = std::forward<UsernameT>(value);
63 template <
typename UsernameT = Aws::String>
76 template <
typename UserGroupsT = Aws::String>
78 m_userGroupsHasBeenSet =
true;
79 m_userGroups = std::forward<UserGroupsT>(value);
81 template <
typename UserGroupsT = Aws::String>
94 template <
typename UserIdT = Aws::String>
96 m_userIdHasBeenSet =
true;
97 m_userId = std::forward<UserIdT>(value);
99 template <
typename UserIdT = Aws::String>
112 template <
typename VerbT = Aws::String>
114 m_verbHasBeenSet =
true;
115 m_verb = std::forward<VerbT>(value);
117 template <
typename VerbT = Aws::String>
119 SetVerb(std::forward<VerbT>(value));
130 template <
typename ResourceTypeT = Aws::String>
132 m_resourceTypeHasBeenSet =
true;
133 m_resourceType = std::forward<ResourceTypeT>(value);
135 template <
typename ResourceTypeT = Aws::String>
148 template <
typename ResourceNameT = Aws::String>
150 m_resourceNameHasBeenSet =
true;
151 m_resourceName = std::forward<ResourceNameT>(value);
153 template <
typename ResourceNameT = Aws::String>
166 template <
typename NamespaceT = Aws::String>
168 m_namespaceHasBeenSet =
true;
169 m_namespace = std::forward<NamespaceT>(value);
171 template <
typename NamespaceT = Aws::String>
184 template <
typename RequestUriT = Aws::String>
186 m_requestUriHasBeenSet =
true;
187 m_requestUri = std::forward<RequestUriT>(value);
189 template <
typename RequestUriT = Aws::String>
203 m_statusCodeHasBeenSet =
true;
204 m_statusCode = value;
218 template <
typename SourceIpsT = Aws::String>
220 m_sourceIpsHasBeenSet =
true;
221 m_sourceIps = std::forward<SourceIpsT>(value);
223 template <
typename SourceIpsT = Aws::String>
236 template <
typename UserAgentT = Aws::String>
238 m_userAgentHasBeenSet =
true;
239 m_userAgent = std::forward<UserAgentT>(value);
241 template <
typename UserAgentT = Aws::String>
255 m_eventCountHasBeenSet =
true;
256 m_eventCount = value;
288 long long m_eventCount{0};
289 bool m_clusterNameHasBeenSet =
false;
290 bool m_usernameHasBeenSet =
false;
291 bool m_userGroupsHasBeenSet =
false;
292 bool m_userIdHasBeenSet =
false;
293 bool m_verbHasBeenSet =
false;
294 bool m_resourceTypeHasBeenSet =
false;
295 bool m_resourceNameHasBeenSet =
false;
296 bool m_namespaceHasBeenSet =
false;
297 bool m_requestUriHasBeenSet =
false;
298 bool m_statusCodeHasBeenSet =
false;
299 bool m_sourceIpsHasBeenSet =
false;
300 bool m_userAgentHasBeenSet =
false;
301 bool m_eventCountHasBeenSet =
false;
const Aws::String & GetUserId() const
AWS_GUARDDUTY_API KubernetesApiCall & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API KubernetesApiCall()=default
const Aws::String & GetClusterName() const
KubernetesApiCall & WithClusterName(ClusterNameT &&value)
const Aws::String & GetResourceType() const
void SetClusterName(ClusterNameT &&value)
KubernetesApiCall & WithResourceName(ResourceNameT &&value)
bool UserGroupsHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool UsernameHasBeenSet() const
const Aws::String & GetVerb() const
KubernetesApiCall & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetUserGroups() const
KubernetesApiCall & WithVerb(VerbT &&value)
void SetNamespace(NamespaceT &&value)
bool UserAgentHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetNamespace() const
void SetEventCount(long long value)
KubernetesApiCall & WithEventCount(long long value)
KubernetesApiCall & WithUserId(UserIdT &&value)
const Aws::String & GetResourceName() const
long long GetEventCount() const
KubernetesApiCall & WithUsername(UsernameT &&value)
KubernetesApiCall & WithUserAgent(UserAgentT &&value)
KubernetesApiCall & WithStatusCode(int value)
bool StatusCodeHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetUsername(UsernameT &&value)
bool RequestUriHasBeenSet() const
const Aws::String & GetRequestUri() const
KubernetesApiCall & WithNamespace(NamespaceT &&value)
const Aws::String & GetSourceIps() const
bool EventCountHasBeenSet() const
AWS_GUARDDUTY_API KubernetesApiCall(Aws::Utils::Json::JsonView jsonValue)
void SetSourceIps(SourceIpsT &&value)
void SetUserGroups(UserGroupsT &&value)
KubernetesApiCall & WithRequestUri(RequestUriT &&value)
void SetRequestUri(RequestUriT &&value)
void SetResourceName(ResourceNameT &&value)
void SetVerb(VerbT &&value)
bool NamespaceHasBeenSet() const
const Aws::String & GetUsername() const
bool ClusterNameHasBeenSet() const
KubernetesApiCall & WithSourceIps(SourceIpsT &&value)
bool ResourceNameHasBeenSet() const
int GetStatusCode() const
bool VerbHasBeenSet() const
void SetStatusCode(int value)
KubernetesApiCall & WithUserGroups(UserGroupsT &&value)
void SetUserAgent(UserAgentT &&value)
bool UserIdHasBeenSet() const
bool SourceIpsHasBeenSet() const
const Aws::String & GetUserAgent() const
void SetUserId(UserIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue