AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
LookupDeveloperIdentityResult.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentity {
24namespace Model {
32 public:
33 AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult() = default;
36
38
41 inline const Aws::String& GetIdentityId() const { return m_identityId; }
42 template <typename IdentityIdT = Aws::String>
43 void SetIdentityId(IdentityIdT&& value) {
44 m_identityIdHasBeenSet = true;
45 m_identityId = std::forward<IdentityIdT>(value);
46 }
47 template <typename IdentityIdT = Aws::String>
49 SetIdentityId(std::forward<IdentityIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Vector<Aws::String>& GetDeveloperUserIdentifierList() const { return m_developerUserIdentifierList; }
61 template <typename DeveloperUserIdentifierListT = Aws::Vector<Aws::String>>
62 void SetDeveloperUserIdentifierList(DeveloperUserIdentifierListT&& value) {
63 m_developerUserIdentifierListHasBeenSet = true;
64 m_developerUserIdentifierList = std::forward<DeveloperUserIdentifierListT>(value);
65 }
66 template <typename DeveloperUserIdentifierListT = Aws::Vector<Aws::String>>
67 LookupDeveloperIdentityResult& WithDeveloperUserIdentifierList(DeveloperUserIdentifierListT&& value) {
68 SetDeveloperUserIdentifierList(std::forward<DeveloperUserIdentifierListT>(value));
69 return *this;
70 }
71 template <typename DeveloperUserIdentifierListT = Aws::String>
72 LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(DeveloperUserIdentifierListT&& value) {
73 m_developerUserIdentifierListHasBeenSet = true;
74 m_developerUserIdentifierList.emplace_back(std::forward<DeveloperUserIdentifierListT>(value));
75 return *this;
76 }
78
80
88 inline const Aws::String& GetNextToken() const { return m_nextToken; }
89 template <typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) {
91 m_nextTokenHasBeenSet = true;
92 m_nextToken = std::forward<NextTokenT>(value);
93 }
94 template <typename NextTokenT = Aws::String>
96 SetNextToken(std::forward<NextTokenT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_identityId;
119
120 Aws::Vector<Aws::String> m_developerUserIdentifierList;
121
122 Aws::String m_nextToken;
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_identityIdHasBeenSet = false;
127 bool m_developerUserIdentifierListHasBeenSet = false;
128 bool m_nextTokenHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace CognitoIdentity
134} // namespace Aws
AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LookupDeveloperIdentityResult & WithRequestId(RequestIdT &&value)
LookupDeveloperIdentityResult & AddDeveloperUserIdentifierList(DeveloperUserIdentifierListT &&value)
LookupDeveloperIdentityResult & WithDeveloperUserIdentifierList(DeveloperUserIdentifierListT &&value)
const Aws::Vector< Aws::String > & GetDeveloperUserIdentifierList() const
void SetDeveloperUserIdentifierList(DeveloperUserIdentifierListT &&value)
AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult()=default
LookupDeveloperIdentityResult & WithIdentityId(IdentityIdT &&value)
LookupDeveloperIdentityResult & WithNextToken(NextTokenT &&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