7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename VerbT = Aws::String>
50 void SetVerb(VerbT&& value) { m_verbHasBeenSet =
true; m_verb = std::forward<VerbT>(value); }
51 template<
typename VerbT = Aws::String>
62 template<
typename ResourceT = Aws::String>
63 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
64 template<
typename ResourceT = Aws::String>
74 template<
typename NamespaceT = Aws::String>
75 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
76 template<
typename NamespaceT = Aws::String>
87 inline void SetAllowed(
bool value) { m_allowedHasBeenSet =
true; m_allowed = value; }
93 bool m_verbHasBeenSet =
false;
96 bool m_resourceHasBeenSet =
false;
99 bool m_namespaceHasBeenSet =
false;
101 bool m_allowed{
false};
102 bool m_allowedHasBeenSet =
false;
void SetNamespace(NamespaceT &&value)
KubernetesPermissionCheckedDetails & WithNamespace(NamespaceT &&value)
bool ResourceHasBeenSet() const
bool VerbHasBeenSet() const
bool AllowedHasBeenSet() const
AWS_GUARDDUTY_API KubernetesPermissionCheckedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAllowed(bool value)
const Aws::String & GetNamespace() const
KubernetesPermissionCheckedDetails & WithVerb(VerbT &&value)
AWS_GUARDDUTY_API KubernetesPermissionCheckedDetails()=default
KubernetesPermissionCheckedDetails & WithAllowed(bool value)
const Aws::String & GetResource() const
bool NamespaceHasBeenSet() const
KubernetesPermissionCheckedDetails & WithResource(ResourceT &&value)
void SetResource(ResourceT &&value)
void SetVerb(VerbT &&value)
AWS_GUARDDUTY_API KubernetesPermissionCheckedDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVerb() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue