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

#include <AccessDetail.h>

Public Member Functions

 AccessDetail ()
 
 AccessDetail (const Aws::Utils::Xml::XmlNode &xmlNode)
 
AccessDetailoperator= (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)
 
AccessDetailWithServiceName (const Aws::String &value)
 
AccessDetailWithServiceName (Aws::String &&value)
 
AccessDetailWithServiceName (const char *value)
 
const Aws::StringGetServiceNamespace () const
 
bool ServiceNamespaceHasBeenSet () const
 
void SetServiceNamespace (const Aws::String &value)
 
void SetServiceNamespace (Aws::String &&value)
 
void SetServiceNamespace (const char *value)
 
AccessDetailWithServiceNamespace (const Aws::String &value)
 
AccessDetailWithServiceNamespace (Aws::String &&value)
 
AccessDetailWithServiceNamespace (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)
 
AccessDetailWithRegion (const Aws::String &value)
 
AccessDetailWithRegion (Aws::String &&value)
 
AccessDetailWithRegion (const char *value)
 
const Aws::StringGetEntityPath () const
 
bool EntityPathHasBeenSet () const
 
void SetEntityPath (const Aws::String &value)
 
void SetEntityPath (Aws::String &&value)
 
void SetEntityPath (const char *value)
 
AccessDetailWithEntityPath (const Aws::String &value)
 
AccessDetailWithEntityPath (Aws::String &&value)
 
AccessDetailWithEntityPath (const char *value)
 
const Aws::Utils::DateTimeGetLastAuthenticatedTime () const
 
bool LastAuthenticatedTimeHasBeenSet () const
 
void SetLastAuthenticatedTime (const Aws::Utils::DateTime &value)
 
void SetLastAuthenticatedTime (Aws::Utils::DateTime &&value)
 
AccessDetailWithLastAuthenticatedTime (const Aws::Utils::DateTime &value)
 
AccessDetailWithLastAuthenticatedTime (Aws::Utils::DateTime &&value)
 
int GetTotalAuthenticatedEntities () const
 
bool TotalAuthenticatedEntitiesHasBeenSet () const
 
void SetTotalAuthenticatedEntities (int value)
 
AccessDetailWithTotalAuthenticatedEntities (int value)
 

Detailed Description

An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service. A principal can be an IAM user, an IAM role, or the Amazon Web Services account root user within the reported Organizations entity.

This data type is a response element in the GetOrganizationsAccessReport operation.

See Also:

AWS API Reference

Definition at line 37 of file AccessDetail.h.

Constructor & Destructor Documentation

◆ AccessDetail() [1/2]

Aws::IAM::Model::AccessDetail::AccessDetail ( )

◆ AccessDetail() [2/2]

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

Member Function Documentation

◆ EntityPathHasBeenSet()

bool Aws::IAM::Model::AccessDetail::EntityPathHasBeenSet ( ) const
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 303 of file AccessDetail.h.

◆ GetEntityPath()

const Aws::String& Aws::IAM::Model::AccessDetail::GetEntityPath ( ) const
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 292 of file AccessDetail.h.

◆ GetLastAuthenticatedTime()

const Aws::Utils::DateTime& Aws::IAM::Model::AccessDetail::GetLastAuthenticatedTime ( ) const
inline

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

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

Definition at line 381 of file AccessDetail.h.

◆ GetRegion()

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

The Region where the last service access attempt occurred.

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

Definition at line 217 of file AccessDetail.h.

◆ GetServiceName()

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

The name of the service in which access was attempted.

Definition at line 51 of file AccessDetail.h.

◆ GetServiceNamespace()

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 102 of file AccessDetail.h.

◆ GetTotalAuthenticatedEntities()

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

The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

Definition at line 443 of file AccessDetail.h.

◆ LastAuthenticatedTimeHasBeenSet()

bool Aws::IAM::Model::AccessDetail::LastAuthenticatedTimeHasBeenSet ( ) const
inline

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

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

Definition at line 392 of file AccessDetail.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ RegionHasBeenSet()

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

The Region where the last service access attempt occurred.

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

Definition at line 226 of file AccessDetail.h.

◆ ServiceNameHasBeenSet()

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

The name of the service in which access was attempted.

Definition at line 56 of file AccessDetail.h.

◆ ServiceNamespaceHasBeenSet()

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 117 of file AccessDetail.h.

◆ SetEntityPath() [1/3]

void Aws::IAM::Model::AccessDetail::SetEntityPath ( Aws::String &&  value)
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 325 of file AccessDetail.h.

◆ SetEntityPath() [2/3]

void Aws::IAM::Model::AccessDetail::SetEntityPath ( const Aws::String value)
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 314 of file AccessDetail.h.

◆ SetEntityPath() [3/3]

void Aws::IAM::Model::AccessDetail::SetEntityPath ( const char *  value)
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 336 of file AccessDetail.h.

◆ SetLastAuthenticatedTime() [1/2]

void Aws::IAM::Model::AccessDetail::SetLastAuthenticatedTime ( Aws::Utils::DateTime &&  value)
inline

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

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

Definition at line 414 of file AccessDetail.h.

◆ SetLastAuthenticatedTime() [2/2]

void Aws::IAM::Model::AccessDetail::SetLastAuthenticatedTime ( const Aws::Utils::DateTime value)
inline

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

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

Definition at line 403 of file AccessDetail.h.

◆ SetRegion() [1/3]

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

The Region where the last service access attempt occurred.

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

Definition at line 244 of file AccessDetail.h.

◆ SetRegion() [2/3]

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

The Region where the last service access attempt occurred.

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

Definition at line 235 of file AccessDetail.h.

◆ SetRegion() [3/3]

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

The Region where the last service access attempt occurred.

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

Definition at line 253 of file AccessDetail.h.

◆ SetServiceName() [1/3]

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

The name of the service in which access was attempted.

Definition at line 66 of file AccessDetail.h.

◆ SetServiceName() [2/3]

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

The name of the service in which access was attempted.

Definition at line 61 of file AccessDetail.h.

◆ SetServiceName() [3/3]

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

The name of the service in which access was attempted.

Definition at line 71 of file AccessDetail.h.

◆ SetServiceNamespace() [1/3]

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 147 of file AccessDetail.h.

◆ SetServiceNamespace() [2/3]

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 132 of file AccessDetail.h.

◆ SetServiceNamespace() [3/3]

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 162 of file AccessDetail.h.

◆ SetTotalAuthenticatedEntities()

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

The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

Definition at line 455 of file AccessDetail.h.

◆ TotalAuthenticatedEntitiesHasBeenSet()

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

The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

Definition at line 449 of file AccessDetail.h.

◆ WithEntityPath() [1/3]

AccessDetail& Aws::IAM::Model::AccessDetail::WithEntityPath ( Aws::String &&  value)
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 358 of file AccessDetail.h.

◆ WithEntityPath() [2/3]

AccessDetail& Aws::IAM::Model::AccessDetail::WithEntityPath ( const Aws::String value)
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 347 of file AccessDetail.h.

◆ WithEntityPath() [3/3]

AccessDetail& Aws::IAM::Model::AccessDetail::WithEntityPath ( const char *  value)
inline

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

Definition at line 369 of file AccessDetail.h.

◆ WithLastAuthenticatedTime() [1/2]

AccessDetail& Aws::IAM::Model::AccessDetail::WithLastAuthenticatedTime ( Aws::Utils::DateTime &&  value)
inline

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

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

Definition at line 436 of file AccessDetail.h.

◆ WithLastAuthenticatedTime() [2/2]

AccessDetail& Aws::IAM::Model::AccessDetail::WithLastAuthenticatedTime ( const Aws::Utils::DateTime value)
inline

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

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

Definition at line 425 of file AccessDetail.h.

◆ WithRegion() [1/3]

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

The Region where the last service access attempt occurred.

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

Definition at line 271 of file AccessDetail.h.

◆ WithRegion() [2/3]

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

The Region where the last service access attempt occurred.

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

Definition at line 262 of file AccessDetail.h.

◆ WithRegion() [3/3]

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

The Region where the last service access attempt occurred.

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

Definition at line 280 of file AccessDetail.h.

◆ WithServiceName() [1/3]

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

The name of the service in which access was attempted.

Definition at line 81 of file AccessDetail.h.

◆ WithServiceName() [2/3]

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

The name of the service in which access was attempted.

Definition at line 76 of file AccessDetail.h.

◆ WithServiceName() [3/3]

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

The name of the service in which access was attempted.

Definition at line 86 of file AccessDetail.h.

◆ WithServiceNamespace() [1/3]

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 192 of file AccessDetail.h.

◆ WithServiceNamespace() [2/3]

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 177 of file AccessDetail.h.

◆ WithServiceNamespace() [3/3]

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

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Definition at line 207 of file AccessDetail.h.

◆ WithTotalAuthenticatedEntities()

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

The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

Definition at line 461 of file AccessDetail.h.


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