7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/UpdateAction.h>
9#include <aws/grafana/model/Role.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/grafana/model/User.h>
24namespace ManagedGrafana
64 inline void SetRole(
const Role& value) { m_roleHasBeenSet =
true; m_role = value; }
65 inline void SetRole(
Role&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
87 bool m_actionHasBeenSet =
false;
90 bool m_roleHasBeenSet =
false;
93 bool m_usersHasBeenSet =
false;
void SetRole(Role &&value)
void SetRole(const Role &value)
AWS_MANAGEDGRAFANA_API UpdateInstruction()
void SetAction(UpdateAction &&value)
UpdateInstruction & WithAction(UpdateAction &&value)
bool ActionHasBeenSet() const
UpdateInstruction & WithAction(const UpdateAction &value)
void SetAction(const UpdateAction &value)
UpdateInstruction & WithRole(const Role &value)
AWS_MANAGEDGRAFANA_API UpdateInstruction(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateInstruction & WithUsers(const Aws::Vector< User > &value)
UpdateInstruction & WithUsers(Aws::Vector< User > &&value)
bool UsersHasBeenSet() const
UpdateInstruction & AddUsers(const User &value)
void SetUsers(Aws::Vector< User > &&value)
UpdateInstruction & AddUsers(User &&value)
void SetUsers(const Aws::Vector< User > &value)
const Role & GetRole() const
const UpdateAction & GetAction() const
bool RoleHasBeenSet() const
AWS_MANAGEDGRAFANA_API UpdateInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< User > & GetUsers() const
UpdateInstruction & WithRole(Role &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue