7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
67 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
83 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
91 bool m_lastUsedDateHasBeenSet =
false;
94 bool m_regionHasBeenSet =
false;
97 bool m_serviceNameHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastUsedDateHasBeenSet() const
AWS_LIGHTSAIL_API AccessKeyLastUsed & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessKeyLastUsed & WithRegion(Aws::String &&value)
AccessKeyLastUsed & WithRegion(const char *value)
AccessKeyLastUsed & WithServiceName(const char *value)
bool RegionHasBeenSet() const
void SetServiceName(const char *value)
const Aws::String & GetRegion() const
void SetServiceName(Aws::String &&value)
void SetRegion(Aws::String &&value)
void SetLastUsedDate(const Aws::Utils::DateTime &value)
AccessKeyLastUsed & WithRegion(const Aws::String &value)
AWS_LIGHTSAIL_API AccessKeyLastUsed(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(const Aws::String &value)
AccessKeyLastUsed & WithLastUsedDate(Aws::Utils::DateTime &&value)
void SetRegion(const char *value)
void SetRegion(const Aws::String &value)
AccessKeyLastUsed & WithServiceName(Aws::String &&value)
AccessKeyLastUsed & WithServiceName(const Aws::String &value)
AWS_LIGHTSAIL_API AccessKeyLastUsed()
void SetLastUsedDate(Aws::Utils::DateTime &&value)
bool ServiceNameHasBeenSet() const
const Aws::Utils::DateTime & GetLastUsedDate() const
const Aws::String & GetServiceName() const
AccessKeyLastUsed & WithLastUsedDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue