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>
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
90 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
107 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
115 bool m_arnHasBeenSet =
false;
118 bool m_nameHasBeenSet =
false;
121 bool m_typeHasBeenSet =
false;
124 bool m_idHasBeenSet =
false;
127 bool m_pathHasBeenSet =
false;
bool IdHasBeenSet() const
bool TypeHasBeenSet() const
EntityInfo & WithId(const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::String & GetId() const
void SetPath(const char *value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EntityInfo & WithName(const char *value)
EntityInfo & WithPath(const Aws::String &value)
EntityInfo & WithName(const Aws::String &value)
void SetArn(Aws::String &&value)
EntityInfo & WithId(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool ArnHasBeenSet() const
void SetId(const char *value)
void SetName(Aws::String &&value)
void SetId(Aws::String &&value)
const Aws::String & GetPath() const
bool PathHasBeenSet() const
void SetPath(const Aws::String &value)
EntityInfo & WithArn(const Aws::String &value)
void SetId(const Aws::String &value)
EntityInfo & WithPath(Aws::String &&value)
void SetType(PolicyOwnerEntityType &&value)
EntityInfo & WithType(PolicyOwnerEntityType &&value)
const PolicyOwnerEntityType & GetType() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EntityInfo & WithPath(const char *value)
EntityInfo & WithArn(const char *value)
void SetName(const Aws::String &value)
EntityInfo & WithId(const char *value)
void SetType(const PolicyOwnerEntityType &value)
EntityInfo & WithArn(Aws::String &&value)
AWS_IAM_API EntityInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPath(Aws::String &&value)
void SetArn(const char *value)
const Aws::String & GetArn() const
void SetName(const char *value)
AWS_IAM_API EntityInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EntityInfo & WithType(const PolicyOwnerEntityType &value)
EntityInfo & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream