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
48 template<
typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
50 template<
typename CreatedAtT = Aws::Utils::DateTime>
60 template<
typename ExpiresAtT = Aws::Utils::DateTime>
61 void SetExpiresAt(ExpiresAtT&& value) { m_expiresAtHasBeenSet =
true; m_expiresAt = std::forward<ExpiresAtT>(value); }
62 template<
typename ExpiresAtT = Aws::Utils::DateTime>
72 template<
typename IdT = Aws::String>
73 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
74 template<
typename IdT = Aws::String>
84 template<
typename LastUsedAtT = Aws::Utils::DateTime>
85 void SetLastUsedAt(LastUsedAtT&& value) { m_lastUsedAtHasBeenSet =
true; m_lastUsedAt = std::forward<LastUsedAtT>(value); }
86 template<
typename LastUsedAtT = Aws::Utils::DateTime>
96 template<
typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
98 template<
typename NameT = Aws::String>
104 bool m_createdAtHasBeenSet =
false;
107 bool m_expiresAtHasBeenSet =
false;
110 bool m_idHasBeenSet =
false;
113 bool m_lastUsedAtHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
void SetName(NameT &&value)
ServiceAccountTokenSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ExpiresAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUsedAt() const
bool LastUsedAtHasBeenSet() const
void SetExpiresAt(ExpiresAtT &&value)
ServiceAccountTokenSummary & WithName(NameT &&value)
ServiceAccountTokenSummary & WithExpiresAt(ExpiresAtT &&value)
ServiceAccountTokenSummary & WithId(IdT &&value)
void SetLastUsedAt(LastUsedAtT &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummary()=default
const Aws::Utils::DateTime & GetExpiresAt() const
bool CreatedAtHasBeenSet() const
ServiceAccountTokenSummary & WithLastUsedAt(LastUsedAtT &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue