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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iam/model/Role.h>
13#include <aws/iam/model/Tag.h>
60 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
74 inline void SetInstanceProfileName(
const char* value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName.assign(value); }
91 inline void SetInstanceProfileId(
const char* value) { m_instanceProfileIdHasBeenSet =
true; m_instanceProfileId.assign(value); }
108 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
159 bool m_pathHasBeenSet =
false;
162 bool m_instanceProfileNameHasBeenSet =
false;
165 bool m_instanceProfileIdHasBeenSet =
false;
168 bool m_arnHasBeenSet =
false;
171 bool m_createDateHasBeenSet =
false;
174 bool m_rolesHasBeenSet =
false;
177 bool m_tagsHasBeenSet =
false;
InstanceProfile & AddRoles(Role &&value)
void SetPath(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Role > & GetRoles() const
InstanceProfile & WithPath(const char *value)
InstanceProfile & WithCreateDate(Aws::Utils::DateTime &&value)
bool RolesHasBeenSet() const
void SetPath(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetArn(const Aws::String &value)
AWS_IAM_API InstanceProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceProfile & WithInstanceProfileName(const Aws::String &value)
void SetCreateDate(const Aws::Utils::DateTime &value)
const Aws::String & GetPath() const
InstanceProfile & WithPath(Aws::String &&value)
const Aws::String & GetInstanceProfileName() const
InstanceProfile & WithInstanceProfileName(const char *value)
void SetInstanceProfileName(const char *value)
InstanceProfile & WithInstanceProfileId(const char *value)
AWS_IAM_API InstanceProfile()
InstanceProfile & WithCreateDate(const Aws::Utils::DateTime &value)
AWS_IAM_API InstanceProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
bool InstanceProfileNameHasBeenSet() const
InstanceProfile & WithRoles(const Aws::Vector< Role > &value)
void SetArn(const char *value)
void SetPath(const Aws::String &value)
InstanceProfile & WithInstanceProfileId(const Aws::String &value)
InstanceProfile & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetInstanceProfileId() const
InstanceProfile & WithInstanceProfileName(Aws::String &&value)
void SetRoles(const Aws::Vector< Role > &value)
void SetInstanceProfileId(Aws::String &&value)
InstanceProfile & WithArn(const char *value)
InstanceProfile & WithRoles(Aws::Vector< Role > &&value)
void SetInstanceProfileId(const char *value)
void SetInstanceProfileId(const Aws::String &value)
bool InstanceProfileIdHasBeenSet() const
InstanceProfile & AddTags(const Tag &value)
InstanceProfile & WithArn(Aws::String &&value)
void SetInstanceProfileName(Aws::String &&value)
const Aws::String & GetArn() const
void SetTags(const Aws::Vector< Tag > &value)
void SetRoles(Aws::Vector< Role > &&value)
bool PathHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetArn(Aws::String &&value)
bool CreateDateHasBeenSet() const
InstanceProfile & WithArn(const Aws::String &value)
InstanceProfile & WithInstanceProfileId(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ArnHasBeenSet() const
InstanceProfile & AddRoles(const Role &value)
InstanceProfile & WithTags(Aws::Vector< Tag > &&value)
InstanceProfile & AddTags(Tag &&value)
InstanceProfile & WithPath(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateDate() const
bool TagsHasBeenSet() const
void SetInstanceProfileName(const Aws::String &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::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream