AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::Macie2::Model::IpCountry Class Reference

#include <IpCountry.h>

Public Member Functions

 IpCountry ()
 
 IpCountry (Aws::Utils::Json::JsonView jsonValue)
 
IpCountryoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetCode () const
 
bool CodeHasBeenSet () const
 
void SetCode (const Aws::String &value)
 
void SetCode (Aws::String &&value)
 
void SetCode (const char *value)
 
IpCountryWithCode (const Aws::String &value)
 
IpCountryWithCode (Aws::String &&value)
 
IpCountryWithCode (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
IpCountryWithName (const Aws::String &value)
 
IpCountryWithName (Aws::String &&value)
 
IpCountryWithName (const char *value)
 

Detailed Description

Provides information about the country that an IP address originated from.

See Also:

AWS API Reference

Definition at line 32 of file IpCountry.h.

Constructor & Destructor Documentation

◆ IpCountry() [1/2]

Aws::Macie2::Model::IpCountry::IpCountry ( )

◆ IpCountry() [2/2]

Aws::Macie2::Model::IpCountry::IpCountry ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ CodeHasBeenSet()

bool Aws::Macie2::Model::IpCountry::CodeHasBeenSet ( ) const
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 51 of file IpCountry.h.

◆ GetCode()

const Aws::String& Aws::Macie2::Model::IpCountry::GetCode ( ) const
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 45 of file IpCountry.h.

◆ GetName()

const Aws::String& Aws::Macie2::Model::IpCountry::GetName ( ) const
inline

The name of the country that the IP address originated from.

Definition at line 93 of file IpCountry.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Macie2::Model::IpCountry::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::Macie2::Model::IpCountry::NameHasBeenSet ( ) const
inline

The name of the country that the IP address originated from.

Definition at line 98 of file IpCountry.h.

◆ operator=()

IpCountry& Aws::Macie2::Model::IpCountry::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetCode() [1/3]

void Aws::Macie2::Model::IpCountry::SetCode ( Aws::String &&  value)
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 63 of file IpCountry.h.

◆ SetCode() [2/3]

void Aws::Macie2::Model::IpCountry::SetCode ( const Aws::String value)
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 57 of file IpCountry.h.

◆ SetCode() [3/3]

void Aws::Macie2::Model::IpCountry::SetCode ( const char *  value)
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 69 of file IpCountry.h.

◆ SetName() [1/3]

void Aws::Macie2::Model::IpCountry::SetName ( Aws::String &&  value)
inline

The name of the country that the IP address originated from.

Definition at line 108 of file IpCountry.h.

◆ SetName() [2/3]

void Aws::Macie2::Model::IpCountry::SetName ( const Aws::String value)
inline

The name of the country that the IP address originated from.

Definition at line 103 of file IpCountry.h.

◆ SetName() [3/3]

void Aws::Macie2::Model::IpCountry::SetName ( const char *  value)
inline

The name of the country that the IP address originated from.

Definition at line 113 of file IpCountry.h.

◆ WithCode() [1/3]

IpCountry& Aws::Macie2::Model::IpCountry::WithCode ( Aws::String &&  value)
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 81 of file IpCountry.h.

◆ WithCode() [2/3]

IpCountry& Aws::Macie2::Model::IpCountry::WithCode ( const Aws::String value)
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 75 of file IpCountry.h.

◆ WithCode() [3/3]

IpCountry& Aws::Macie2::Model::IpCountry::WithCode ( const char *  value)
inline

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

Definition at line 87 of file IpCountry.h.

◆ WithName() [1/3]

IpCountry& Aws::Macie2::Model::IpCountry::WithName ( Aws::String &&  value)
inline

The name of the country that the IP address originated from.

Definition at line 123 of file IpCountry.h.

◆ WithName() [2/3]

IpCountry& Aws::Macie2::Model::IpCountry::WithName ( const Aws::String value)
inline

The name of the country that the IP address originated from.

Definition at line 118 of file IpCountry.h.

◆ WithName() [3/3]

IpCountry& Aws::Macie2::Model::IpCountry::WithName ( const char *  value)
inline

The name of the country that the IP address originated from.

Definition at line 128 of file IpCountry.h.


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