AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EntityDetails.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/iam/model/EntityInfo.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace IAM
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_IAM_API EntityDetails() = default;
40 AWS_IAM_API EntityDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_IAM_API EntityDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_IAM_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_IAM_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
52 inline const EntityInfo& GetEntityInfo() const { return m_entityInfo; }
53 inline bool EntityInfoHasBeenSet() const { return m_entityInfoHasBeenSet; }
54 template<typename EntityInfoT = EntityInfo>
55 void SetEntityInfo(EntityInfoT&& value) { m_entityInfoHasBeenSet = true; m_entityInfo = std::forward<EntityInfoT>(value); }
56 template<typename EntityInfoT = EntityInfo>
57 EntityDetails& WithEntityInfo(EntityInfoT&& value) { SetEntityInfo(std::forward<EntityInfoT>(value)); return *this;}
59
61
70 inline const Aws::Utils::DateTime& GetLastAuthenticated() const { return m_lastAuthenticated; }
71 inline bool LastAuthenticatedHasBeenSet() const { return m_lastAuthenticatedHasBeenSet; }
72 template<typename LastAuthenticatedT = Aws::Utils::DateTime>
73 void SetLastAuthenticated(LastAuthenticatedT&& value) { m_lastAuthenticatedHasBeenSet = true; m_lastAuthenticated = std::forward<LastAuthenticatedT>(value); }
74 template<typename LastAuthenticatedT = Aws::Utils::DateTime>
75 EntityDetails& WithLastAuthenticated(LastAuthenticatedT&& value) { SetLastAuthenticated(std::forward<LastAuthenticatedT>(value)); return *this;}
77 private:
78
79 EntityInfo m_entityInfo;
80 bool m_entityInfoHasBeenSet = false;
81
82 Aws::Utils::DateTime m_lastAuthenticated{};
83 bool m_lastAuthenticatedHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IAM
88} // namespace Aws
AWS_IAM_API EntityDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetLastAuthenticated() const
EntityDetails & WithLastAuthenticated(LastAuthenticatedT &&value)
AWS_IAM_API EntityDetails()=default
EntityDetails & WithEntityInfo(EntityInfoT &&value)
void SetEntityInfo(EntityInfoT &&value)
const EntityInfo & GetEntityInfo() const
AWS_IAM_API EntityDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLastAuthenticated(LastAuthenticatedT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream