7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename PolicyArnT = Aws::String>
44 m_policyArnHasBeenSet =
true;
45 m_policyArn = std::forward<PolicyArnT>(value);
47 template <
typename PolicyArnT = Aws::String>
60 template <
typename RolesT = Aws::Vector<Aws::String>>
62 m_rolesHasBeenSet =
true;
63 m_roles = std::forward<RolesT>(value);
65 template <
typename RolesT = Aws::Vector<Aws::String>>
67 SetRoles(std::forward<RolesT>(value));
70 template <
typename RolesT = Aws::String>
72 m_rolesHasBeenSet =
true;
73 m_roles.emplace_back(std::forward<RolesT>(value));
84 template <
typename GroupsT = Aws::Vector<Aws::String>>
86 m_groupsHasBeenSet =
true;
87 m_groups = std::forward<GroupsT>(value);
89 template <
typename GroupsT = Aws::Vector<Aws::String>>
94 template <
typename GroupsT = Aws::String>
96 m_groupsHasBeenSet =
true;
97 m_groups.emplace_back(std::forward<GroupsT>(value));
108 template <
typename UsersT = Aws::Vector<Aws::String>>
110 m_usersHasBeenSet =
true;
111 m_users = std::forward<UsersT>(value);
113 template <
typename UsersT = Aws::Vector<Aws::String>>
115 SetUsers(std::forward<UsersT>(value));
118 template <
typename UsersT = Aws::String>
120 m_usersHasBeenSet =
true;
121 m_users.emplace_back(std::forward<UsersT>(value));
133 bool m_policyArnHasBeenSet =
false;
134 bool m_rolesHasBeenSet =
false;
135 bool m_groupsHasBeenSet =
false;
136 bool m_usersHasBeenSet =
false;
AWS_BUDGETS_API IamActionDefinition()=default
bool PolicyArnHasBeenSet() const
IamActionDefinition & AddRoles(RolesT &&value)
bool GroupsHasBeenSet() const
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroups(GroupsT &&value)
IamActionDefinition & WithPolicyArn(PolicyArnT &&value)
const Aws::String & GetPolicyArn() const
IamActionDefinition & AddUsers(UsersT &&value)
const Aws::Vector< Aws::String > & GetGroups() const
const Aws::Vector< Aws::String > & GetRoles() const
bool RolesHasBeenSet() const
const Aws::Vector< Aws::String > & GetUsers() const
IamActionDefinition & WithGroups(GroupsT &&value)
AWS_BUDGETS_API IamActionDefinition(Aws::Utils::Json::JsonView jsonValue)
IamActionDefinition & AddGroups(GroupsT &&value)
AWS_BUDGETS_API IamActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsers(UsersT &&value)
bool UsersHasBeenSet() const
IamActionDefinition & WithUsers(UsersT &&value)
IamActionDefinition & WithRoles(RolesT &&value)
void SetPolicyArn(PolicyArnT &&value)
void SetRoles(RolesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue