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

#include <ServiceLastAccessed.h>

Public Member Functions

 ServiceLastAccessed ()
 
 ServiceLastAccessed (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ServiceLastAccessedoperator= (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::StringGetServiceName () const
 
bool ServiceNameHasBeenSet () const
 
void SetServiceName (const Aws::String &value)
 
void SetServiceName (Aws::String &&value)
 
void SetServiceName (const char *value)
 
ServiceLastAccessedWithServiceName (const Aws::String &value)
 
ServiceLastAccessedWithServiceName (Aws::String &&value)
 
ServiceLastAccessedWithServiceName (const char *value)
 
const Aws::Utils::DateTimeGetLastAuthenticated () const
 
bool LastAuthenticatedHasBeenSet () const
 
void SetLastAuthenticated (const Aws::Utils::DateTime &value)
 
void SetLastAuthenticated (Aws::Utils::DateTime &&value)
 
ServiceLastAccessedWithLastAuthenticated (const Aws::Utils::DateTime &value)
 
ServiceLastAccessedWithLastAuthenticated (Aws::Utils::DateTime &&value)
 
const Aws::StringGetServiceNamespace () const
 
bool ServiceNamespaceHasBeenSet () const
 
void SetServiceNamespace (const Aws::String &value)
 
void SetServiceNamespace (Aws::String &&value)
 
void SetServiceNamespace (const char *value)
 
ServiceLastAccessedWithServiceNamespace (const Aws::String &value)
 
ServiceLastAccessedWithServiceNamespace (Aws::String &&value)
 
ServiceLastAccessedWithServiceNamespace (const char *value)
 
const Aws::StringGetLastAuthenticatedEntity () const
 
bool LastAuthenticatedEntityHasBeenSet () const
 
void SetLastAuthenticatedEntity (const Aws::String &value)
 
void SetLastAuthenticatedEntity (Aws::String &&value)
 
void SetLastAuthenticatedEntity (const char *value)
 
ServiceLastAccessedWithLastAuthenticatedEntity (const Aws::String &value)
 
ServiceLastAccessedWithLastAuthenticatedEntity (Aws::String &&value)
 
ServiceLastAccessedWithLastAuthenticatedEntity (const char *value)
 
const Aws::StringGetLastAuthenticatedRegion () const
 
bool LastAuthenticatedRegionHasBeenSet () const
 
void SetLastAuthenticatedRegion (const Aws::String &value)
 
void SetLastAuthenticatedRegion (Aws::String &&value)
 
void SetLastAuthenticatedRegion (const char *value)
 
ServiceLastAccessedWithLastAuthenticatedRegion (const Aws::String &value)
 
ServiceLastAccessedWithLastAuthenticatedRegion (Aws::String &&value)
 
ServiceLastAccessedWithLastAuthenticatedRegion (const char *value)
 
int GetTotalAuthenticatedEntities () const
 
bool TotalAuthenticatedEntitiesHasBeenSet () const
 
void SetTotalAuthenticatedEntities (int value)
 
ServiceLastAccessedWithTotalAuthenticatedEntities (int value)
 
const Aws::Vector< TrackedActionLastAccessed > & GetTrackedActionsLastAccessed () const
 
bool TrackedActionsLastAccessedHasBeenSet () const
 
void SetTrackedActionsLastAccessed (const Aws::Vector< TrackedActionLastAccessed > &value)
 
void SetTrackedActionsLastAccessed (Aws::Vector< TrackedActionLastAccessed > &&value)
 
ServiceLastAccessedWithTrackedActionsLastAccessed (const Aws::Vector< TrackedActionLastAccessed > &value)
 
ServiceLastAccessedWithTrackedActionsLastAccessed (Aws::Vector< TrackedActionLastAccessed > &&value)
 
ServiceLastAccessedAddTrackedActionsLastAccessed (const TrackedActionLastAccessed &value)
 
ServiceLastAccessedAddTrackedActionsLastAccessed (TrackedActionLastAccessed &&value)
 

Detailed Description

Contains details about the most recent attempt to access the service.

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

See Also:

AWS API Reference

Definition at line 36 of file ServiceLastAccessed.h.

Constructor & Destructor Documentation

◆ ServiceLastAccessed() [1/2]

Aws::IAM::Model::ServiceLastAccessed::ServiceLastAccessed ( )

◆ ServiceLastAccessed() [2/2]

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

Member Function Documentation

◆ AddTrackedActionsLastAccessed() [1/2]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::AddTrackedActionsLastAccessed ( const TrackedActionLastAccessed value)
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 512 of file ServiceLastAccessed.h.

◆ AddTrackedActionsLastAccessed() [2/2]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::AddTrackedActionsLastAccessed ( TrackedActionLastAccessed &&  value)
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 523 of file ServiceLastAccessed.h.

◆ GetLastAuthenticated()

const Aws::Utils::DateTime& Aws::IAM::Model::ServiceLastAccessed::GetLastAuthenticated ( ) const
inline

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 96 of file ServiceLastAccessed.h.

◆ GetLastAuthenticatedEntity()

const Aws::String& Aws::IAM::Model::ServiceLastAccessed::GetLastAuthenticatedEntity ( ) const
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 261 of file ServiceLastAccessed.h.

◆ GetLastAuthenticatedRegion()

const Aws::String& Aws::IAM::Model::ServiceLastAccessed::GetLastAuthenticatedRegion ( ) const
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 334 of file ServiceLastAccessed.h.

◆ GetServiceName()

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

The name of the service in which access was attempted.

Definition at line 50 of file ServiceLastAccessed.h.

◆ GetServiceNamespace()

const Aws::String& Aws::IAM::Model::ServiceLastAccessed::GetServiceNamespace ( ) const
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 160 of file ServiceLastAccessed.h.

◆ GetTotalAuthenticatedEntities()

int Aws::IAM::Model::ServiceLastAccessed::GetTotalAuthenticatedEntities ( ) const
inline

The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.

This field is null if no principals attempted to access the service within the reporting period.

Definition at line 407 of file ServiceLastAccessed.h.

◆ GetTrackedActionsLastAccessed()

const Aws::Vector<TrackedActionLastAccessed>& Aws::IAM::Model::ServiceLastAccessed::GetTrackedActionsLastAccessed ( ) const
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 446 of file ServiceLastAccessed.h.

◆ LastAuthenticatedEntityHasBeenSet()

bool Aws::IAM::Model::ServiceLastAccessed::LastAuthenticatedEntityHasBeenSet ( ) const
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 270 of file ServiceLastAccessed.h.

◆ LastAuthenticatedHasBeenSet()

bool Aws::IAM::Model::ServiceLastAccessed::LastAuthenticatedHasBeenSet ( ) const
inline

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 106 of file ServiceLastAccessed.h.

◆ LastAuthenticatedRegionHasBeenSet()

bool Aws::IAM::Model::ServiceLastAccessed::LastAuthenticatedRegionHasBeenSet ( ) const
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 343 of file ServiceLastAccessed.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ ServiceNameHasBeenSet()

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

The name of the service in which access was attempted.

Definition at line 55 of file ServiceLastAccessed.h.

◆ ServiceNamespaceHasBeenSet()

bool Aws::IAM::Model::ServiceLastAccessed::ServiceNamespaceHasBeenSet ( ) const
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 173 of file ServiceLastAccessed.h.

◆ SetLastAuthenticated() [1/2]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticated ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 116 of file ServiceLastAccessed.h.

◆ SetLastAuthenticated() [2/2]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticated ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 126 of file ServiceLastAccessed.h.

◆ SetLastAuthenticatedEntity() [1/3]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticatedEntity ( const Aws::String value)
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 279 of file ServiceLastAccessed.h.

◆ SetLastAuthenticatedEntity() [2/3]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticatedEntity ( Aws::String &&  value)
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 288 of file ServiceLastAccessed.h.

◆ SetLastAuthenticatedEntity() [3/3]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticatedEntity ( const char *  value)
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 297 of file ServiceLastAccessed.h.

◆ SetLastAuthenticatedRegion() [1/3]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticatedRegion ( const Aws::String value)
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 352 of file ServiceLastAccessed.h.

◆ SetLastAuthenticatedRegion() [2/3]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticatedRegion ( Aws::String &&  value)
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 361 of file ServiceLastAccessed.h.

◆ SetLastAuthenticatedRegion() [3/3]

void Aws::IAM::Model::ServiceLastAccessed::SetLastAuthenticatedRegion ( const char *  value)
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 370 of file ServiceLastAccessed.h.

◆ SetServiceName() [1/3]

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

The name of the service in which access was attempted.

Definition at line 60 of file ServiceLastAccessed.h.

◆ SetServiceName() [2/3]

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

The name of the service in which access was attempted.

Definition at line 65 of file ServiceLastAccessed.h.

◆ SetServiceName() [3/3]

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

The name of the service in which access was attempted.

Definition at line 70 of file ServiceLastAccessed.h.

◆ SetServiceNamespace() [1/3]

void Aws::IAM::Model::ServiceLastAccessed::SetServiceNamespace ( const Aws::String value)
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 186 of file ServiceLastAccessed.h.

◆ SetServiceNamespace() [2/3]

void Aws::IAM::Model::ServiceLastAccessed::SetServiceNamespace ( Aws::String &&  value)
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 199 of file ServiceLastAccessed.h.

◆ SetServiceNamespace() [3/3]

void Aws::IAM::Model::ServiceLastAccessed::SetServiceNamespace ( const char *  value)
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 212 of file ServiceLastAccessed.h.

◆ SetTotalAuthenticatedEntities()

void Aws::IAM::Model::ServiceLastAccessed::SetTotalAuthenticatedEntities ( int  value)
inline

The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.

This field is null if no principals attempted to access the service within the reporting period.

Definition at line 425 of file ServiceLastAccessed.h.

◆ SetTrackedActionsLastAccessed() [1/2]

void Aws::IAM::Model::ServiceLastAccessed::SetTrackedActionsLastAccessed ( const Aws::Vector< TrackedActionLastAccessed > &  value)
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 468 of file ServiceLastAccessed.h.

◆ SetTrackedActionsLastAccessed() [2/2]

void Aws::IAM::Model::ServiceLastAccessed::SetTrackedActionsLastAccessed ( Aws::Vector< TrackedActionLastAccessed > &&  value)
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 479 of file ServiceLastAccessed.h.

◆ TotalAuthenticatedEntitiesHasBeenSet()

bool Aws::IAM::Model::ServiceLastAccessed::TotalAuthenticatedEntitiesHasBeenSet ( ) const
inline

The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.

This field is null if no principals attempted to access the service within the reporting period.

Definition at line 416 of file ServiceLastAccessed.h.

◆ TrackedActionsLastAccessedHasBeenSet()

bool Aws::IAM::Model::ServiceLastAccessed::TrackedActionsLastAccessedHasBeenSet ( ) const
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 457 of file ServiceLastAccessed.h.

◆ WithLastAuthenticated() [1/2]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticated ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 136 of file ServiceLastAccessed.h.

◆ WithLastAuthenticated() [2/2]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticated ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 146 of file ServiceLastAccessed.h.

◆ WithLastAuthenticatedEntity() [1/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticatedEntity ( const Aws::String value)
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 306 of file ServiceLastAccessed.h.

◆ WithLastAuthenticatedEntity() [2/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticatedEntity ( Aws::String &&  value)
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 315 of file ServiceLastAccessed.h.

◆ WithLastAuthenticatedEntity() [3/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticatedEntity ( const char *  value)
inline

The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 324 of file ServiceLastAccessed.h.

◆ WithLastAuthenticatedRegion() [1/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticatedRegion ( const Aws::String value)
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 379 of file ServiceLastAccessed.h.

◆ WithLastAuthenticatedRegion() [2/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticatedRegion ( Aws::String &&  value)
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 388 of file ServiceLastAccessed.h.

◆ WithLastAuthenticatedRegion() [3/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithLastAuthenticatedRegion ( const char *  value)
inline

The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Definition at line 397 of file ServiceLastAccessed.h.

◆ WithServiceName() [1/3]

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

The name of the service in which access was attempted.

Definition at line 75 of file ServiceLastAccessed.h.

◆ WithServiceName() [2/3]

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

The name of the service in which access was attempted.

Definition at line 80 of file ServiceLastAccessed.h.

◆ WithServiceName() [3/3]

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

The name of the service in which access was attempted.

Definition at line 85 of file ServiceLastAccessed.h.

◆ WithServiceNamespace() [1/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithServiceNamespace ( const Aws::String value)
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 225 of file ServiceLastAccessed.h.

◆ WithServiceNamespace() [2/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithServiceNamespace ( Aws::String &&  value)
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 238 of file ServiceLastAccessed.h.

◆ WithServiceNamespace() [3/3]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithServiceNamespace ( const char *  value)
inline

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.

Definition at line 251 of file ServiceLastAccessed.h.

◆ WithTotalAuthenticatedEntities()

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithTotalAuthenticatedEntities ( int  value)
inline

The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.

This field is null if no principals attempted to access the service within the reporting period.

Definition at line 434 of file ServiceLastAccessed.h.

◆ WithTrackedActionsLastAccessed() [1/2]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithTrackedActionsLastAccessed ( const Aws::Vector< TrackedActionLastAccessed > &  value)
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 490 of file ServiceLastAccessed.h.

◆ WithTrackedActionsLastAccessed() [2/2]

ServiceLastAccessed& Aws::IAM::Model::ServiceLastAccessed::WithTrackedActionsLastAccessed ( Aws::Vector< TrackedActionLastAccessed > &&  value)
inline

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Definition at line 501 of file ServiceLastAccessed.h.


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