7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetVerb(
const char* value) { m_verbHasBeenSet =
true; m_verb.assign(value); }
66 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
80 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
93 inline void SetAllowed(
bool value) { m_allowedHasBeenSet =
true; m_allowed = value; }
99 bool m_verbHasBeenSet =
false;
102 bool m_resourceHasBeenSet =
false;
105 bool m_namespaceHasBeenSet =
false;
108 bool m_allowedHasBeenSet =
false;
KubernetesPermissionCheckedDetails & WithVerb(const char *value)
AWS_GUARDDUTY_API KubernetesPermissionCheckedDetails()
KubernetesPermissionCheckedDetails & WithResource(Aws::String &&value)
void SetResource(const char *value)
bool ResourceHasBeenSet() const
KubernetesPermissionCheckedDetails & WithResource(const char *value)
KubernetesPermissionCheckedDetails & WithResource(const Aws::String &value)
KubernetesPermissionCheckedDetails & WithNamespace(const Aws::String &value)
void SetVerb(const char *value)
void SetNamespace(const char *value)
bool VerbHasBeenSet() const
bool AllowedHasBeenSet() const
void SetResource(const Aws::String &value)
AWS_GUARDDUTY_API KubernetesPermissionCheckedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
KubernetesPermissionCheckedDetails & WithVerb(const Aws::String &value)
void SetAllowed(bool value)
void SetVerb(Aws::String &&value)
const Aws::String & GetNamespace() const
KubernetesPermissionCheckedDetails & WithVerb(Aws::String &&value)
void SetNamespace(const Aws::String &value)
KubernetesPermissionCheckedDetails & WithNamespace(const char *value)
KubernetesPermissionCheckedDetails & WithAllowed(bool value)
const Aws::String & GetResource() const
void SetNamespace(Aws::String &&value)
bool NamespaceHasBeenSet() const
KubernetesPermissionCheckedDetails & WithNamespace(Aws::String &&value)
void SetVerb(const Aws::String &value)
AWS_GUARDDUTY_API KubernetesPermissionCheckedDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResource(Aws::String &&value)
const Aws::String & GetVerb() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue