7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/grafana/ManagedGrafana_EXPORTS.h>
20namespace ManagedGrafana {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename CreatedAtT = Aws::Utils::DateTime>
80 m_createdAtHasBeenSet =
true;
81 m_createdAt = std::forward<CreatedAtT>(value);
83 template <
typename CreatedAtT = Aws::Utils::DateTime>
96 template <
typename ExpiresAtT = Aws::Utils::DateTime>
98 m_expiresAtHasBeenSet =
true;
99 m_expiresAt = std::forward<ExpiresAtT>(value);
101 template <
typename ExpiresAtT = Aws::Utils::DateTime>
114 template <
typename LastUsedAtT = Aws::Utils::DateTime>
116 m_lastUsedAtHasBeenSet =
true;
117 m_lastUsedAt = std::forward<LastUsedAtT>(value);
119 template <
typename LastUsedAtT = Aws::Utils::DateTime>
135 bool m_idHasBeenSet =
false;
136 bool m_nameHasBeenSet =
false;
137 bool m_createdAtHasBeenSet =
false;
138 bool m_expiresAtHasBeenSet =
false;
139 bool m_lastUsedAtHasBeenSet =
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