7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/grafana/ManagedGrafana_EXPORTS.h>
9#include <aws/grafana/model/Role.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));
79 template <
typename IsDisabledT = Aws::String>
81 m_isDisabledHasBeenSet =
true;
82 m_isDisabled = std::forward<IsDisabledT>(value);
84 template <
typename IsDisabledT = Aws::String>
99 m_grafanaRoleHasBeenSet =
true;
100 m_grafanaRole = value;
115 bool m_idHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
117 bool m_isDisabledHasBeenSet =
false;
118 bool m_grafanaRoleHasBeenSet =
false;
bool IdHasBeenSet() const
void SetIsDisabled(IsDisabledT &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountSummary()=default
bool IsDisabledHasBeenSet() const
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
Role GetGrafanaRole() const
AWS_MANAGEDGRAFANA_API ServiceAccountSummary(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool GrafanaRoleHasBeenSet() const
const Aws::String & GetId() const
void SetName(NameT &&value)
ServiceAccountSummary & WithGrafanaRole(Role value)
ServiceAccountSummary & WithName(NameT &&value)
ServiceAccountSummary & WithIsDisabled(IsDisabledT &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGrafanaRole(Role value)
const Aws::String & GetIsDisabled() const
ServiceAccountSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue