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>
58 template<
typename LastUsedDateT = Aws::Utils::DateTime>
59 void SetLastUsedDate(LastUsedDateT&& value) { m_lastUsedDateHasBeenSet =
true; m_lastUsedDate = std::forward<LastUsedDateT>(value); }
60 template<
typename LastUsedDateT = Aws::Utils::DateTime>
75 template<
typename ServiceNameT = Aws::String>
76 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
77 template<
typename ServiceNameT = Aws::String>
94 template<
typename RegionT = Aws::String>
95 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
96 template<
typename RegionT = Aws::String>
102 bool m_lastUsedDateHasBeenSet =
false;
105 bool m_serviceNameHasBeenSet =
false;
108 bool m_regionHasBeenSet =
false;
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccessKeyLastUsed & WithLastUsedDate(LastUsedDateT &&value)
bool ServiceNameHasBeenSet() const
void SetServiceName(ServiceNameT &&value)
const Aws::String & GetRegion() const
void SetRegion(RegionT &&value)
AccessKeyLastUsed & WithServiceName(ServiceNameT &&value)
AccessKeyLastUsed & WithRegion(RegionT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetLastUsedDate() const
bool LastUsedDateHasBeenSet() const
bool RegionHasBeenSet() const
AWS_IAM_API AccessKeyLastUsed & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLastUsedDate(LastUsedDateT &&value)
AWS_IAM_API AccessKeyLastUsed(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API AccessKeyLastUsed()=default
const Aws::String & GetServiceName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream