AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdentityIdT = Aws::String>
49 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
50 template<typename IdentityIdT = Aws::String>
51 IdentityDescription& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetLogins() const { return m_logins; }
59 inline bool LoginsHasBeenSet() const { return m_loginsHasBeenSet; }
60 template<typename LoginsT = Aws::Vector<Aws::String>>
61 void SetLogins(LoginsT&& value) { m_loginsHasBeenSet = true; m_logins = std::forward<LoginsT>(value); }
62 template<typename LoginsT = Aws::Vector<Aws::String>>
63 IdentityDescription& WithLogins(LoginsT&& value) { SetLogins(std::forward<LoginsT>(value)); return *this;}
64 template<typename LoginsT = Aws::String>
65 IdentityDescription& AddLogins(LoginsT&& value) { m_loginsHasBeenSet = true; m_logins.emplace_back(std::forward<LoginsT>(value)); return *this; }
67
69
72 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
73 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
74 template<typename CreationDateT = Aws::Utils::DateTime>
75 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
76 template<typename CreationDateT = Aws::Utils::DateTime>
77 IdentityDescription& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
85 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
86 template<typename LastModifiedDateT = Aws::Utils::DateTime>
87 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
88 template<typename LastModifiedDateT = Aws::Utils::DateTime>
89 IdentityDescription& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
96 template<typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
98 template<typename RequestIdT = Aws::String>
99 IdentityDescription& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
101 private:
102
103 Aws::String m_identityId;
104 bool m_identityIdHasBeenSet = false;
105
107 bool m_loginsHasBeenSet = false;
108
109 Aws::Utils::DateTime m_creationDate{};
110 bool m_creationDateHasBeenSet = false;
111
112 Aws::Utils::DateTime m_lastModifiedDate{};
113 bool m_lastModifiedDateHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace CognitoIdentity
121} // namespace Aws
AWS_COGNITOIDENTITY_API IdentityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityDescription & WithIdentityId(IdentityIdT &&value)
IdentityDescription & WithLogins(LoginsT &&value)
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityDescription & WithCreationDate(CreationDateT &&value)
IdentityDescription & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_COGNITOIDENTITY_API IdentityDescription(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedDate(LastModifiedDateT &&value)
IdentityDescription & AddLogins(LoginsT &&value)
IdentityDescription & WithRequestId(RequestIdT &&value)
AWS_COGNITOIDENTITY_API IdentityDescription()=default
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::Vector< Aws::String > & GetLogins() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue