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>
54 template<
typename RoleNameT = Aws::String>
55 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
56 template<
typename RoleNameT = Aws::String>
69 template<
typename RoleIdT = Aws::String>
70 void SetRoleId(RoleIdT&& value) { m_roleIdHasBeenSet =
true; m_roleId = std::forward<RoleIdT>(value); }
71 template<
typename RoleIdT = Aws::String>
77 bool m_roleNameHasBeenSet =
false;
80 bool m_roleIdHasBeenSet =
false;
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API PolicyRole()=default
AWS_IAM_API PolicyRole(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RoleNameHasBeenSet() const
const Aws::String & GetRoleName() const
void SetRoleName(RoleNameT &&value)
AWS_IAM_API PolicyRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRoleId() const
void SetRoleId(RoleIdT &&value)
PolicyRole & WithRoleName(RoleNameT &&value)
bool RoleIdHasBeenSet() const
PolicyRole & WithRoleId(RoleIdT &&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