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>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename TypeT = Aws::String>
63 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
64 template<
typename TypeT = Aws::String>
74 template<
typename U
idT = Aws::String>
75 void SetUid(UidT&& value) { m_uidHasBeenSet =
true; m_uid = std::forward<UidT>(value); }
76 template<
typename U
idT = Aws::String>
86 template<
typename NamespaceT = Aws::String>
87 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
88 template<
typename NamespaceT = Aws::String>
99 inline void SetHostNetwork(
bool value) { m_hostNetworkHasBeenSet =
true; m_hostNetwork = value; }
109 template<
typename ContainersT = Aws::Vector<Container>>
110 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
111 template<
typename ContainersT = Aws::Vector<Container>>
113 template<
typename ContainersT = Container>
123 template<
typename VolumesT = Aws::Vector<Volume>>
124 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
125 template<
typename VolumesT = Aws::Vector<Volume>>
127 template<
typename VolumesT = Volume>
137 template<
typename ServiceAccountNameT = Aws::String>
138 void SetServiceAccountName(ServiceAccountNameT&& value) { m_serviceAccountNameHasBeenSet =
true; m_serviceAccountName = std::forward<ServiceAccountNameT>(value); }
139 template<
typename ServiceAccountNameT = Aws::String>
149 inline void SetHostIPC(
bool value) { m_hostIPCHasBeenSet =
true; m_hostIPC = value; }
159 inline void SetHostPID(
bool value) { m_hostPIDHasBeenSet =
true; m_hostPID = value; }
165 bool m_nameHasBeenSet =
false;
168 bool m_typeHasBeenSet =
false;
171 bool m_uidHasBeenSet =
false;
174 bool m_namespaceHasBeenSet =
false;
176 bool m_hostNetwork{
false};
177 bool m_hostNetworkHasBeenSet =
false;
180 bool m_containersHasBeenSet =
false;
183 bool m_volumesHasBeenSet =
false;
186 bool m_serviceAccountNameHasBeenSet =
false;
188 bool m_hostIPC{
false};
189 bool m_hostIPCHasBeenSet =
false;
191 bool m_hostPID{
false};
192 bool m_hostPIDHasBeenSet =
false;
const Aws::Vector< Container > & GetContainers() const
KubernetesWorkloadDetails & WithHostNetwork(bool value)
void SetName(NameT &&value)
bool UidHasBeenSet() const
bool ContainersHasBeenSet() const
void SetHostIPC(bool value)
bool ServiceAccountNameHasBeenSet() const
bool HostNetworkHasBeenSet() const
AWS_GUARDDUTY_API KubernetesWorkloadDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
KubernetesWorkloadDetails & WithUid(UidT &&value)
bool TypeHasBeenSet() const
const Aws::String & GetName() const
void SetServiceAccountName(ServiceAccountNameT &&value)
const Aws::String & GetType() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
KubernetesWorkloadDetails & WithName(NameT &&value)
KubernetesWorkloadDetails & WithHostIPC(bool value)
KubernetesWorkloadDetails & WithServiceAccountName(ServiceAccountNameT &&value)
void SetHostPID(bool value)
KubernetesWorkloadDetails & AddContainers(ContainersT &&value)
const Aws::String & GetNamespace() const
bool GetHostNetwork() const
AWS_GUARDDUTY_API KubernetesWorkloadDetails()=default
const Aws::Vector< Volume > & GetVolumes() const
bool HostPIDHasBeenSet() const
KubernetesWorkloadDetails & WithType(TypeT &&value)
KubernetesWorkloadDetails & AddVolumes(VolumesT &&value)
bool NameHasBeenSet() const
void SetType(TypeT &&value)
KubernetesWorkloadDetails & WithContainers(ContainersT &&value)
KubernetesWorkloadDetails & WithVolumes(VolumesT &&value)
KubernetesWorkloadDetails & WithHostPID(bool value)
void SetUid(UidT &&value)
bool NamespaceHasBeenSet() const
void SetNamespace(NamespaceT &&value)
const Aws::String & GetUid() const
void SetContainers(ContainersT &&value)
KubernetesWorkloadDetails & WithNamespace(NamespaceT &&value)
bool VolumesHasBeenSet() const
AWS_GUARDDUTY_API KubernetesWorkloadDetails(Aws::Utils::Json::JsonView jsonValue)
bool HostIPCHasBeenSet() const
const Aws::String & GetServiceAccountName() const
void SetVolumes(VolumesT &&value)
void SetHostNetwork(bool 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