AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoginProfile.h
1
6#pragma once
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>
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
35 {
36 public:
37 AWS_IAM_API LoginProfile();
38 AWS_IAM_API LoginProfile(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_IAM_API LoginProfile& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_IAM_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_IAM_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetUserName() const{ return m_userName; }
51 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
52 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
53 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
54 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
55 inline LoginProfile& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
56 inline LoginProfile& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
57 inline LoginProfile& WithUserName(const char* value) { SetUserName(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
65 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
66 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
67 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
68 inline LoginProfile& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
69 inline LoginProfile& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
71
73
77 inline bool GetPasswordResetRequired() const{ return m_passwordResetRequired; }
78 inline bool PasswordResetRequiredHasBeenSet() const { return m_passwordResetRequiredHasBeenSet; }
79 inline void SetPasswordResetRequired(bool value) { m_passwordResetRequiredHasBeenSet = true; m_passwordResetRequired = value; }
80 inline LoginProfile& WithPasswordResetRequired(bool value) { SetPasswordResetRequired(value); return *this;}
82 private:
83
84 Aws::String m_userName;
85 bool m_userNameHasBeenSet = false;
86
87 Aws::Utils::DateTime m_createDate;
88 bool m_createDateHasBeenSet = false;
89
90 bool m_passwordResetRequired;
91 bool m_passwordResetRequiredHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IAM
96} // namespace Aws
AWS_IAM_API LoginProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCreateDate(Aws::Utils::DateTime &&value)
bool GetPasswordResetRequired() const
void SetPasswordResetRequired(bool value)
LoginProfile & WithUserName(const char *value)
LoginProfile & WithUserName(Aws::String &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
LoginProfile & WithUserName(const Aws::String &value)
void SetUserName(Aws::String &&value)
LoginProfile & WithCreateDate(const Aws::Utils::DateTime &value)
const Aws::String & GetUserName() const
bool PasswordResetRequiredHasBeenSet() const
const Aws::Utils::DateTime & GetCreateDate() const
LoginProfile & WithPasswordResetRequired(bool value)
void SetUserName(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUserName(const char *value)
LoginProfile & WithCreateDate(Aws::Utils::DateTime &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IAM_API LoginProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream