AWS SDK for C++  1.9.129
AWS SDK for C++
Public Member Functions | Static Public Member Functions | Friends | List of all members
Aws::Utils::Xml::XmlDocument Class Reference

#include <XmlSerializer.h>

Public Member Functions

 XmlDocument (const XmlDocument &other)
 XmlDocument (XmlDocument &&doc)
 XmlDocument ()
XmlDocumentoperator= (const XmlDocument &other)
XmlDocumentoperator= (XmlDocument &&other)
 ~XmlDocument ()
XmlNode GetRootElement () const
Aws::String ConvertToString () const
bool WasParseSuccessful () const
Aws::String GetErrorMessage () const

Static Public Member Functions

static XmlDocument CreateFromXmlStream (Aws::IOStream &)
static XmlDocument CreateFromXmlString (const Aws::String &)
static XmlDocument CreateWithRootNode (const Aws::String &)


class XmlNode
class Aws::Utils::Outcome< Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument >, Aws::Client::AWSError< Aws::Client::CoreErrors > >
class Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument >
template<typename T >
class Client::AWSError
class Client::AWSXMLClient

Detailed Description

Container for Xml Document as a whole. All nodes have a reference to their parent document. Any changes you make to the nodes will be reflected here.

Definition at line 155 of file XmlSerializer.h.

Constructor & Destructor Documentation

◆ XmlDocument() [1/3]

Aws::Utils::Xml::XmlDocument::XmlDocument ( const XmlDocument other)

move document memory

◆ XmlDocument() [2/3]

Aws::Utils::Xml::XmlDocument::XmlDocument ( XmlDocument &&  doc)

◆ XmlDocument() [3/3]

Aws::Utils::Xml::XmlDocument::XmlDocument ( )

◆ ~XmlDocument()

Aws::Utils::Xml::XmlDocument::~XmlDocument ( )

Member Function Documentation

◆ ConvertToString()

Aws::String Aws::Utils::Xml::XmlDocument::ConvertToString ( ) const

Convert entire document to string. Use this if you for example, want to save the document to a file.

◆ CreateFromXmlStream()

static XmlDocument Aws::Utils::Xml::XmlDocument::CreateFromXmlStream ( Aws::IOStream )

Parses the stream into an XMLDocument

◆ CreateFromXmlString()

static XmlDocument Aws::Utils::Xml::XmlDocument::CreateFromXmlString ( const Aws::String )

Parses the string into an XMLDocument

◆ CreateWithRootNode()

static XmlDocument Aws::Utils::Xml::XmlDocument::CreateWithRootNode ( const Aws::String )

Creates an empty document with root node name

◆ GetErrorMessage()

Aws::String Aws::Utils::Xml::XmlDocument::GetErrorMessage ( ) const

Returns the error message if the call to CreateFromXml* failed.

◆ GetRootElement()

XmlNode Aws::Utils::Xml::XmlDocument::GetRootElement ( ) const

Get root element of the document

◆ operator=() [1/2]

XmlDocument& Aws::Utils::Xml::XmlDocument::operator= ( const XmlDocument other)

◆ operator=() [2/2]

XmlDocument& Aws::Utils::Xml::XmlDocument::operator= ( XmlDocument &&  other)

◆ WasParseSuccessful()

bool Aws::Utils::Xml::XmlDocument::WasParseSuccessful ( ) const

Returns true if the call to CreateFromXml* was successful, otherwise false. if this returns false, you can call GetErrorMessage() to see details.

Friends And Related Function Documentation

◆ Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument >

Definition at line 205 of file XmlSerializer.h.

◆ Aws::Utils::Outcome< Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument >, Aws::Client::AWSError< Aws::Client::CoreErrors > >

Definition at line 205 of file XmlSerializer.h.

◆ Client::AWSError

template<typename T >
friend class Client::AWSError

Definition at line 211 of file XmlSerializer.h.

◆ Client::AWSXMLClient

friend class Client::AWSXMLClient

Definition at line 212 of file XmlSerializer.h.

◆ XmlNode

friend class XmlNode

Definition at line 205 of file XmlSerializer.h.

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