AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListIdentitiesResult.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/cognito-identity/model/IdentityDescription.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 ListIdentitiesResult() = default;
40
41
43
46 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
47 template<typename IdentityPoolIdT = Aws::String>
48 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
49 template<typename IdentityPoolIdT = Aws::String>
50 ListIdentitiesResult& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
52
54
57 inline const Aws::Vector<IdentityDescription>& GetIdentities() const { return m_identities; }
58 template<typename IdentitiesT = Aws::Vector<IdentityDescription>>
59 void SetIdentities(IdentitiesT&& value) { m_identitiesHasBeenSet = true; m_identities = std::forward<IdentitiesT>(value); }
60 template<typename IdentitiesT = Aws::Vector<IdentityDescription>>
61 ListIdentitiesResult& WithIdentities(IdentitiesT&& value) { SetIdentities(std::forward<IdentitiesT>(value)); return *this;}
62 template<typename IdentitiesT = IdentityDescription>
63 ListIdentitiesResult& AddIdentities(IdentitiesT&& value) { m_identitiesHasBeenSet = true; m_identities.emplace_back(std::forward<IdentitiesT>(value)); return *this; }
65
67
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 template<typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
73 template<typename NextTokenT = Aws::String>
74 ListIdentitiesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template<typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
82 template<typename RequestIdT = Aws::String>
83 ListIdentitiesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
85 private:
86
87 Aws::String m_identityPoolId;
88 bool m_identityPoolIdHasBeenSet = false;
89
91 bool m_identitiesHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CognitoIdentity
102} // namespace Aws
ListIdentitiesResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< IdentityDescription > & GetIdentities() const
ListIdentitiesResult & WithIdentityPoolId(IdentityPoolIdT &&value)
ListIdentitiesResult & WithIdentities(IdentitiesT &&value)
ListIdentitiesResult & AddIdentities(IdentitiesT &&value)
ListIdentitiesResult & WithNextToken(NextTokenT &&value)
AWS_COGNITOIDENTITY_API ListIdentitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COGNITOIDENTITY_API ListIdentitiesResult()=default
AWS_COGNITOIDENTITY_API ListIdentitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue