7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
56 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
73 inline void SetRoleId(
const char* value) { m_roleIdHasBeenSet =
true; m_roleId.assign(value); }
81 bool m_roleNameHasBeenSet =
false;
84 bool m_roleIdHasBeenSet =
false;
PolicyRole & WithRoleId(const char *value)
PolicyRole & WithRoleId(Aws::String &&value)
void SetRoleId(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API PolicyRole(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RoleNameHasBeenSet() const
void SetRoleId(const char *value)
void SetRoleName(const Aws::String &value)
const Aws::String & GetRoleName() const
PolicyRole & WithRoleName(const char *value)
AWS_IAM_API PolicyRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRoleId() const
PolicyRole & WithRoleName(Aws::String &&value)
void SetRoleId(Aws::String &&value)
void SetRoleName(const char *value)
bool RoleIdHasBeenSet() const
PolicyRole & WithRoleId(const Aws::String &value)
PolicyRole & WithRoleName(const Aws::String &value)
void SetRoleName(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream