AWS SDK for C++  1.9.109
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::UserData Class Reference

#include <UserData.h>

Public Member Functions

 UserData ()
 
 UserData (const Aws::Utils::Xml::XmlNode &xmlNode)
 
UserDataoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetData () const
 
bool DataHasBeenSet () const
 
void SetData (const Aws::String &value)
 
void SetData (Aws::String &&value)
 
void SetData (const char *value)
 
UserDataWithData (const Aws::String &value)
 
UserDataWithData (Aws::String &&value)
 
UserDataWithData (const char *value)
 

Detailed Description

Describes the user data for an instance.

See Also:

AWS API Reference

Definition at line 31 of file UserData.h.

Constructor & Destructor Documentation

◆ UserData() [1/2]

Aws::EC2::Model::UserData::UserData ( )

◆ UserData() [2/2]

Aws::EC2::Model::UserData::UserData ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ DataHasBeenSet()

bool Aws::EC2::Model::UserData::DataHasBeenSet ( ) const
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 54 of file UserData.h.

◆ GetData()

const Aws::String& Aws::EC2::Model::UserData::GetData ( ) const
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 47 of file UserData.h.

◆ operator=()

UserData& Aws::EC2::Model::UserData::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::UserData::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::UserData::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetData() [1/3]

void Aws::EC2::Model::UserData::SetData ( Aws::String &&  value)
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 68 of file UserData.h.

◆ SetData() [2/3]

void Aws::EC2::Model::UserData::SetData ( const Aws::String value)
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 61 of file UserData.h.

◆ SetData() [3/3]

void Aws::EC2::Model::UserData::SetData ( const char *  value)
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 75 of file UserData.h.

◆ WithData() [1/3]

UserData& Aws::EC2::Model::UserData::WithData ( Aws::String &&  value)
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 89 of file UserData.h.

◆ WithData() [2/3]

UserData& Aws::EC2::Model::UserData::WithData ( const Aws::String value)
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 82 of file UserData.h.

◆ WithData() [3/3]

UserData& Aws::EC2::Model::UserData::WithData ( const char *  value)
inline

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Definition at line 96 of file UserData.h.


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