7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/ManagedGrafanaRequest.h>
9#include <aws/grafana/model/Role.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace ManagedGrafana
45 inline void SetGrafanaRole(
const Role& value) { m_grafanaRoleHasBeenSet =
true; m_grafanaRole = value; }
46 inline void SetGrafanaRole(
Role&& value) { m_grafanaRoleHasBeenSet =
true; m_grafanaRole = std::move(value); }
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
82 bool m_grafanaRoleHasBeenSet =
false;
85 bool m_nameHasBeenSet =
false;
88 bool m_workspaceIdHasBeenSet =
false;
const Role & GetGrafanaRole() const
CreateWorkspaceServiceAccountRequest & WithWorkspaceId(const char *value)
bool NameHasBeenSet() const
CreateWorkspaceServiceAccountRequest & WithName(Aws::String &&value)
void SetGrafanaRole(Role &&value)
AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override
const Aws::String & GetWorkspaceId() const
virtual const char * GetServiceRequestName() const override
CreateWorkspaceServiceAccountRequest & WithWorkspaceId(const Aws::String &value)
CreateWorkspaceServiceAccountRequest & WithGrafanaRole(Role &&value)
void SetWorkspaceId(const Aws::String &value)
CreateWorkspaceServiceAccountRequest & WithName(const char *value)
void SetName(Aws::String &&value)
void SetWorkspaceId(Aws::String &&value)
const Aws::String & GetName() const
bool WorkspaceIdHasBeenSet() const
CreateWorkspaceServiceAccountRequest & WithName(const Aws::String &value)
AWS_MANAGEDGRAFANA_API CreateWorkspaceServiceAccountRequest()
CreateWorkspaceServiceAccountRequest & WithGrafanaRole(const Role &value)
void SetWorkspaceId(const char *value)
bool GrafanaRoleHasBeenSet() const
void SetName(const char *value)
void SetName(const Aws::String &value)
void SetGrafanaRole(const Role &value)
CreateWorkspaceServiceAccountRequest & WithWorkspaceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String