7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/RemoteIpDetails.h>
51 inline void SetRequestUri(
const char* value) { m_requestUriHasBeenSet =
true; m_requestUri.assign(value); }
65 inline void SetVerb(
const char* value) { m_verbHasBeenSet =
true; m_verb.assign(value); }
95 inline void SetUserAgent(
const char* value) { m_userAgentHasBeenSet =
true; m_userAgent.assign(value); }
117 inline void SetStatusCode(
int value) { m_statusCodeHasBeenSet =
true; m_statusCode = value; }
129 inline void SetParameters(
const char* value) { m_parametersHasBeenSet =
true; m_parameters.assign(value); }
143 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
157 inline void SetSubresource(
const char* value) { m_subresourceHasBeenSet =
true; m_subresource.assign(value); }
172 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
186 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
194 bool m_requestUriHasBeenSet =
false;
197 bool m_verbHasBeenSet =
false;
200 bool m_sourceIpsHasBeenSet =
false;
203 bool m_userAgentHasBeenSet =
false;
206 bool m_remoteIpDetailsHasBeenSet =
false;
209 bool m_statusCodeHasBeenSet =
false;
212 bool m_parametersHasBeenSet =
false;
215 bool m_resourceHasBeenSet =
false;
218 bool m_subresourceHasBeenSet =
false;
221 bool m_namespaceHasBeenSet =
false;
224 bool m_resourceNameHasBeenSet =
false;
KubernetesApiCallAction & WithSourceIps(const Aws::Vector< Aws::String > &value)
void SetRequestUri(Aws::String &&value)
KubernetesApiCallAction & WithNamespace(Aws::String &&value)
void SetSourceIps(const Aws::Vector< Aws::String > &value)
const RemoteIpDetails & GetRemoteIpDetails() const
void SetParameters(const Aws::String &value)
bool ResourceNameHasBeenSet() const
const Aws::String & GetNamespace() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusCodeHasBeenSet() const
void SetNamespace(Aws::String &&value)
AWS_GUARDDUTY_API KubernetesApiCallAction()
int GetStatusCode() const
bool RequestUriHasBeenSet() const
KubernetesApiCallAction & WithNamespace(const Aws::String &value)
AWS_GUARDDUTY_API KubernetesApiCallAction(Aws::Utils::Json::JsonView jsonValue)
KubernetesApiCallAction & WithResourceName(Aws::String &&value)
bool NamespaceHasBeenSet() const
bool ResourceHasBeenSet() const
const Aws::String & GetVerb() const
const Aws::String & GetRequestUri() const
KubernetesApiCallAction & WithResource(const Aws::String &value)
KubernetesApiCallAction & WithUserAgent(const Aws::String &value)
KubernetesApiCallAction & WithStatusCode(int value)
KubernetesApiCallAction & WithRemoteIpDetails(RemoteIpDetails &&value)
KubernetesApiCallAction & WithRequestUri(Aws::String &&value)
KubernetesApiCallAction & WithResource(const char *value)
KubernetesApiCallAction & WithSubresource(const Aws::String &value)
KubernetesApiCallAction & WithRequestUri(const Aws::String &value)
KubernetesApiCallAction & AddSourceIps(Aws::String &&value)
KubernetesApiCallAction & WithVerb(const Aws::String &value)
bool SourceIpsHasBeenSet() const
void SetSubresource(const char *value)
KubernetesApiCallAction & WithResourceName(const Aws::String &value)
const Aws::String & GetUserAgent() const
KubernetesApiCallAction & WithVerb(const char *value)
KubernetesApiCallAction & WithUserAgent(const char *value)
void SetResource(const Aws::String &value)
void SetResourceName(Aws::String &&value)
KubernetesApiCallAction & WithSubresource(Aws::String &&value)
KubernetesApiCallAction & AddSourceIps(const char *value)
KubernetesApiCallAction & WithRemoteIpDetails(const RemoteIpDetails &value)
KubernetesApiCallAction & WithResourceName(const char *value)
void SetNamespace(const Aws::String &value)
void SetSourceIps(Aws::Vector< Aws::String > &&value)
void SetResourceName(const char *value)
KubernetesApiCallAction & WithNamespace(const char *value)
const Aws::String & GetSubresource() const
KubernetesApiCallAction & AddSourceIps(const Aws::String &value)
void SetRemoteIpDetails(RemoteIpDetails &&value)
KubernetesApiCallAction & WithUserAgent(Aws::String &&value)
bool VerbHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceIps() const
void SetVerb(Aws::String &&value)
void SetNamespace(const char *value)
KubernetesApiCallAction & WithRequestUri(const char *value)
KubernetesApiCallAction & WithParameters(Aws::String &&value)
KubernetesApiCallAction & WithResource(Aws::String &&value)
void SetUserAgent(const char *value)
void SetSubresource(const Aws::String &value)
void SetStatusCode(int value)
void SetRequestUri(const char *value)
void SetSubresource(Aws::String &&value)
KubernetesApiCallAction & WithParameters(const Aws::String &value)
void SetRemoteIpDetails(const RemoteIpDetails &value)
void SetVerb(const Aws::String &value)
KubernetesApiCallAction & WithSubresource(const char *value)
void SetParameters(const char *value)
KubernetesApiCallAction & WithParameters(const char *value)
void SetRequestUri(const Aws::String &value)
bool UserAgentHasBeenSet() const
void SetResourceName(const Aws::String &value)
bool SubresourceHasBeenSet() const
void SetResource(const char *value)
void SetVerb(const char *value)
void SetResource(Aws::String &&value)
const Aws::String & GetParameters() const
const Aws::String & GetResource() const
bool RemoteIpDetailsHasBeenSet() const
const Aws::String & GetResourceName() const
KubernetesApiCallAction & WithVerb(Aws::String &&value)
void SetUserAgent(Aws::String &&value)
void SetUserAgent(const Aws::String &value)
KubernetesApiCallAction & WithSourceIps(Aws::Vector< Aws::String > &&value)
bool ParametersHasBeenSet() const
void SetParameters(Aws::String &&value)
AWS_GUARDDUTY_API KubernetesApiCallAction & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue