16 #ifndef ALEXA_CLIENT_SDK_SETTINGS_INCLUDE_SETTINGS_STORAGE_DEVICESETTINGSTORAGEINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_SETTINGS_INCLUDE_SETTINGS_STORAGE_DEVICESETTINGSTORAGEINTERFACE_H_ 56 virtual bool open() = 0;
61 virtual void close() = 0;
79 virtual bool storeSettings(
const std::vector<std::tuple<std::string, std::string, SettingStatus>>& data) = 0;
112 #endif // ALEXA_CLIENT_SDK_SETTINGS_INCLUDE_SETTINGS_STORAGE_DEVICESETTINGSTORAGEINTERFACE_H_
virtual bool storeSettings(const std::vector< std::tuple< std::string, std::string, SettingStatus >> &data)=0
virtual ~DeviceSettingStorageInterface()=default
::std::string string
Definition: gtest-port.h:1097
virtual SettingStatusAndValue loadSetting(const std::string &key)=0
virtual bool storeSetting(const std::string &key, const std::string &value, SettingStatus status)=0
Definition: DeviceSettingStorageInterface.h:36
std::pair< SettingStatus, std::string > SettingStatusAndValue
Definition: DeviceSettingStorageInterface.h:43
SettingStatus
Definition: SettingStatus.h:25
virtual bool deleteSetting(const std::string &key)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual bool updateSettingStatus(const std::string &key, SettingStatus status)=0
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58