7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ManagedGrafana
58 inline RoleValues&
AddAdmin(
const char* value) { m_adminHasBeenSet =
true; m_admin.push_back(value);
return *
this; }
74 inline RoleValues&
AddEditor(
const char* value) { m_editorHasBeenSet =
true; m_editor.push_back(value);
return *
this; }
79 bool m_adminHasBeenSet =
false;
82 bool m_editorHasBeenSet =
false;
void SetEditor(Aws::Vector< Aws::String > &&value)
bool EditorHasBeenSet() const
RoleValues & AddEditor(const Aws::String &value)
AWS_MANAGEDGRAFANA_API RoleValues()
RoleValues & AddEditor(Aws::String &&value)
RoleValues & AddAdmin(const Aws::String &value)
void SetAdmin(const Aws::Vector< Aws::String > &value)
RoleValues & AddEditor(const char *value)
RoleValues & WithAdmin(const Aws::Vector< Aws::String > &value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
bool AdminHasBeenSet() const
RoleValues & WithAdmin(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAdmin() const
void SetEditor(const Aws::Vector< Aws::String > &value)
RoleValues & AddAdmin(const char *value)
AWS_MANAGEDGRAFANA_API RoleValues & operator=(Aws::Utils::Json::JsonView jsonValue)
RoleValues & AddAdmin(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEditor() const
RoleValues & WithEditor(Aws::Vector< Aws::String > &&value)
RoleValues & WithEditor(const Aws::Vector< Aws::String > &value)
void SetAdmin(Aws::Vector< Aws::String > &&value)
AWS_MANAGEDGRAFANA_API RoleValues(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue