7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/DeviceCgroupPermission.h>
51 inline void SetHostPath(
const char* value) { m_hostPathHasBeenSet =
true; m_hostPath.assign(value); }
65 inline void SetContainerPath(
const char* value) { m_containerPathHasBeenSet =
true; m_containerPath.assign(value); }
89 bool m_hostPathHasBeenSet =
false;
92 bool m_containerPathHasBeenSet =
false;
95 bool m_permissionsHasBeenSet =
false;
void SetContainerPath(const char *value)
Device & AddPermissions(const DeviceCgroupPermission &value)
Device & WithContainerPath(Aws::String &&value)
bool HostPathHasBeenSet() const
AWS_ECS_API Device(Aws::Utils::Json::JsonView jsonValue)
void SetPermissions(Aws::Vector< DeviceCgroupPermission > &&value)
void SetHostPath(Aws::String &&value)
Device & WithPermissions(Aws::Vector< DeviceCgroupPermission > &&value)
void SetContainerPath(const Aws::String &value)
Device & WithHostPath(const char *value)
void SetPermissions(const Aws::Vector< DeviceCgroupPermission > &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Device & AddPermissions(DeviceCgroupPermission &&value)
Device & WithHostPath(Aws::String &&value)
Device & WithContainerPath(const Aws::String &value)
bool ContainerPathHasBeenSet() const
AWS_ECS_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
Device & WithHostPath(const Aws::String &value)
bool PermissionsHasBeenSet() const
Device & WithContainerPath(const char *value)
const Aws::String & GetHostPath() const
void SetContainerPath(Aws::String &&value)
const Aws::String & GetContainerPath() const
const Aws::Vector< DeviceCgroupPermission > & GetPermissions() const
void SetHostPath(const Aws::String &value)
void SetHostPath(const char *value)
Device & WithPermissions(const Aws::Vector< DeviceCgroupPermission > &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