7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
77 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
85 bool m_lastUsedDateHasBeenSet =
false;
88 bool m_regionHasBeenSet =
false;
void SetLastUsedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUsedDate() const
AWS_IAM_API RoleLastUsed & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRegion(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetRegion(const Aws::String &value)
void SetLastUsedDate(Aws::Utils::DateTime &&value)
AWS_IAM_API RoleLastUsed(const Aws::Utils::Xml::XmlNode &xmlNode)
RoleLastUsed & WithRegion(const Aws::String &value)
bool LastUsedDateHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RoleLastUsed & WithLastUsedDate(const Aws::Utils::DateTime &value)
bool RegionHasBeenSet() const
void SetRegion(const char *value)
const Aws::String & GetRegion() const
AWS_IAM_API RoleLastUsed()
RoleLastUsed & WithLastUsedDate(Aws::Utils::DateTime &&value)
RoleLastUsed & WithRegion(const char *value)
RoleLastUsed & WithRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream