7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename LastUsedDateT = Aws::Utils::DateTime>
52 void SetLastUsedDate(LastUsedDateT&& value) { m_lastUsedDateHasBeenSet =
true; m_lastUsedDate = std::forward<LastUsedDateT>(value); }
53 template<
typename LastUsedDateT = Aws::Utils::DateTime>
65 template<
typename RegionT = Aws::String>
66 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
67 template<
typename RegionT = Aws::String>
79 template<
typename ServiceNameT = Aws::String>
80 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
81 template<
typename ServiceNameT = Aws::String>
87 bool m_lastUsedDateHasBeenSet =
false;
90 bool m_regionHasBeenSet =
false;
93 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)
bool RegionHasBeenSet() const
void SetServiceName(ServiceNameT &&value)
AccessKeyLastUsed & WithLastUsedDate(LastUsedDateT &&value)
const Aws::String & GetRegion() const
AccessKeyLastUsed & WithServiceName(ServiceNameT &&value)
AWS_LIGHTSAIL_API AccessKeyLastUsed(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API AccessKeyLastUsed()=default
void SetRegion(RegionT &&value)
bool ServiceNameHasBeenSet() const
void SetLastUsedDate(LastUsedDateT &&value)
const Aws::Utils::DateTime & GetLastUsedDate() const
const Aws::String & GetServiceName() const
AccessKeyLastUsed & WithRegion(RegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue