7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/PermissionGroup.h>
52 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
72 bool m_userIdHasBeenSet =
false;
75 bool m_groupHasBeenSet =
false;
bool GroupHasBeenSet() const
void SetGroup(const PermissionGroup &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUserId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API CreateVolumePermission()
void SetUserId(Aws::String &&value)
CreateVolumePermission & WithGroup(const PermissionGroup &value)
void SetGroup(PermissionGroup &&value)
CreateVolumePermission & WithUserId(const char *value)
CreateVolumePermission & WithUserId(Aws::String &&value)
AWS_EC2_API CreateVolumePermission(const Aws::Utils::Xml::XmlNode &xmlNode)
const PermissionGroup & GetGroup() const
CreateVolumePermission & WithGroup(PermissionGroup &&value)
CreateVolumePermission & WithUserId(const Aws::String &value)
const Aws::String & GetUserId() const
bool UserIdHasBeenSet() const
AWS_EC2_API CreateVolumePermission & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUserId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream