AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntityInfo(const EntityInfo& value) { m_entityInfoHasBeenSet = true; m_entityInfo = value; }
55 inline void SetEntityInfo(EntityInfo&& value) { m_entityInfoHasBeenSet = true; m_entityInfo = std::move(value); }
56 inline EntityDetails& WithEntityInfo(const EntityInfo& value) { SetEntityInfo(value); return *this;}
57 inline EntityDetails& WithEntityInfo(EntityInfo&& value) { SetEntityInfo(std::move(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 inline void SetLastAuthenticated(const Aws::Utils::DateTime& value) { m_lastAuthenticatedHasBeenSet = true; m_lastAuthenticated = value; }
73 inline void SetLastAuthenticated(Aws::Utils::DateTime&& value) { m_lastAuthenticatedHasBeenSet = true; m_lastAuthenticated = std::move(value); }
75 inline EntityDetails& WithLastAuthenticated(Aws::Utils::DateTime&& value) { SetLastAuthenticated(std::move(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
void SetLastAuthenticated(const Aws::Utils::DateTime &value)
void SetEntityInfo(const EntityInfo &value)
EntityDetails & WithEntityInfo(const EntityInfo &value)
EntityDetails & WithLastAuthenticated(const Aws::Utils::DateTime &value)
void SetLastAuthenticated(Aws::Utils::DateTime &&value)
void SetEntityInfo(EntityInfo &&value)
EntityDetails & WithEntityInfo(EntityInfo &&value)
const EntityInfo & GetEntityInfo() const
EntityDetails & WithLastAuthenticated(Aws::Utils::DateTime &&value)
AWS_IAM_API EntityDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream