AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Functions | Variables
EventBuilder.h File Reference
#include <string>
#include <unordered_set>
#include <utility>
#include <AVSCommon/Utils/Optional.h>
#include "AVSCommon/AVS/AVSContext.h"
#include "AVSCommon/AVS/AVSMessageEndpoint.h"
#include "AVSCommon/AVS/AVSMessageHeader.h"
#include "AVSCommon/AVS/CapabilityConfiguration.h"
Include dependency graph for EventBuilder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::avs
 
 alexaClientSDK::avsCommon::avs::constants
 

Functions

const std::pair< std::string, std::string > alexaClientSDK::avsCommon::avs::buildJsonEventString (const std::string &nameSpace, const std::string &eventName, const std::string &dialogRequestIdValue="", const std::string &jsonPayloadValue="{}", const std::string &jsonContext="")
 
std::string alexaClientSDK::avsCommon::avs::buildJsonEventString (const AVSMessageHeader &eventHeader, const utils::Optional< AVSMessageEndpoint > &endpoint, const std::string &jsonPayloadValue, const std::string &jsonContext)
 
std::string alexaClientSDK::avsCommon::avs::buildJsonEventString (const AVSMessageHeader &eventHeader, const utils::Optional< AVSMessageEndpoint > &endpoint=utils::Optional< AVSMessageEndpoint >(), const std::string &jsonPayloadValue="{}", const utils::Optional< AVSContext > &context=utils::Optional< AVSContext >())
 

Variables

static const std::string alexaClientSDK::avsCommon::avs::constants::NAMESPACE_KEY_STRING = "namespace"
 The namespace key in the header of the event. More...
 
static const std::string alexaClientSDK::avsCommon::avs::constants::NAME_KEY_STRING = "name"
 The name key in the header of the event. More...
 
static const std::string alexaClientSDK::avsCommon::avs::constants::HEADER_KEY_STRING = "header"
 The header key in the event. More...
 
static const std::string alexaClientSDK::avsCommon::avs::constants::PAYLOAD_KEY_STRING = "payload"
 The payload key in the event. More...
 

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0