7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
45 template <
typename LastUsedDateT = Aws::Utils::DateTime>
47 m_lastUsedDateHasBeenSet =
true;
48 m_lastUsedDate = std::forward<LastUsedDateT>(value);
50 template <
typename LastUsedDateT = Aws::Utils::DateTime>
65 template <
typename RegionT = Aws::String>
67 m_regionHasBeenSet =
true;
68 m_region = std::forward<RegionT>(value);
70 template <
typename RegionT = Aws::String>
85 template <
typename ServiceNameT = Aws::String>
87 m_serviceNameHasBeenSet =
true;
88 m_serviceName = std::forward<ServiceNameT>(value);
90 template <
typename ServiceNameT = Aws::String>
98 bool m_lastUsedDateHasBeenSet =
false;
101 bool m_regionHasBeenSet =
false;
104 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