AWS SDK for C++  0.14.3
AWS SDK for C++
LookupDeveloperIdentityRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace CognitoIdentity
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
41  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
42 
46  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
47 
51  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
52 
56  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
57 
61  inline LookupDeveloperIdentityRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
62 
66  inline LookupDeveloperIdentityRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(value); return *this;}
67 
71  inline LookupDeveloperIdentityRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
72 
76  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
77 
81  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
82 
86  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
87 
91  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
92 
96  inline LookupDeveloperIdentityRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
97 
101  inline LookupDeveloperIdentityRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(value); return *this;}
102 
106  inline LookupDeveloperIdentityRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
107 
113  inline const Aws::String& GetDeveloperUserIdentifier() const{ return m_developerUserIdentifier; }
114 
120  inline void SetDeveloperUserIdentifier(const Aws::String& value) { m_developerUserIdentifierHasBeenSet = true; m_developerUserIdentifier = value; }
121 
127  inline void SetDeveloperUserIdentifier(Aws::String&& value) { m_developerUserIdentifierHasBeenSet = true; m_developerUserIdentifier = value; }
128 
134  inline void SetDeveloperUserIdentifier(const char* value) { m_developerUserIdentifierHasBeenSet = true; m_developerUserIdentifier.assign(value); }
135 
141  inline LookupDeveloperIdentityRequest& WithDeveloperUserIdentifier(const Aws::String& value) { SetDeveloperUserIdentifier(value); return *this;}
142 
148  inline LookupDeveloperIdentityRequest& WithDeveloperUserIdentifier(Aws::String&& value) { SetDeveloperUserIdentifier(value); return *this;}
149 
155  inline LookupDeveloperIdentityRequest& WithDeveloperUserIdentifier(const char* value) { SetDeveloperUserIdentifier(value); return *this;}
156 
160  inline int GetMaxResults() const{ return m_maxResults; }
161 
165  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
166 
170  inline LookupDeveloperIdentityRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
171 
180  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
181 
190  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
191 
200  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
201 
210  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
211 
220  inline LookupDeveloperIdentityRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
221 
230  inline LookupDeveloperIdentityRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
231 
240  inline LookupDeveloperIdentityRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
241 
242  private:
243  Aws::String m_identityPoolId;
244  bool m_identityPoolIdHasBeenSet;
245  Aws::String m_identityId;
246  bool m_identityIdHasBeenSet;
247  Aws::String m_developerUserIdentifier;
248  bool m_developerUserIdentifierHasBeenSet;
249  int m_maxResults;
250  bool m_maxResultsHasBeenSet;
251  Aws::String m_nextToken;
252  bool m_nextTokenHasBeenSet;
253  };
254 
255 } // namespace Model
256 } // namespace CognitoIdentity
257 } // namespace Aws
LookupDeveloperIdentityRequest & WithDeveloperUserIdentifier(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
LookupDeveloperIdentityRequest & WithIdentityId(const Aws::String &value)
LookupDeveloperIdentityRequest & WithNextToken(const char *value)
LookupDeveloperIdentityRequest & WithIdentityPoolId(const Aws::String &value)
LookupDeveloperIdentityRequest & WithNextToken(const Aws::String &value)
LookupDeveloperIdentityRequest & WithNextToken(Aws::String &&value)
LookupDeveloperIdentityRequest & WithIdentityId(Aws::String &&value)
LookupDeveloperIdentityRequest & WithIdentityId(const char *value)
#define AWS_COGNITOIDENTITY_API
LookupDeveloperIdentityRequest & WithDeveloperUserIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
LookupDeveloperIdentityRequest & WithIdentityPoolId(const char *value)
LookupDeveloperIdentityRequest & WithIdentityPoolId(Aws::String &&value)
LookupDeveloperIdentityRequest & WithDeveloperUserIdentifier(const Aws::String &value)
JSON (JavaScript Object Notation).