7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
54 template<
typename PrincipalT = Aws::String>
55 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
56 template<
typename PrincipalT = Aws::String>
66 template<
typename ActionsT = Aws::Vector<Aws::String>>
67 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
68 template<
typename ActionsT = Aws::Vector<Aws::String>>
70 template<
typename ActionsT = Aws::String>
71 ResourcePermission&
AddActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions.emplace_back(std::forward<ActionsT>(value));
return *
this; }
76 bool m_principalHasBeenSet =
false;
79 bool m_actionsHasBeenSet =
false;
bool ActionsHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActions(ActionsT &&value)
ResourcePermission & AddActions(ActionsT &&value)
AWS_QUICKSIGHT_API ResourcePermission & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipal(PrincipalT &&value)
bool PrincipalHasBeenSet() const
const Aws::Vector< Aws::String > & GetActions() const
const Aws::String & GetPrincipal() const
ResourcePermission & WithPrincipal(PrincipalT &&value)
AWS_QUICKSIGHT_API ResourcePermission(Aws::Utils::Json::JsonView jsonValue)
ResourcePermission & WithActions(ActionsT &&value)
AWS_QUICKSIGHT_API ResourcePermission()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue