7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/batch/model/DeviceCgroupPermission.h>
52 inline void SetHostPath(
const char* value) { m_hostPathHasBeenSet =
true; m_hostPath.assign(value); }
67 inline void SetContainerPath(
const char* value) { m_containerPathHasBeenSet =
true; m_containerPath.assign(value); }
91 bool m_hostPathHasBeenSet =
false;
94 bool m_containerPathHasBeenSet =
false;
97 bool m_permissionsHasBeenSet =
false;
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
Device & WithContainerPath(const char *value)
void SetContainerPath(const Aws::String &value)
bool ContainerPathHasBeenSet() const
Device & WithContainerPath(Aws::String &&value)
const Aws::String & GetContainerPath() const
Device & WithPermissions(const Aws::Vector< DeviceCgroupPermission > &value)
void SetContainerPath(Aws::String &&value)
AWS_BATCH_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HostPathHasBeenSet() const
AWS_BATCH_API Device(Aws::Utils::Json::JsonView jsonValue)
Device & WithContainerPath(const Aws::String &value)
void SetPermissions(const Aws::Vector< DeviceCgroupPermission > &value)
Device & WithPermissions(Aws::Vector< DeviceCgroupPermission > &&value)
Device & WithHostPath(const char *value)
Device & WithHostPath(const Aws::String &value)
bool PermissionsHasBeenSet() const
void SetPermissions(Aws::Vector< DeviceCgroupPermission > &&value)
Device & AddPermissions(const DeviceCgroupPermission &value)
void SetHostPath(const Aws::String &value)
const Aws::String & GetHostPath() const
Device & AddPermissions(DeviceCgroupPermission &&value)
void SetHostPath(const char *value)
void SetContainerPath(const char *value)
void SetHostPath(Aws::String &&value)
Device & WithHostPath(Aws::String &&value)
const Aws::Vector< DeviceCgroupPermission > & GetPermissions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue