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/Container.h>
11#include <aws/guardduty/model/Volume.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
79 inline void SetUid(
Aws::String&& value) { m_uidHasBeenSet =
true; m_uid = std::move(value); }
80 inline void SetUid(
const char* value) { m_uidHasBeenSet =
true; m_uid.assign(value); }
94 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
107 inline void SetHostNetwork(
bool value) { m_hostNetworkHasBeenSet =
true; m_hostNetwork = value; }
147 inline void SetServiceAccountName(
const char* value) { m_serviceAccountNameHasBeenSet =
true; m_serviceAccountName.assign(value); }
159 inline void SetHostIPC(
bool value) { m_hostIPCHasBeenSet =
true; m_hostIPC = value; }
169 inline void SetHostPID(
bool value) { m_hostPIDHasBeenSet =
true; m_hostPID = value; }
175 bool m_nameHasBeenSet =
false;
178 bool m_typeHasBeenSet =
false;
181 bool m_uidHasBeenSet =
false;
184 bool m_namespaceHasBeenSet =
false;
187 bool m_hostNetworkHasBeenSet =
false;
190 bool m_containersHasBeenSet =
false;
193 bool m_volumesHasBeenSet =
false;
196 bool m_serviceAccountNameHasBeenSet =
false;
199 bool m_hostIPCHasBeenSet =
false;
202 bool m_hostPIDHasBeenSet =
false;
const Aws::Vector< Container > & GetContainers() const
KubernetesWorkloadDetails & WithHostNetwork(bool value)
KubernetesWorkloadDetails & WithName(Aws::String &&value)
void SetServiceAccountName(const Aws::String &value)
bool UidHasBeenSet() const
void SetServiceAccountName(const char *value)
void SetNamespace(Aws::String &&value)
KubernetesWorkloadDetails & WithType(Aws::String &&value)
KubernetesWorkloadDetails & AddVolumes(const Volume &value)
bool ContainersHasBeenSet() const
void SetHostIPC(bool value)
void SetContainers(Aws::Vector< Container > &&value)
KubernetesWorkloadDetails & WithType(const Aws::String &value)
KubernetesWorkloadDetails & WithName(const char *value)
bool ServiceAccountNameHasBeenSet() const
KubernetesWorkloadDetails & WithNamespace(const Aws::String &value)
bool HostNetworkHasBeenSet() const
KubernetesWorkloadDetails & WithVolumes(Aws::Vector< Volume > &&value)
AWS_GUARDDUTY_API KubernetesWorkloadDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
KubernetesWorkloadDetails & WithUid(const Aws::String &value)
void SetServiceAccountName(Aws::String &&value)
bool TypeHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetType() const
KubernetesWorkloadDetails & WithUid(const char *value)
KubernetesWorkloadDetails & AddVolumes(Volume &&value)
KubernetesWorkloadDetails & WithServiceAccountName(Aws::String &&value)
KubernetesWorkloadDetails & WithServiceAccountName(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
KubernetesWorkloadDetails & WithNamespace(const char *value)
void SetType(Aws::String &&value)
KubernetesWorkloadDetails & AddContainers(const Container &value)
KubernetesWorkloadDetails & WithType(const char *value)
KubernetesWorkloadDetails & AddContainers(Container &&value)
KubernetesWorkloadDetails & WithHostIPC(bool value)
void SetNamespace(const char *value)
KubernetesWorkloadDetails & WithUid(Aws::String &&value)
void SetUid(Aws::String &&value)
void SetType(const Aws::String &value)
void SetUid(const char *value)
void SetHostPID(bool value)
const Aws::String & GetNamespace() const
void SetName(Aws::String &&value)
bool GetHostNetwork() const
KubernetesWorkloadDetails & WithContainers(Aws::Vector< Container > &&value)
void SetName(const char *value)
const Aws::Vector< Volume > & GetVolumes() const
bool HostPIDHasBeenSet() const
bool NameHasBeenSet() const
KubernetesWorkloadDetails & WithVolumes(const Aws::Vector< Volume > &value)
KubernetesWorkloadDetails & WithServiceAccountName(const Aws::String &value)
KubernetesWorkloadDetails & WithContainers(const Aws::Vector< Container > &value)
AWS_GUARDDUTY_API KubernetesWorkloadDetails()
void SetVolumes(Aws::Vector< Volume > &&value)
KubernetesWorkloadDetails & WithName(const Aws::String &value)
KubernetesWorkloadDetails & WithHostPID(bool value)
void SetType(const char *value)
bool NamespaceHasBeenSet() const
const Aws::String & GetUid() const
void SetVolumes(const Aws::Vector< Volume > &value)
bool VolumesHasBeenSet() const
AWS_GUARDDUTY_API KubernetesWorkloadDetails(Aws::Utils::Json::JsonView jsonValue)
bool HostIPCHasBeenSet() const
void SetName(const Aws::String &value)
void SetNamespace(const Aws::String &value)
const Aws::String & GetServiceAccountName() const
KubernetesWorkloadDetails & WithNamespace(Aws::String &&value)
void SetHostNetwork(bool value)
void SetUid(const Aws::String &value)
void SetContainers(const Aws::Vector< Container > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue