7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace LocationService
131 bool m_allowActionsHasBeenSet =
false;
134 bool m_allowResourcesHasBeenSet =
false;
137 bool m_allowReferersHasBeenSet =
false;
ApiKeyRestrictions & WithAllowActions(Aws::Vector< Aws::String > &&value)
void SetAllowResources(Aws::Vector< Aws::String > &&value)
ApiKeyRestrictions & WithAllowReferers(Aws::Vector< Aws::String > &&value)
void SetAllowActions(const Aws::Vector< Aws::String > &value)
void SetAllowReferers(const Aws::Vector< Aws::String > &value)
ApiKeyRestrictions & WithAllowActions(const Aws::Vector< Aws::String > &value)
ApiKeyRestrictions & WithAllowReferers(const Aws::Vector< Aws::String > &value)
void SetAllowReferers(Aws::Vector< Aws::String > &&value)
bool AllowResourcesHasBeenSet() const
ApiKeyRestrictions & AddAllowReferers(const char *value)
ApiKeyRestrictions & AddAllowActions(const char *value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ApiKeyRestrictions & AddAllowResources(const Aws::String &value)
ApiKeyRestrictions & WithAllowResources(Aws::Vector< Aws::String > &&value)
AWS_LOCATIONSERVICE_API ApiKeyRestrictions(Aws::Utils::Json::JsonView jsonValue)
ApiKeyRestrictions & AddAllowResources(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowActions() const
const Aws::Vector< Aws::String > & GetAllowReferers() const
ApiKeyRestrictions & AddAllowActions(const Aws::String &value)
void SetAllowResources(const Aws::Vector< Aws::String > &value)
ApiKeyRestrictions & AddAllowActions(Aws::String &&value)
AWS_LOCATIONSERVICE_API ApiKeyRestrictions()
const Aws::Vector< Aws::String > & GetAllowResources() const
ApiKeyRestrictions & AddAllowReferers(Aws::String &&value)
void SetAllowActions(Aws::Vector< Aws::String > &&value)
AWS_LOCATIONSERVICE_API ApiKeyRestrictions & operator=(Aws::Utils::Json::JsonView jsonValue)
ApiKeyRestrictions & AddAllowReferers(const Aws::String &value)
bool AllowReferersHasBeenSet() const
ApiKeyRestrictions & AddAllowResources(const char *value)
bool AllowActionsHasBeenSet() const
ApiKeyRestrictions & WithAllowResources(const Aws::Vector< 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