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>
65 template<
typename LastUsedDateT = Aws::Utils::DateTime>
66 void SetLastUsedDate(LastUsedDateT&& value) { m_lastUsedDateHasBeenSet =
true; m_lastUsedDate = std::forward<LastUsedDateT>(value); }
67 template<
typename LastUsedDateT = Aws::Utils::DateTime>
78 template<
typename RegionT = Aws::String>
79 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
80 template<
typename RegionT = Aws::String>
86 bool m_lastUsedDateHasBeenSet =
false;
89 bool m_regionHasBeenSet =
false;
void SetLastUsedDate(LastUsedDateT &&value)
const Aws::Utils::DateTime & GetLastUsedDate() const
AWS_IAM_API RoleLastUsed & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IAM_API RoleLastUsed(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LastUsedDateHasBeenSet() const
AWS_IAM_API RoleLastUsed()=default
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool RegionHasBeenSet() const
void SetRegion(RegionT &&value)
const Aws::String & GetRegion() const
RoleLastUsed & WithRegion(RegionT &&value)
RoleLastUsed & WithLastUsedDate(LastUsedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream