7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iam/IAM_EXPORTS.h>
12#include <aws/iam/model/Role.h>
13#include <aws/iam/model/Tag.h>
57 template <
typename PathT = Aws::String>
59 m_pathHasBeenSet =
true;
60 m_path = std::forward<PathT>(value);
62 template <
typename PathT = Aws::String>
64 SetPath(std::forward<PathT>(value));
75 template <
typename InstanceProfileNameT = Aws::String>
77 m_instanceProfileNameHasBeenSet =
true;
78 m_instanceProfileName = std::forward<InstanceProfileNameT>(value);
80 template <
typename InstanceProfileNameT = Aws::String>
96 template <
typename InstanceProfileIdT = Aws::String>
98 m_instanceProfileIdHasBeenSet =
true;
99 m_instanceProfileId = std::forward<InstanceProfileIdT>(value);
101 template <
typename InstanceProfileIdT = Aws::String>
117 template <
typename ArnT = Aws::String>
119 m_arnHasBeenSet =
true;
120 m_arn = std::forward<ArnT>(value);
122 template <
typename ArnT = Aws::String>
124 SetArn(std::forward<ArnT>(value));
135 template <
typename CreateDateT = Aws::Utils::DateTime>
137 m_createDateHasBeenSet =
true;
138 m_createDate = std::forward<CreateDateT>(value);
140 template <
typename CreateDateT = Aws::Utils::DateTime>
153 template <
typename RolesT = Aws::Vector<Role>>
155 m_rolesHasBeenSet =
true;
156 m_roles = std::forward<RolesT>(value);
158 template <
typename RolesT = Aws::Vector<Role>>
160 SetRoles(std::forward<RolesT>(value));
163 template <
typename RolesT = Role>
165 m_rolesHasBeenSet =
true;
166 m_roles.emplace_back(std::forward<RolesT>(value));
180 template <
typename TagsT = Aws::Vector<Tag>>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = Aws::Vector<Tag>>
187 SetTags(std::forward<TagsT>(value));
190 template <
typename TagsT = Tag>
192 m_tagsHasBeenSet =
true;
193 m_tags.emplace_back(std::forward<TagsT>(value));
211 bool m_pathHasBeenSet =
false;
212 bool m_instanceProfileNameHasBeenSet =
false;
213 bool m_instanceProfileIdHasBeenSet =
false;
214 bool m_arnHasBeenSet =
false;
215 bool m_createDateHasBeenSet =
false;
216 bool m_rolesHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
AWS_IAM_API InstanceProfile()=default
const Aws::Vector< Role > & GetRoles() const
bool RolesHasBeenSet() const
AWS_IAM_API InstanceProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceProfile & WithPath(PathT &&value)
const Aws::String & GetPath() const
const Aws::String & GetInstanceProfileName() const
InstanceProfile & AddTags(TagsT &&value)
InstanceProfile & WithInstanceProfileId(InstanceProfileIdT &&value)
AWS_IAM_API InstanceProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
bool InstanceProfileNameHasBeenSet() const
InstanceProfile & WithRoles(RolesT &&value)
const Aws::String & GetInstanceProfileId() const
bool InstanceProfileIdHasBeenSet() const
InstanceProfile & WithArn(ArnT &&value)
void SetTags(TagsT &&value)
InstanceProfile & AddRoles(RolesT &&value)
void SetPath(PathT &&value)
const Aws::String & GetArn() const
InstanceProfile & WithCreateDate(CreateDateT &&value)
void SetRoles(RolesT &&value)
bool PathHasBeenSet() const
void SetCreateDate(CreateDateT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetArn(ArnT &&value)
bool CreateDateHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ArnHasBeenSet() const
void SetInstanceProfileName(InstanceProfileNameT &&value)
void SetInstanceProfileId(InstanceProfileIdT &&value)
InstanceProfile & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
InstanceProfile & WithInstanceProfileName(InstanceProfileNameT &&value)
bool TagsHasBeenSet() const
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::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream