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>
48 template<
typename PolicyArnT = Aws::String>
49 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
50 template<
typename PolicyArnT = Aws::String>
60 template<
typename RolesT = Aws::Vector<Aws::String>>
61 void SetRoles(RolesT&& value) { m_rolesHasBeenSet =
true; m_roles = std::forward<RolesT>(value); }
62 template<
typename RolesT = Aws::Vector<Aws::String>>
64 template<
typename RolesT = Aws::String>
74 template<
typename GroupsT = Aws::Vector<Aws::String>>
75 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
76 template<
typename GroupsT = Aws::Vector<Aws::String>>
78 template<
typename GroupsT = Aws::String>
88 template<
typename UsersT = Aws::Vector<Aws::String>>
89 void SetUsers(UsersT&& value) { m_usersHasBeenSet =
true; m_users = std::forward<UsersT>(value); }
90 template<
typename UsersT = Aws::Vector<Aws::String>>
92 template<
typename UsersT = Aws::String>
98 bool m_policyArnHasBeenSet =
false;
101 bool m_rolesHasBeenSet =
false;
104 bool m_groupsHasBeenSet =
false;
107 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