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>
76 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
97 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
105 bool m_lastUsedDateHasBeenSet =
false;
108 bool m_serviceNameHasBeenSet =
false;
111 bool m_regionHasBeenSet =
false;
AccessKeyLastUsed & WithLastUsedDate(const Aws::Utils::DateTime &value)
AccessKeyLastUsed & WithRegion(const Aws::String &value)
void SetLastUsedDate(const Aws::Utils::DateTime &value)
AccessKeyLastUsed & WithRegion(Aws::String &&value)
void SetRegion(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRegion(const char *value)
bool ServiceNameHasBeenSet() const
void SetServiceName(Aws::String &&value)
void SetServiceName(const Aws::String &value)
const Aws::String & GetRegion() const
AccessKeyLastUsed & WithRegion(const char *value)
AccessKeyLastUsed & WithServiceName(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetLastUsedDate() const
void SetServiceName(const char *value)
AccessKeyLastUsed & WithServiceName(const char *value)
bool LastUsedDateHasBeenSet() const
bool RegionHasBeenSet() const
AWS_IAM_API AccessKeyLastUsed & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessKeyLastUsed & WithLastUsedDate(Aws::Utils::DateTime &&value)
AWS_IAM_API AccessKeyLastUsed(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessKeyLastUsed & WithServiceName(const Aws::String &value)
const Aws::String & GetServiceName() const
AWS_IAM_API AccessKeyLastUsed()
void SetLastUsedDate(Aws::Utils::DateTime &&value)
void SetRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream