AWS SDK for C++
0.12.9
AWS SDK for C++
|
#include <URI.h>
Public Member Functions | |
URI () | |
URI (const Aws::String &) | |
URI (const char *) | |
URI & | operator= (const Aws::String &) |
URI & | operator= (const char *) |
bool | operator== (const URI &) const |
bool | operator== (const Aws::String &) const |
bool | operator== (const char *) const |
bool | operator!= (const URI &) const |
bool | operator!= (const Aws::String &) const |
bool | operator!= (const char *) const |
Scheme | GetScheme () const |
void | SetScheme (Scheme value) |
const Aws::String & | GetAuthority () const |
void | SetAuthority (const Aws::String &value) |
uint16_t | GetPort () const |
void | SetPort (uint16_t value) |
const Aws::String & | GetPath () const |
Aws::String | GetURLEncodedPath () const |
void | SetPath (const Aws::String &value) |
const Aws::String & | GetQueryString () const |
Aws::String | GetFormParameters () const |
void | CanonicalizeQueryString () |
QueryStringParameterCollection | GetQueryStringParameters (bool decode=true) const |
void | AddQueryStringParameter (const char *key, const Aws::String &value) |
Aws::String | GetURIString (bool includeQueryString=true) const |
Static Public Member Functions | |
static Aws::String | URLEncodePath (const Aws::String &path) |
class modeling universal resource identifier, but implemented for http
Aws::Http::URI::URI | ( | ) |
Defaults to http and port 80
Aws::Http::URI::URI | ( | const Aws::String & | ) |
Parses string and sets uri fields
Aws::Http::URI::URI | ( | const char * | ) |
Parses string and sets uri fields
void Aws::Http::URI::AddQueryStringParameter | ( | const char * | key, |
const Aws::String & | value | ||
) |
Adds query string parameter to underlying query string.
void Aws::Http::URI::CanonicalizeQueryString | ( | ) |
Cannonicalizes the query string.
|
inline |
Aws::String Aws::Http::URI::GetFormParameters | ( | ) | const |
|
inline |
|
inline |
|
inline |
QueryStringParameterCollection Aws::Http::URI::GetQueryStringParameters | ( | bool | decode = true | ) | const |
parses query string and returns url decoded key/value mappings from it. Spaces and all url encoded values will not be encoded.
|
inline |
Aws::String Aws::Http::URI::GetURIString | ( | bool | includeQueryString = true | ) | const |
Converts the URI to a String usable for its context. e.g. an http request.
|
inline |
bool Aws::Http::URI::operator!= | ( | const URI & | ) | const |
bool Aws::Http::URI::operator!= | ( | const Aws::String & | ) | const |
bool Aws::Http::URI::operator!= | ( | const char * | ) | const |
URI& Aws::Http::URI::operator= | ( | const Aws::String & | ) |
URI& Aws::Http::URI::operator= | ( | const char * | ) |
bool Aws::Http::URI::operator== | ( | const URI & | ) | const |
bool Aws::Http::URI::operator== | ( | const Aws::String & | ) | const |
bool Aws::Http::URI::operator== | ( | const char * | ) | const |
|
inline |
void Aws::Http::URI::SetPath | ( | const Aws::String & | value | ) |
Sets the path portion of the uri. URL encodes it if needed
|
inline |
void Aws::Http::URI::SetScheme | ( | Scheme | value | ) |
Sets scheme, if the port is incompaitible with this scheme, the port will automatically be set as well.
|
static |
URLEncodes the path portions of path (doesn't encode the "/" portion)