7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/IAM_EXPORTS.h>
49 template <
typename ServiceNameT = Aws::String>
51 m_serviceNameHasBeenSet =
true;
52 m_serviceName = std::forward<ServiceNameT>(value);
54 template <
typename ServiceNameT = Aws::String>
77 template <
typename ServiceNamespaceT = Aws::String>
79 m_serviceNamespaceHasBeenSet =
true;
80 m_serviceNamespace = std::forward<ServiceNamespaceT>(value);
82 template <
typename ServiceNamespaceT = Aws::String>
99 template <
typename RegionT = Aws::String>
101 m_regionHasBeenSet =
true;
102 m_region = std::forward<RegionT>(value);
104 template <
typename RegionT = Aws::String>
123 template <
typename EntityPathT = Aws::String>
125 m_entityPathHasBeenSet =
true;
126 m_entityPath = std::forward<EntityPathT>(value);
128 template <
typename EntityPathT = Aws::String>
147 template <
typename LastAuthenticatedTimeT = Aws::Utils::DateTime>
149 m_lastAuthenticatedTimeHasBeenSet =
true;
150 m_lastAuthenticatedTime = std::forward<LastAuthenticatedTimeT>(value);
152 template <
typename LastAuthenticatedTimeT = Aws::Utils::DateTime>
167 m_totalAuthenticatedEntitiesHasBeenSet =
true;
168 m_totalAuthenticatedEntities = value;
186 int m_totalAuthenticatedEntities{0};
187 bool m_serviceNameHasBeenSet =
false;
188 bool m_serviceNamespaceHasBeenSet =
false;
189 bool m_regionHasBeenSet =
false;
190 bool m_entityPathHasBeenSet =
false;
191 bool m_lastAuthenticatedTimeHasBeenSet =
false;
192 bool m_totalAuthenticatedEntitiesHasBeenSet =
false;
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetServiceName(ServiceNameT &&value)
AccessDetail & WithTotalAuthenticatedEntities(int value)
const Aws::Utils::DateTime & GetLastAuthenticatedTime() const
AccessDetail & WithEntityPath(EntityPathT &&value)
bool TotalAuthenticatedEntitiesHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccessDetail & WithLastAuthenticatedTime(LastAuthenticatedTimeT &&value)
void SetLastAuthenticatedTime(LastAuthenticatedTimeT &&value)
AWS_IAM_API AccessDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool EntityPathHasBeenSet() const
void SetEntityPath(EntityPathT &&value)
AccessDetail & WithServiceName(ServiceNameT &&value)
const Aws::String & GetRegion() const
bool ServiceNameHasBeenSet() const
const Aws::String & GetEntityPath() const
const Aws::String & GetServiceNamespace() const
void SetServiceNamespace(ServiceNamespaceT &&value)
AWS_IAM_API AccessDetail()=default
void SetTotalAuthenticatedEntities(int value)
int GetTotalAuthenticatedEntities() const
bool ServiceNamespaceHasBeenSet() const
bool LastAuthenticatedTimeHasBeenSet() const
void SetRegion(RegionT &&value)
AWS_IAM_API AccessDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessDetail & WithRegion(RegionT &&value)
AccessDetail & WithServiceNamespace(ServiceNamespaceT &&value)
bool RegionHasBeenSet() const
const Aws::String & GetServiceName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream