AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityDescription.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentity
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_COGNITOIDENTITY_API IdentityDescription();
37 AWS_COGNITOIDENTITY_API IdentityDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COGNITOIDENTITY_API IdentityDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
47 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
48 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
49 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
50 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
51 inline IdentityDescription& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
52 inline IdentityDescription& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
53 inline IdentityDescription& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetLogins() const{ return m_logins; }
61 inline bool LoginsHasBeenSet() const { return m_loginsHasBeenSet; }
62 inline void SetLogins(const Aws::Vector<Aws::String>& value) { m_loginsHasBeenSet = true; m_logins = value; }
63 inline void SetLogins(Aws::Vector<Aws::String>&& value) { m_loginsHasBeenSet = true; m_logins = std::move(value); }
64 inline IdentityDescription& WithLogins(const Aws::Vector<Aws::String>& value) { SetLogins(value); return *this;}
65 inline IdentityDescription& WithLogins(Aws::Vector<Aws::String>&& value) { SetLogins(std::move(value)); return *this;}
66 inline IdentityDescription& AddLogins(const Aws::String& value) { m_loginsHasBeenSet = true; m_logins.push_back(value); return *this; }
67 inline IdentityDescription& AddLogins(Aws::String&& value) { m_loginsHasBeenSet = true; m_logins.push_back(std::move(value)); return *this; }
68 inline IdentityDescription& AddLogins(const char* value) { m_loginsHasBeenSet = true; m_logins.push_back(value); return *this; }
70
72
75 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
76 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
77 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
78 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
79 inline IdentityDescription& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
80 inline IdentityDescription& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
88 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
89 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
90 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
92 inline IdentityDescription& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const{ return m_requestId; }
98 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
99 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
102 inline IdentityDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline IdentityDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline IdentityDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_identityId;
109 bool m_identityIdHasBeenSet = false;
110
112 bool m_loginsHasBeenSet = false;
113
114 Aws::Utils::DateTime m_creationDate;
115 bool m_creationDateHasBeenSet = false;
116
117 Aws::Utils::DateTime m_lastModifiedDate;
118 bool m_lastModifiedDateHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CognitoIdentity
126} // namespace Aws
AWS_COGNITOIDENTITY_API IdentityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityDescription & WithLogins(const Aws::Vector< Aws::String > &value)
IdentityDescription & AddLogins(const Aws::String &value)
IdentityDescription & WithIdentityId(const Aws::String &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
IdentityDescription & WithRequestId(const char *value)
IdentityDescription & WithLastModifiedDate(Aws::Utils::DateTime &&value)
IdentityDescription & WithIdentityId(const char *value)
AWS_COGNITOIDENTITY_API IdentityDescription(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(const Aws::Utils::DateTime &value)
IdentityDescription & WithRequestId(const Aws::String &value)
IdentityDescription & AddLogins(Aws::String &&value)
void SetLogins(Aws::Vector< Aws::String > &&value)
IdentityDescription & WithRequestId(Aws::String &&value)
IdentityDescription & WithIdentityId(Aws::String &&value)
IdentityDescription & WithCreationDate(const Aws::Utils::DateTime &value)
void SetLogins(const Aws::Vector< Aws::String > &value)
IdentityDescription & WithLogins(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
IdentityDescription & AddLogins(const char *value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
IdentityDescription & WithLastModifiedDate(const Aws::Utils::DateTime &value)
IdentityDescription & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetLogins() const
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue