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/iam/IAM_EXPORTS.h>
59 template <
typename LastUsedDateT = Aws::Utils::DateTime>
61 m_lastUsedDateHasBeenSet =
true;
62 m_lastUsedDate = std::forward<LastUsedDateT>(value);
64 template <
typename LastUsedDateT = Aws::Utils::DateTime>
78 template <
typename RegionT = Aws::String>
80 m_regionHasBeenSet =
true;
81 m_region = std::forward<RegionT>(value);
83 template <
typename RegionT = Aws::String>
93 bool m_lastUsedDateHasBeenSet =
false;
94 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