AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::avsCommon::avs::MessageRequest::NamedReader Struct Reference

A struct to hold an AttachmentReader alongside its name. More...

#include <MessageRequest.h>

Public Member Functions

 NamedReader (const std::string &name, std::shared_ptr< avsCommon::avs::attachment::AttachmentReader > reader)
 

Public Attributes

std::string name
 The name of this message part. More...
 
std::shared_ptr< avsCommon::avs::attachment::AttachmentReaderreader
 The AttachmentReader contains the data of this message part. More...
 

Detailed Description

A struct to hold an AttachmentReader alongside its name.

Constructor & Destructor Documentation

◆ NamedReader()

alexaClientSDK::avsCommon::avs::MessageRequest::NamedReader::NamedReader ( const std::string &  name,
std::shared_ptr< avsCommon::avs::attachment::AttachmentReader reader 
)
inline

Constructor.

Parameters
nameThe name of the message part.
readerThe AttachmentReader holding the data for this part.

Member Data Documentation

◆ name

std::string alexaClientSDK::avsCommon::avs::MessageRequest::NamedReader::name

The name of this message part.

◆ reader

std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> alexaClientSDK::avsCommon::avs::MessageRequest::NamedReader::reader

The AttachmentReader contains the data of this message part.


The documentation for this struct was generated from the following file:

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