AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::ContactMethod Class Reference

#include <ContactMethod.h>

Public Member Functions

 ContactMethod ()
 
 ContactMethod (Aws::Utils::Json::JsonView jsonValue)
 
ContactMethodoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetContactEndpoint () const
 
bool ContactEndpointHasBeenSet () const
 
void SetContactEndpoint (const Aws::String &value)
 
void SetContactEndpoint (Aws::String &&value)
 
void SetContactEndpoint (const char *value)
 
ContactMethodWithContactEndpoint (const Aws::String &value)
 
ContactMethodWithContactEndpoint (Aws::String &&value)
 
ContactMethodWithContactEndpoint (const char *value)
 
const ContactMethodStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const ContactMethodStatus &value)
 
void SetStatus (ContactMethodStatus &&value)
 
ContactMethodWithStatus (const ContactMethodStatus &value)
 
ContactMethodWithStatus (ContactMethodStatus &&value)
 
const ContactProtocolGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const ContactProtocol &value)
 
void SetProtocol (ContactProtocol &&value)
 
ContactMethodWithProtocol (const ContactProtocol &value)
 
ContactMethodWithProtocol (ContactProtocol &&value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
ContactMethodWithName (const Aws::String &value)
 
ContactMethodWithName (Aws::String &&value)
 
ContactMethodWithName (const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
ContactMethodWithArn (const Aws::String &value)
 
ContactMethodWithArn (Aws::String &&value)
 
ContactMethodWithArn (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
ContactMethodWithCreatedAt (const Aws::Utils::DateTime &value)
 
ContactMethodWithCreatedAt (Aws::Utils::DateTime &&value)
 
const ResourceLocationGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const ResourceLocation &value)
 
void SetLocation (ResourceLocation &&value)
 
ContactMethodWithLocation (const ResourceLocation &value)
 
ContactMethodWithLocation (ResourceLocation &&value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
ContactMethodWithResourceType (const ResourceType &value)
 
ContactMethodWithResourceType (ResourceType &&value)
 
const Aws::StringGetSupportCode () const
 
bool SupportCodeHasBeenSet () const
 
void SetSupportCode (const Aws::String &value)
 
void SetSupportCode (Aws::String &&value)
 
void SetSupportCode (const char *value)
 
ContactMethodWithSupportCode (const Aws::String &value)
 
ContactMethodWithSupportCode (Aws::String &&value)
 
ContactMethodWithSupportCode (const char *value)
 

Detailed Description

Describes a contact method.

A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail.

See Also:

AWS API Reference

Definition at line 39 of file ContactMethod.h.

Constructor & Destructor Documentation

◆ ContactMethod() [1/2]

Aws::Lightsail::Model::ContactMethod::ContactMethod ( )

◆ ContactMethod() [2/2]

Aws::Lightsail::Model::ContactMethod::ContactMethod ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ArnHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 244 of file ContactMethod.h.

◆ ContactEndpointHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::ContactEndpointHasBeenSet ( ) const
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 58 of file ContactMethod.h.

◆ CreatedAtHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::CreatedAtHasBeenSet ( ) const
inline

The timestamp when the contact method was created.

Definition at line 285 of file ContactMethod.h.

◆ GetArn()

const Aws::String& Aws::Lightsail::Model::ContactMethod::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 239 of file ContactMethod.h.

◆ GetContactEndpoint()

const Aws::String& Aws::Lightsail::Model::ContactMethod::GetContactEndpoint ( ) const
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 52 of file ContactMethod.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::Lightsail::Model::ContactMethod::GetCreatedAt ( ) const
inline

The timestamp when the contact method was created.

Definition at line 280 of file ContactMethod.h.

◆ GetLocation()

const ResourceLocation& Aws::Lightsail::Model::ContactMethod::GetLocation ( ) const
inline

Definition at line 309 of file ContactMethod.h.

◆ GetName()

const Aws::String& Aws::Lightsail::Model::ContactMethod::GetName ( ) const
inline

The name of the contact method.

Definition at line 198 of file ContactMethod.h.

◆ GetProtocol()

const ContactProtocol& Aws::Lightsail::Model::ContactMethod::GetProtocol ( ) const
inline

The protocol of the contact method, such as email or SMS (text messaging).

Definition at line 162 of file ContactMethod.h.

◆ GetResourceType()

const ResourceType& Aws::Lightsail::Model::ContactMethod::GetResourceType ( ) const
inline

The Lightsail resource type (e.g., ContactMethod).

Definition at line 330 of file ContactMethod.h.

◆ GetStatus()

const ContactMethodStatus& Aws::Lightsail::Model::ContactMethod::GetStatus ( ) const
inline

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

Definition at line 105 of file ContactMethod.h.

◆ GetSupportCode()

const Aws::String& Aws::Lightsail::Model::ContactMethod::GetSupportCode ( ) const
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 363 of file ContactMethod.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::ContactMethod::Jsonize ( ) const

◆ LocationHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::LocationHasBeenSet ( ) const
inline

Definition at line 312 of file ContactMethod.h.

◆ NameHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::NameHasBeenSet ( ) const
inline

The name of the contact method.

Definition at line 203 of file ContactMethod.h.

◆ operator=()

ContactMethod& Aws::Lightsail::Model::ContactMethod::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProtocolHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::ProtocolHasBeenSet ( ) const
inline

The protocol of the contact method, such as email or SMS (text messaging).

Definition at line 168 of file ContactMethod.h.

◆ ResourceTypeHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::ResourceTypeHasBeenSet ( ) const
inline

The Lightsail resource type (e.g., ContactMethod).

Definition at line 335 of file ContactMethod.h.

◆ SetArn() [1/3]

void Aws::Lightsail::Model::ContactMethod::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 249 of file ContactMethod.h.

◆ SetArn() [2/3]

void Aws::Lightsail::Model::ContactMethod::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 254 of file ContactMethod.h.

◆ SetArn() [3/3]

void Aws::Lightsail::Model::ContactMethod::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 259 of file ContactMethod.h.

◆ SetContactEndpoint() [1/3]

void Aws::Lightsail::Model::ContactMethod::SetContactEndpoint ( const Aws::String value)
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 64 of file ContactMethod.h.

◆ SetContactEndpoint() [2/3]

void Aws::Lightsail::Model::ContactMethod::SetContactEndpoint ( Aws::String &&  value)
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 70 of file ContactMethod.h.

◆ SetContactEndpoint() [3/3]

void Aws::Lightsail::Model::ContactMethod::SetContactEndpoint ( const char *  value)
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 76 of file ContactMethod.h.

◆ SetCreatedAt() [1/2]

void Aws::Lightsail::Model::ContactMethod::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the contact method was created.

Definition at line 290 of file ContactMethod.h.

◆ SetCreatedAt() [2/2]

void Aws::Lightsail::Model::ContactMethod::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the contact method was created.

Definition at line 295 of file ContactMethod.h.

◆ SetLocation() [1/2]

void Aws::Lightsail::Model::ContactMethod::SetLocation ( const ResourceLocation value)
inline

Definition at line 315 of file ContactMethod.h.

◆ SetLocation() [2/2]

void Aws::Lightsail::Model::ContactMethod::SetLocation ( ResourceLocation &&  value)
inline

Definition at line 318 of file ContactMethod.h.

◆ SetName() [1/3]

void Aws::Lightsail::Model::ContactMethod::SetName ( const Aws::String value)
inline

The name of the contact method.

Definition at line 208 of file ContactMethod.h.

◆ SetName() [2/3]

void Aws::Lightsail::Model::ContactMethod::SetName ( Aws::String &&  value)
inline

The name of the contact method.

Definition at line 213 of file ContactMethod.h.

◆ SetName() [3/3]

void Aws::Lightsail::Model::ContactMethod::SetName ( const char *  value)
inline

The name of the contact method.

Definition at line 218 of file ContactMethod.h.

◆ SetProtocol() [1/2]

void Aws::Lightsail::Model::ContactMethod::SetProtocol ( const ContactProtocol value)
inline

The protocol of the contact method, such as email or SMS (text messaging).

Definition at line 174 of file ContactMethod.h.

◆ SetProtocol() [2/2]

void Aws::Lightsail::Model::ContactMethod::SetProtocol ( ContactProtocol &&  value)
inline

The protocol of the contact method, such as email or SMS (text messaging).

Definition at line 180 of file ContactMethod.h.

◆ SetResourceType() [1/2]

void Aws::Lightsail::Model::ContactMethod::SetResourceType ( const ResourceType value)
inline

The Lightsail resource type (e.g., ContactMethod).

Definition at line 340 of file ContactMethod.h.

◆ SetResourceType() [2/2]

void Aws::Lightsail::Model::ContactMethod::SetResourceType ( ResourceType &&  value)
inline

The Lightsail resource type (e.g., ContactMethod).

Definition at line 345 of file ContactMethod.h.

◆ SetStatus() [1/2]

void Aws::Lightsail::Model::ContactMethod::SetStatus ( const ContactMethodStatus value)
inline

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

Definition at line 125 of file ContactMethod.h.

◆ SetStatus() [2/2]

void Aws::Lightsail::Model::ContactMethod::SetStatus ( ContactMethodStatus &&  value)
inline

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

Definition at line 135 of file ContactMethod.h.

◆ SetSupportCode() [1/3]

void Aws::Lightsail::Model::ContactMethod::SetSupportCode ( const Aws::String value)
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 377 of file ContactMethod.h.

◆ SetSupportCode() [2/3]

void Aws::Lightsail::Model::ContactMethod::SetSupportCode ( Aws::String &&  value)
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 384 of file ContactMethod.h.

◆ SetSupportCode() [3/3]

void Aws::Lightsail::Model::ContactMethod::SetSupportCode ( const char *  value)
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 391 of file ContactMethod.h.

◆ StatusHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::StatusHasBeenSet ( ) const
inline

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

Definition at line 115 of file ContactMethod.h.

◆ SupportCodeHasBeenSet()

bool Aws::Lightsail::Model::ContactMethod::SupportCodeHasBeenSet ( ) const
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 370 of file ContactMethod.h.

◆ WithArn() [1/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 264 of file ContactMethod.h.

◆ WithArn() [2/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 269 of file ContactMethod.h.

◆ WithArn() [3/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the contact method.

Definition at line 274 of file ContactMethod.h.

◆ WithContactEndpoint() [1/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithContactEndpoint ( const Aws::String value)
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 82 of file ContactMethod.h.

◆ WithContactEndpoint() [2/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithContactEndpoint ( Aws::String &&  value)
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 88 of file ContactMethod.h.

◆ WithContactEndpoint() [3/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithContactEndpoint ( const char *  value)
inline

The destination of the contact method, such as an email address or a mobile phone number.

Definition at line 94 of file ContactMethod.h.

◆ WithCreatedAt() [1/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the contact method was created.

Definition at line 300 of file ContactMethod.h.

◆ WithCreatedAt() [2/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the contact method was created.

Definition at line 305 of file ContactMethod.h.

◆ WithLocation() [1/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithLocation ( const ResourceLocation value)
inline

Definition at line 321 of file ContactMethod.h.

◆ WithLocation() [2/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithLocation ( ResourceLocation &&  value)
inline

Definition at line 324 of file ContactMethod.h.

◆ WithName() [1/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithName ( const Aws::String value)
inline

The name of the contact method.

Definition at line 223 of file ContactMethod.h.

◆ WithName() [2/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithName ( Aws::String &&  value)
inline

The name of the contact method.

Definition at line 228 of file ContactMethod.h.

◆ WithName() [3/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithName ( const char *  value)
inline

The name of the contact method.

Definition at line 233 of file ContactMethod.h.

◆ WithProtocol() [1/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithProtocol ( const ContactProtocol value)
inline

The protocol of the contact method, such as email or SMS (text messaging).

Definition at line 186 of file ContactMethod.h.

◆ WithProtocol() [2/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithProtocol ( ContactProtocol &&  value)
inline

The protocol of the contact method, such as email or SMS (text messaging).

Definition at line 192 of file ContactMethod.h.

◆ WithResourceType() [1/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithResourceType ( const ResourceType value)
inline

The Lightsail resource type (e.g., ContactMethod).

Definition at line 350 of file ContactMethod.h.

◆ WithResourceType() [2/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithResourceType ( ResourceType &&  value)
inline

The Lightsail resource type (e.g., ContactMethod).

Definition at line 355 of file ContactMethod.h.

◆ WithStatus() [1/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithStatus ( const ContactMethodStatus value)
inline

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

Definition at line 145 of file ContactMethod.h.

◆ WithStatus() [2/2]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithStatus ( ContactMethodStatus &&  value)
inline

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

Definition at line 155 of file ContactMethod.h.

◆ WithSupportCode() [1/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithSupportCode ( const Aws::String value)
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 398 of file ContactMethod.h.

◆ WithSupportCode() [2/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithSupportCode ( Aws::String &&  value)
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 405 of file ContactMethod.h.

◆ WithSupportCode() [3/3]

ContactMethod& Aws::Lightsail::Model::ContactMethod::WithSupportCode ( const char *  value)
inline

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Definition at line 412 of file ContactMethod.h.


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