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>
50 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
103 bool m_policyArnHasBeenSet =
false;
106 bool m_rolesHasBeenSet =
false;
109 bool m_groupsHasBeenSet =
false;
112 bool m_usersHasBeenSet =
false;
void SetPolicyArn(const char *value)
void SetRoles(const Aws::Vector< Aws::String > &value)
bool PolicyArnHasBeenSet() const
IamActionDefinition & AddRoles(const Aws::String &value)
IamActionDefinition & WithUsers(const Aws::Vector< Aws::String > &value)
void SetGroups(const Aws::Vector< Aws::String > &value)
IamActionDefinition & WithUsers(Aws::Vector< Aws::String > &&value)
bool GroupsHasBeenSet() const
IamActionDefinition & AddRoles(Aws::String &&value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
IamActionDefinition & WithRoles(Aws::Vector< Aws::String > &&value)
IamActionDefinition & AddGroups(Aws::String &&value)
IamActionDefinition & AddGroups(const Aws::String &value)
const Aws::String & GetPolicyArn() const
IamActionDefinition & WithPolicyArn(const char *value)
IamActionDefinition & WithPolicyArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGroups() const
void SetUsers(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetRoles() const
void SetPolicyArn(Aws::String &&value)
bool RolesHasBeenSet() const
const Aws::Vector< Aws::String > & GetUsers() const
AWS_BUDGETS_API IamActionDefinition(Aws::Utils::Json::JsonView jsonValue)
IamActionDefinition & WithGroups(const Aws::Vector< Aws::String > &value)
IamActionDefinition & AddUsers(const char *value)
IamActionDefinition & AddUsers(const Aws::String &value)
AWS_BUDGETS_API IamActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
IamActionDefinition & WithGroups(Aws::Vector< Aws::String > &&value)
bool UsersHasBeenSet() const
void SetGroups(Aws::Vector< Aws::String > &&value)
void SetUsers(Aws::Vector< Aws::String > &&value)
AWS_BUDGETS_API IamActionDefinition()
void SetRoles(Aws::Vector< Aws::String > &&value)
IamActionDefinition & WithPolicyArn(Aws::String &&value)
IamActionDefinition & AddGroups(const char *value)
IamActionDefinition & AddRoles(const char *value)
IamActionDefinition & AddUsers(Aws::String &&value)
IamActionDefinition & WithRoles(const Aws::Vector< Aws::String > &value)
void SetPolicyArn(const Aws::String &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