7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/Permission.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
71 bool m_permissionHasBeenSet =
false;
74 bool m_resourceIdHasBeenSet =
false;
ResourceAccessPolicy & WithResourceId(Aws::String &&value)
bool PermissionHasBeenSet() const
void SetPermission(Permission &&value)
AWS_GREENGRASS_API ResourceAccessPolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API ResourceAccessPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceIdHasBeenSet() const
void SetResourceId(const char *value)
void SetResourceId(Aws::String &&value)
ResourceAccessPolicy & WithResourceId(const char *value)
const Permission & GetPermission() const
ResourceAccessPolicy & WithPermission(const Permission &value)
void SetPermission(const Permission &value)
ResourceAccessPolicy & WithPermission(Permission &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceId(const Aws::String &value)
ResourceAccessPolicy & WithResourceId(const Aws::String &value)
const Aws::String & GetResourceId() const
AWS_GREENGRASS_API ResourceAccessPolicy()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue