7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/StatusType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lightsail/model/AccessKeyLastUsed.h>
63 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
79 inline void SetSecretAccessKey(
const char* value) { m_secretAccessKeyHasBeenSet =
true; m_secretAccessKey.assign(value); }
129 bool m_accessKeyIdHasBeenSet =
false;
132 bool m_secretAccessKeyHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
138 bool m_createdAtHasBeenSet =
false;
141 bool m_lastUsedHasBeenSet =
false;
AccessKey & WithCreatedAt(const Aws::Utils::DateTime &value)
const StatusType & GetStatus() const
void SetSecretAccessKey(const Aws::String &value)
void SetSecretAccessKey(const char *value)
AWS_LIGHTSAIL_API AccessKey()
AWS_LIGHTSAIL_API AccessKey(Aws::Utils::Json::JsonView jsonValue)
bool AccessKeyIdHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AccessKey & WithSecretAccessKey(Aws::String &&value)
AccessKey & WithSecretAccessKey(const Aws::String &value)
const AccessKeyLastUsed & GetLastUsed() const
void SetLastUsed(AccessKeyLastUsed &&value)
AccessKey & WithSecretAccessKey(const char *value)
bool LastUsedHasBeenSet() const
void SetLastUsed(const AccessKeyLastUsed &value)
AccessKey & WithStatus(const StatusType &value)
AccessKey & WithAccessKeyId(const Aws::String &value)
void SetAccessKeyId(Aws::String &&value)
void SetStatus(const StatusType &value)
bool StatusHasBeenSet() const
AccessKey & WithStatus(StatusType &&value)
bool SecretAccessKeyHasBeenSet() const
void SetAccessKeyId(const Aws::String &value)
AccessKey & WithAccessKeyId(const char *value)
AccessKey & WithLastUsed(AccessKeyLastUsed &&value)
const Aws::String & GetSecretAccessKey() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetAccessKeyId(const char *value)
void SetStatus(StatusType &&value)
AWS_LIGHTSAIL_API AccessKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessKey & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetAccessKeyId() const
bool CreatedAtHasBeenSet() const
AccessKey & WithLastUsed(const AccessKeyLastUsed &value)
const Aws::Utils::DateTime & GetCreatedAt() const
AccessKey & WithAccessKeyId(Aws::String &&value)
void SetSecretAccessKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue