16 #ifndef ALEXA_CLIENT_SDK_SETTINGS_INCLUDE_SETTINGS_STORAGE_SQLITEDEVICESETTINGSTORAGE_H_ 17 #define ALEXA_CLIENT_SDK_SETTINGS_INCLUDE_SETTINGS_STORAGE_SQLITEDEVICESETTINGSTORAGE_H_ 47 const std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>& configurationRoot);
57 static std::unique_ptr<SQLiteDeviceSettingStorage>
create(
68 void close()
override;
70 bool storeSettings(
const std::vector<std::tuple<std::string, std::string, SettingStatus>>& data)
override;
89 bool createSettingsTable();
102 #endif // ALEXA_CLIENT_SDK_SETTINGS_INCLUDE_SETTINGS_STORAGE_SQLITEDEVICESETTINGSTORAGE_H_ Definition: ConfigurationNode.h:71
bool storeSettings(const std::vector< std::tuple< std::string, std::string, SettingStatus >> &data) override
::std::string string
Definition: gtest-port.h:1097
bool storeSetting(const std::string &key, const std::string &value, SettingStatus status) override
Definition: DeviceSettingStorageInterface.h:36
bool updateSettingStatus(const std::string &key, SettingStatus status) override
std::pair< SettingStatus, std::string > SettingStatusAndValue
Definition: DeviceSettingStorageInterface.h:43
bool deleteSetting(const std::string &key) override
static std::shared_ptr< DeviceSettingStorageInterface > createDeviceSettingStorageInterface(const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &configurationRoot)
SettingStatus
Definition: SettingStatus.h:25
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: SQLiteDatabase.h:36
static std::unique_ptr< SQLiteDeviceSettingStorage > create(const avsCommon::utils::configuration::ConfigurationNode &configurationRoot)
Definition: SQLiteDeviceSettingStorage.h:37
~SQLiteDeviceSettingStorage()
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58
SettingStatusAndValue loadSetting(const std::string &key) override