7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ManagedGrafana
73 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
74 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
100 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
108 bool m_createdAtHasBeenSet =
false;
111 bool m_expiresAtHasBeenSet =
false;
114 bool m_idHasBeenSet =
false;
117 bool m_lastUsedAtHasBeenSet =
false;
120 bool m_nameHasBeenSet =
false;
ServiceAccountTokenSummary & WithId(const Aws::String &value)
ServiceAccountTokenSummary & WithExpiresAt(Aws::Utils::DateTime &&value)
void SetExpiresAt(Aws::Utils::DateTime &&value)
ServiceAccountTokenSummary & WithName(const char *value)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummary()
const Aws::Utils::DateTime & GetCreatedAt() const
bool ExpiresAtHasBeenSet() const
void SetId(const Aws::String &value)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUsedAt() const
bool LastUsedAtHasBeenSet() const
ServiceAccountTokenSummary & WithExpiresAt(const Aws::Utils::DateTime &value)
ServiceAccountTokenSummary & WithName(const Aws::String &value)
ServiceAccountTokenSummary & WithLastUsedAt(Aws::Utils::DateTime &&value)
ServiceAccountTokenSummary & WithId(const char *value)
ServiceAccountTokenSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
bool IdHasBeenSet() const
void SetName(const Aws::String &value)
void SetId(Aws::String &&value)
ServiceAccountTokenSummary & WithName(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
void SetLastUsedAt(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
ServiceAccountTokenSummary & WithLastUsedAt(const Aws::Utils::DateTime &value)
void SetLastUsedAt(Aws::Utils::DateTime &&value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetExpiresAt() const
bool CreatedAtHasBeenSet() const
void SetName(const char *value)
ServiceAccountTokenSummary & WithId(Aws::String &&value)
void SetExpiresAt(const Aws::Utils::DateTime &value)
ServiceAccountTokenSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummary(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue