AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIdentityResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CognitoIdentity
26{
27namespace Model
28{
35 {
36 public:
37 AWS_COGNITOIDENTITY_API DescribeIdentityResult();
40
41
43
46 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
47 inline void SetIdentityId(const Aws::String& value) { m_identityId = value; }
48 inline void SetIdentityId(Aws::String&& value) { m_identityId = std::move(value); }
49 inline void SetIdentityId(const char* value) { m_identityId.assign(value); }
50 inline DescribeIdentityResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
51 inline DescribeIdentityResult& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
52 inline DescribeIdentityResult& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetLogins() const{ return m_logins; }
60 inline void SetLogins(const Aws::Vector<Aws::String>& value) { m_logins = value; }
61 inline void SetLogins(Aws::Vector<Aws::String>&& value) { m_logins = std::move(value); }
62 inline DescribeIdentityResult& WithLogins(const Aws::Vector<Aws::String>& value) { SetLogins(value); return *this;}
63 inline DescribeIdentityResult& WithLogins(Aws::Vector<Aws::String>&& value) { SetLogins(std::move(value)); return *this;}
64 inline DescribeIdentityResult& AddLogins(const Aws::String& value) { m_logins.push_back(value); return *this; }
65 inline DescribeIdentityResult& AddLogins(Aws::String&& value) { m_logins.push_back(std::move(value)); return *this; }
66 inline DescribeIdentityResult& AddLogins(const char* value) { m_logins.push_back(value); return *this; }
68
70
73 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
74 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
75 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
76 inline DescribeIdentityResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
77 inline DescribeIdentityResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
85 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
86 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
88 inline DescribeIdentityResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline DescribeIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline DescribeIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline DescribeIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_identityId;
104
106
107 Aws::Utils::DateTime m_creationDate;
108
109 Aws::Utils::DateTime m_lastModifiedDate;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace CognitoIdentity
116} // namespace Aws
DescribeIdentityResult & AddLogins(const Aws::String &value)
DescribeIdentityResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetLogins(Aws::Vector< Aws::String > &&value)
DescribeIdentityResult & WithRequestId(Aws::String &&value)
AWS_COGNITOIDENTITY_API DescribeIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeIdentityResult & AddLogins(const char *value)
DescribeIdentityResult & WithLogins(const Aws::Vector< Aws::String > &value)
AWS_COGNITOIDENTITY_API DescribeIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetLogins(const Aws::Vector< Aws::String > &value)
DescribeIdentityResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeIdentityResult & WithLogins(Aws::Vector< Aws::String > &&value)
DescribeIdentityResult & AddLogins(Aws::String &&value)
DescribeIdentityResult & WithIdentityId(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeIdentityResult & WithIdentityId(const Aws::String &value)
DescribeIdentityResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeIdentityResult & WithIdentityId(Aws::String &&value)
DescribeIdentityResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLogins() const
DescribeIdentityResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeIdentityResult & WithRequestId(const char *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