AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::MTurk::Model::Locale Class Reference

#include <Locale.h>

Public Member Functions

 Locale ()
 
 Locale (Aws::Utils::Json::JsonView jsonValue)
 
Localeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetCountry () const
 
bool CountryHasBeenSet () const
 
void SetCountry (const Aws::String &value)
 
void SetCountry (Aws::String &&value)
 
void SetCountry (const char *value)
 
LocaleWithCountry (const Aws::String &value)
 
LocaleWithCountry (Aws::String &&value)
 
LocaleWithCountry (const char *value)
 
const Aws::StringGetSubdivision () const
 
bool SubdivisionHasBeenSet () const
 
void SetSubdivision (const Aws::String &value)
 
void SetSubdivision (Aws::String &&value)
 
void SetSubdivision (const char *value)
 
LocaleWithSubdivision (const Aws::String &value)
 
LocaleWithSubdivision (Aws::String &&value)
 
LocaleWithSubdivision (const char *value)
 

Detailed Description

The Locale data structure represents a geographical region or location.

See Also:

AWS API Reference

Definition at line 32 of file Locale.h.

Constructor & Destructor Documentation

◆ Locale() [1/2]

Aws::MTurk::Model::Locale::Locale ( )

◆ Locale() [2/2]

Aws::MTurk::Model::Locale::Locale ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ CountryHasBeenSet()

bool Aws::MTurk::Model::Locale::CountryHasBeenSet ( ) const
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 51 of file Locale.h.

◆ GetCountry()

const Aws::String& Aws::MTurk::Model::Locale::GetCountry ( ) const
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 45 of file Locale.h.

◆ GetSubdivision()

const Aws::String& Aws::MTurk::Model::Locale::GetSubdivision ( ) const
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 94 of file Locale.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::MTurk::Model::Locale::Jsonize ( ) const

◆ operator=()

Locale& Aws::MTurk::Model::Locale::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetCountry() [1/3]

void Aws::MTurk::Model::Locale::SetCountry ( Aws::String &&  value)
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 63 of file Locale.h.

◆ SetCountry() [2/3]

void Aws::MTurk::Model::Locale::SetCountry ( const Aws::String value)
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 57 of file Locale.h.

◆ SetCountry() [3/3]

void Aws::MTurk::Model::Locale::SetCountry ( const char *  value)
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 69 of file Locale.h.

◆ SetSubdivision() [1/3]

void Aws::MTurk::Model::Locale::SetSubdivision ( Aws::String &&  value)
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 112 of file Locale.h.

◆ SetSubdivision() [2/3]

void Aws::MTurk::Model::Locale::SetSubdivision ( const Aws::String value)
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 106 of file Locale.h.

◆ SetSubdivision() [3/3]

void Aws::MTurk::Model::Locale::SetSubdivision ( const char *  value)
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 118 of file Locale.h.

◆ SubdivisionHasBeenSet()

bool Aws::MTurk::Model::Locale::SubdivisionHasBeenSet ( ) const
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 100 of file Locale.h.

◆ WithCountry() [1/3]

Locale& Aws::MTurk::Model::Locale::WithCountry ( Aws::String &&  value)
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 81 of file Locale.h.

◆ WithCountry() [2/3]

Locale& Aws::MTurk::Model::Locale::WithCountry ( const Aws::String value)
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 75 of file Locale.h.

◆ WithCountry() [3/3]

Locale& Aws::MTurk::Model::Locale::WithCountry ( const char *  value)
inline

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Definition at line 87 of file Locale.h.

◆ WithSubdivision() [1/3]

Locale& Aws::MTurk::Model::Locale::WithSubdivision ( Aws::String &&  value)
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 130 of file Locale.h.

◆ WithSubdivision() [2/3]

Locale& Aws::MTurk::Model::Locale::WithSubdivision ( const Aws::String value)
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 124 of file Locale.h.

◆ WithSubdivision() [3/3]

Locale& Aws::MTurk::Model::Locale::WithSubdivision ( const char *  value)
inline

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Definition at line 136 of file Locale.h.


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