7#include <aws/batch/Batch_EXPORTS.h>
52 inline void SetRunAsUser(
long long value) { m_runAsUserHasBeenSet =
true; m_runAsUser = value; }
67 inline void SetRunAsGroup(
long long value) { m_runAsGroupHasBeenSet =
true; m_runAsGroup = value; }
83 inline void SetPrivileged(
bool value) { m_privilegedHasBeenSet =
true; m_privileged = value; }
124 inline void SetRunAsNonRoot(
bool value) { m_runAsNonRootHasBeenSet =
true; m_runAsNonRoot = value; }
129 long long m_runAsUser;
130 bool m_runAsUserHasBeenSet =
false;
132 long long m_runAsGroup;
133 bool m_runAsGroupHasBeenSet =
false;
136 bool m_privilegedHasBeenSet =
false;
138 bool m_allowPrivilegeEscalation;
139 bool m_allowPrivilegeEscalationHasBeenSet =
false;
141 bool m_readOnlyRootFilesystem;
142 bool m_readOnlyRootFilesystemHasBeenSet =
false;
145 bool m_runAsNonRootHasBeenSet =
false;
AWS_BATCH_API EksContainerSecurityContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrivilegedHasBeenSet() const
void SetAllowPrivilegeEscalation(bool value)
AWS_BATCH_API EksContainerSecurityContext()
bool RunAsNonRootHasBeenSet() const
void SetRunAsUser(long long value)
void SetReadOnlyRootFilesystem(bool value)
EksContainerSecurityContext & WithRunAsUser(long long value)
bool ReadOnlyRootFilesystemHasBeenSet() const
long long GetRunAsGroup() const
EksContainerSecurityContext & WithRunAsNonRoot(bool value)
AWS_BATCH_API EksContainerSecurityContext(Aws::Utils::Json::JsonView jsonValue)
void SetRunAsNonRoot(bool value)
void SetRunAsGroup(long long value)
bool GetRunAsNonRoot() const
EksContainerSecurityContext & WithAllowPrivilegeEscalation(bool value)
bool GetReadOnlyRootFilesystem() const
bool GetAllowPrivilegeEscalation() const
EksContainerSecurityContext & WithReadOnlyRootFilesystem(bool value)
bool GetPrivileged() const
bool AllowPrivilegeEscalationHasBeenSet() const
void SetPrivileged(bool value)
EksContainerSecurityContext & WithRunAsGroup(long long value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
bool RunAsGroupHasBeenSet() const
long long GetRunAsUser() const
bool RunAsUserHasBeenSet() const
EksContainerSecurityContext & WithPrivileged(bool value)
Aws::Utils::Json::JsonValue JsonValue