7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
43 template <
typename VerbT = Aws::String>
45 m_verbHasBeenSet =
true;
46 m_verb = std::forward<VerbT>(value);
48 template <
typename VerbT = Aws::String>
50 SetVerb(std::forward<VerbT>(value));
62 template <
typename ResourceT = Aws::String>
64 m_resourceHasBeenSet =
true;
65 m_resource = std::forward<ResourceT>(value);
67 template <
typename ResourceT = Aws::String>
80 template <
typename NamespaceT = Aws::String>
82 m_namespaceHasBeenSet =
true;
83 m_namespace = std::forward<NamespaceT>(value);
85 template <
typename NamespaceT = Aws::String>
100 m_allowedHasBeenSet =
true;
115 bool m_allowed{
false};
116 bool m_verbHasBeenSet =
false;
117 bool m_resourceHasBeenSet =
false;
118 bool m_namespaceHasBeenSet =
false;
119 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