7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/grafana/ManagedGrafana_EXPORTS.h>
9#include <aws/grafana/model/Role.h>
10#include <aws/grafana/model/UpdateAction.h>
11#include <aws/grafana/model/User.h>
22namespace ManagedGrafana {
46 m_actionHasBeenSet =
true;
63 m_roleHasBeenSet =
true;
79 template <
typename UsersT = Aws::Vector<User>>
81 m_usersHasBeenSet =
true;
82 m_users = std::forward<UsersT>(value);
84 template <
typename UsersT = Aws::Vector<User>>
86 SetUsers(std::forward<UsersT>(value));
89 template <
typename UsersT = User>
91 m_usersHasBeenSet =
true;
92 m_users.emplace_back(std::forward<UsersT>(value));
102 bool m_actionHasBeenSet =
false;
103 bool m_roleHasBeenSet =
false;
104 bool m_usersHasBeenSet =
false;
UpdateInstruction & WithRole(Role value)
bool ActionHasBeenSet() const
AWS_MANAGEDGRAFANA_API UpdateInstruction(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateAction GetAction() const
bool UsersHasBeenSet() const
void SetAction(UpdateAction value)
UpdateInstruction & AddUsers(UsersT &&value)
UpdateInstruction & WithAction(UpdateAction value)
AWS_MANAGEDGRAFANA_API UpdateInstruction()=default
UpdateInstruction & WithUsers(UsersT &&value)
bool RoleHasBeenSet() const
AWS_MANAGEDGRAFANA_API UpdateInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsers(UsersT &&value)
const Aws::Vector< User > & GetUsers() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue