7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/IAM_EXPORTS.h>
48 template <
typename RoleNameT = Aws::String>
50 m_roleNameHasBeenSet =
true;
51 m_roleName = std::forward<RoleNameT>(value);
53 template <
typename RoleNameT = Aws::String>
69 template <
typename RoleIdT = Aws::String>
71 m_roleIdHasBeenSet =
true;
72 m_roleId = std::forward<RoleIdT>(value);
74 template <
typename RoleIdT = Aws::String>
84 bool m_roleNameHasBeenSet =
false;
85 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