AWS SDK for C++  1.8.24
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 AWS Organizations entity last attempted to access an AWS service. A principal can be an IAM user, an IAM role, or the AWS 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 36 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. AWS 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 286 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. AWS 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 275 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. AWS 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 364 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 200 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 50 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, 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 99 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 426 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. AWS 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 375 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,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

void Aws::IAM::Model::AccessDetail::OutputToStream ( Aws::OStream oStream,
const char *  location 
) 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 209 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 55 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, 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 112 of file AccessDetail.h.

◆ SetEntityPath() [1/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. AWS 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 297 of file AccessDetail.h.

◆ SetEntityPath() [2/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. AWS 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 308 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. AWS 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 319 of file AccessDetail.h.

◆ SetLastAuthenticatedTime() [1/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. AWS 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 386 of file AccessDetail.h.

◆ SetLastAuthenticatedTime() [2/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. AWS 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 397 of file AccessDetail.h.

◆ SetRegion() [1/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 218 of file AccessDetail.h.

◆ SetRegion() [2/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 227 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 236 of file AccessDetail.h.

◆ SetServiceName() [1/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 60 of file AccessDetail.h.

◆ SetServiceName() [2/3]

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

The name of the service in which access was attempted.

Definition at line 65 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 70 of file AccessDetail.h.

◆ SetServiceNamespace() [1/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, 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 125 of file AccessDetail.h.

◆ SetServiceNamespace() [2/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, 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 138 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, 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 151 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 438 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 432 of file AccessDetail.h.

◆ WithEntityPath() [1/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. AWS 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 330 of file AccessDetail.h.

◆ WithEntityPath() [2/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. AWS 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 341 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. AWS 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 352 of file AccessDetail.h.

◆ WithLastAuthenticatedTime() [1/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. AWS 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 408 of file AccessDetail.h.

◆ WithLastAuthenticatedTime() [2/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. AWS 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 419 of file AccessDetail.h.

◆ WithRegion() [1/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 245 of file AccessDetail.h.

◆ WithRegion() [2/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 254 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 263 of file AccessDetail.h.

◆ WithServiceName() [1/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 75 of file AccessDetail.h.

◆ WithServiceName() [2/3]

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

The name of the service in which access was attempted.

Definition at line 80 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 85 of file AccessDetail.h.

◆ WithServiceNamespace() [1/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, 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 164 of file AccessDetail.h.

◆ WithServiceNamespace() [2/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, 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 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, 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 190 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 444 of file AccessDetail.h.


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