16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_NAMESPACES_SYSTEMNAMESPACE_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_NAMESPACES_SYSTEMNAMESPACE_H_ 21 #include <rapidjson/document.h> 26 namespace sampleApplications {
27 namespace ipcServerSampleApp {
29 namespace IPCNamespaces {
131 rapidjson::Document messageDocument(&
alloc());
143 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_NAMESPACES_SYSTEMNAMESPACE_H_ Definition: SystemNamespace.h:104
static const char IPC_MSG_NAME_SET_AUTH_STATE[]
The message name for setAuthorizationState.
Definition: SystemNamespace.h:44
Message & addMemberInPayload(const std::string &name, const std::string &value)
Definition: Message.h:101
static const char IPC_MSG_LOCALES_TAG[]
The locales json key in the message.
Definition: SystemNamespace.h:50
static const char IPC_MSG_AUTH_CODE_TAG[]
The auth code json key in the message.
Definition: SystemNamespace.h:56
::std::string string
Definition: gtest-port.h:1097
CompleteAuthorizationMessage(const std::string &url, const std::string &code, const std::string &authClientId)
Definition: SystemNamespace.h:74
static const char IPC_MSG_CLIENT_ID_TAG[]
The clientId json key in the message.
Definition: SystemNamespace.h:59
Definition: SystemNamespace.h:87
Definition: SystemNamespace.h:65
Message(const std::string &nameSpace, const int version, const std::string &name)
Definition: Message.h:64
auto alloc() -> decltype(mDocument.GetAllocator())
Definition: Message.h:227
static const char IPC_MSG_NAMESPACE_SYSTEM[]
The namespace namespace for System.
Definition: SystemNamespace.h:32
Definition: SystemNamespace.h:121
Message & setPayload(rapidjson::Value &&payload)
Definition: Message.h:218
bool Value(const T &value, M matcher)
Definition: gmock-matchers.h:4347
static const char IPC_MSG_AUTH_URL_TAG[]
The auth url json key in the message.
Definition: SystemNamespace.h:53
Message & addPayload()
Definition: Message.h:208
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
SetAuthorizationStateMessage(const std::string &authorizationState)
Definition: SystemNamespace.h:94
SetAlexaStateMessage(const std::string &alexaState)
Definition: SystemNamespace.h:111
SetLocalesMessage(const std::string &localeStr)
Definition: SystemNamespace.h:128
static const char IPC_MSG_NAME_SET_ALEXA_STATE[]
The message name for setAlexaState.
Definition: SystemNamespace.h:41
Message & setStateInPayload(const std::string &state)
Definition: Message.h:148
static const int IPC_MSG_VERSION_SYSTEM(1)
The namespace version for System.
static const char IPC_MSG_NAME_COMPLETE_AUTH[]
The message name for completeAuthorization.
Definition: SystemNamespace.h:38
const T & move(const T &t)
Definition: gtest-port.h:1317
static const char IPC_MSG_NAME_SET_LOCALES[]
The message name for setLocales.
Definition: SystemNamespace.h:47