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>
10#include <aws/iam/model/PolicyOwnerEntityType.h>
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
84 template<
typename IdT = Aws::String>
85 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
86 template<
typename IdT = Aws::String>
99 template<
typename PathT = Aws::String>
100 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
101 template<
typename PathT = Aws::String>
107 bool m_arnHasBeenSet =
false;
110 bool m_nameHasBeenSet =
false;
113 bool m_typeHasBeenSet =
false;
116 bool m_idHasBeenSet =
false;
119 bool m_pathHasBeenSet =
false;
bool IdHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetId() const
EntityInfo & WithPath(PathT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API EntityInfo()=default
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool ArnHasBeenSet() const
const Aws::String & GetPath() const
bool PathHasBeenSet() const
EntityInfo & WithId(IdT &&value)
EntityInfo & WithArn(ArnT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetName(NameT &&value)
void SetPath(PathT &&value)
void SetArn(ArnT &&value)
EntityInfo & WithName(NameT &&value)
void SetType(PolicyOwnerEntityType value)
AWS_IAM_API EntityInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
EntityInfo & WithType(PolicyOwnerEntityType value)
const Aws::String & GetArn() const
AWS_IAM_API EntityInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PolicyOwnerEntityType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream