AWS SDK for C++  1.9.159
AWS SDK for C++
Public Member Functions | List of all members
Aws::IAM::Model::AccessKeyLastUsed Class Reference

#include <AccessKeyLastUsed.h>

Public Member Functions

 AccessKeyLastUsed ()
 
 AccessKeyLastUsed (const Aws::Utils::Xml::XmlNode &xmlNode)
 
AccessKeyLastUsedoperator= (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::Utils::DateTimeGetLastUsedDate () const
 
bool LastUsedDateHasBeenSet () const
 
void SetLastUsedDate (const Aws::Utils::DateTime &value)
 
void SetLastUsedDate (Aws::Utils::DateTime &&value)
 
AccessKeyLastUsedWithLastUsedDate (const Aws::Utils::DateTime &value)
 
AccessKeyLastUsedWithLastUsedDate (Aws::Utils::DateTime &&value)
 
const Aws::StringGetServiceName () const
 
bool ServiceNameHasBeenSet () const
 
void SetServiceName (const Aws::String &value)
 
void SetServiceName (Aws::String &&value)
 
void SetServiceName (const char *value)
 
AccessKeyLastUsedWithServiceName (const Aws::String &value)
 
AccessKeyLastUsedWithServiceName (Aws::String &&value)
 
AccessKeyLastUsedWithServiceName (const char *value)
 
const Aws::StringGetRegion () const
 
bool RegionHasBeenSet () const
 
void SetRegion (const Aws::String &value)
 
void SetRegion (Aws::String &&value)
 
void SetRegion (const char *value)
 
AccessKeyLastUsedWithRegion (const Aws::String &value)
 
AccessKeyLastUsedWithRegion (Aws::String &&value)
 
AccessKeyLastUsedWithRegion (const char *value)
 

Detailed Description

Contains information about the last time an Amazon Web Services access key was used since IAM began tracking this information on April 22, 2015.

This data type is used as a response element in the GetAccessKeyLastUsed operation.

See Also:

AWS API Reference

Definition at line 35 of file AccessKeyLastUsed.h.

Constructor & Destructor Documentation

◆ AccessKeyLastUsed() [1/2]

Aws::IAM::Model::AccessKeyLastUsed::AccessKeyLastUsed ( )

◆ AccessKeyLastUsed() [2/2]

Aws::IAM::Model::AccessKeyLastUsed::AccessKeyLastUsed ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetLastUsedDate()

const Aws::Utils::DateTime& Aws::IAM::Model::AccessKeyLastUsed::GetLastUsedDate ( ) const
inline

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 54 of file AccessKeyLastUsed.h.

◆ GetRegion()

const Aws::String& Aws::IAM::Model::AccessKeyLastUsed::GetRegion ( ) const
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 198 of file AccessKeyLastUsed.h.

◆ GetServiceName()

const Aws::String& Aws::IAM::Model::AccessKeyLastUsed::GetServiceName ( ) const
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 115 of file AccessKeyLastUsed.h.

◆ LastUsedDateHasBeenSet()

bool Aws::IAM::Model::AccessKeyLastUsed::LastUsedDateHasBeenSet ( ) const
inline

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 64 of file AccessKeyLastUsed.h.

◆ operator=()

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::IAM::Model::AccessKeyLastUsed::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

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

◆ RegionHasBeenSet()

bool Aws::IAM::Model::AccessKeyLastUsed::RegionHasBeenSet ( ) const
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 210 of file AccessKeyLastUsed.h.

◆ ServiceNameHasBeenSet()

bool Aws::IAM::Model::AccessKeyLastUsed::ServiceNameHasBeenSet ( ) const
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 125 of file AccessKeyLastUsed.h.

◆ SetLastUsedDate() [1/2]

void Aws::IAM::Model::AccessKeyLastUsed::SetLastUsedDate ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 84 of file AccessKeyLastUsed.h.

◆ SetLastUsedDate() [2/2]

void Aws::IAM::Model::AccessKeyLastUsed::SetLastUsedDate ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 74 of file AccessKeyLastUsed.h.

◆ SetRegion() [1/3]

void Aws::IAM::Model::AccessKeyLastUsed::SetRegion ( Aws::String &&  value)
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 234 of file AccessKeyLastUsed.h.

◆ SetRegion() [2/3]

void Aws::IAM::Model::AccessKeyLastUsed::SetRegion ( const Aws::String value)
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 222 of file AccessKeyLastUsed.h.

◆ SetRegion() [3/3]

void Aws::IAM::Model::AccessKeyLastUsed::SetRegion ( const char *  value)
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 246 of file AccessKeyLastUsed.h.

◆ SetServiceName() [1/3]

void Aws::IAM::Model::AccessKeyLastUsed::SetServiceName ( Aws::String &&  value)
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 145 of file AccessKeyLastUsed.h.

◆ SetServiceName() [2/3]

void Aws::IAM::Model::AccessKeyLastUsed::SetServiceName ( const Aws::String value)
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 135 of file AccessKeyLastUsed.h.

◆ SetServiceName() [3/3]

void Aws::IAM::Model::AccessKeyLastUsed::SetServiceName ( const char *  value)
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 155 of file AccessKeyLastUsed.h.

◆ WithLastUsedDate() [1/2]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithLastUsedDate ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 104 of file AccessKeyLastUsed.h.

◆ WithLastUsedDate() [2/2]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithLastUsedDate ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 94 of file AccessKeyLastUsed.h.

◆ WithRegion() [1/3]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithRegion ( Aws::String &&  value)
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 270 of file AccessKeyLastUsed.h.

◆ WithRegion() [2/3]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithRegion ( const Aws::String value)
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 258 of file AccessKeyLastUsed.h.

◆ WithRegion() [3/3]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithRegion ( const char *  value)
inline

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM began tracking this information.

  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Definition at line 282 of file AccessKeyLastUsed.h.

◆ WithServiceName() [1/3]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithServiceName ( Aws::String &&  value)
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 175 of file AccessKeyLastUsed.h.

◆ WithServiceName() [2/3]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithServiceName ( const Aws::String value)
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 165 of file AccessKeyLastUsed.h.

◆ WithServiceName() [3/3]

AccessKeyLastUsed& Aws::IAM::Model::AccessKeyLastUsed::WithServiceName ( const char *  value)
inline

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.

  • An access key exists but has not been used since IAM started tracking this information.

  • There is no sign-in data associated with the user.

Definition at line 185 of file AccessKeyLastUsed.h.


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