7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
55 template<
typename ServiceNameT = Aws::String>
56 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
57 template<
typename ServiceNameT = Aws::String>
77 template<
typename ServiceNamespaceT = Aws::String>
78 void SetServiceNamespace(ServiceNamespaceT&& value) { m_serviceNamespaceHasBeenSet =
true; m_serviceNamespace = std::forward<ServiceNamespaceT>(value); }
79 template<
typename ServiceNamespaceT = Aws::String>
93 template<
typename RegionT = Aws::String>
94 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
95 template<
typename RegionT = Aws::String>
111 template<
typename EntityPathT = Aws::String>
112 void SetEntityPath(EntityPathT&& value) { m_entityPathHasBeenSet =
true; m_entityPath = std::forward<EntityPathT>(value); }
113 template<
typename EntityPathT = Aws::String>
129 template<
typename LastAuthenticatedTimeT = Aws::Utils::DateTime>
130 void SetLastAuthenticatedTime(LastAuthenticatedTimeT&& value) { m_lastAuthenticatedTimeHasBeenSet =
true; m_lastAuthenticatedTime = std::forward<LastAuthenticatedTimeT>(value); }
131 template<
typename LastAuthenticatedTimeT = Aws::Utils::DateTime>
148 bool m_serviceNameHasBeenSet =
false;
151 bool m_serviceNamespaceHasBeenSet =
false;
154 bool m_regionHasBeenSet =
false;
157 bool m_entityPathHasBeenSet =
false;
160 bool m_lastAuthenticatedTimeHasBeenSet =
false;
162 int m_totalAuthenticatedEntities{0};
163 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