AWS SDK for C++  0.12.9
AWS SDK for C++
LookupDeveloperIdentityResult.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 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace CognitoIdentity
33 {
34 namespace Model
35 {
41  {
42  public:
46 
50  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
51 
55  inline void SetIdentityId(const Aws::String& value) { m_identityId = value; }
56 
60  inline void SetIdentityId(Aws::String&& value) { m_identityId = value; }
61 
65  inline void SetIdentityId(const char* value) { m_identityId.assign(value); }
66 
70  inline LookupDeveloperIdentityResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
71 
75  inline LookupDeveloperIdentityResult& WithIdentityId(Aws::String&& value) { SetIdentityId(value); return *this;}
76 
80  inline LookupDeveloperIdentityResult& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
81 
87  inline const Aws::Vector<Aws::String>& GetDeveloperUserIdentifierList() const{ return m_developerUserIdentifierList; }
88 
94  inline void SetDeveloperUserIdentifierList(const Aws::Vector<Aws::String>& value) { m_developerUserIdentifierList = value; }
95 
101  inline void SetDeveloperUserIdentifierList(Aws::Vector<Aws::String>&& value) { m_developerUserIdentifierList = value; }
102 
108  inline LookupDeveloperIdentityResult& WithDeveloperUserIdentifierList(const Aws::Vector<Aws::String>& value) { SetDeveloperUserIdentifierList(value); return *this;}
109 
115  inline LookupDeveloperIdentityResult& WithDeveloperUserIdentifierList(Aws::Vector<Aws::String>&& value) { SetDeveloperUserIdentifierList(value); return *this;}
116 
122  inline LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(const Aws::String& value) { m_developerUserIdentifierList.push_back(value); return *this; }
123 
129  inline LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(Aws::String&& value) { m_developerUserIdentifierList.push_back(value); return *this; }
130 
136  inline LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(const char* value) { m_developerUserIdentifierList.push_back(value); return *this; }
137 
146  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
147 
156  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
157 
166  inline void SetNextToken(Aws::String&& value) { m_nextToken = value; }
167 
176  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
177 
186  inline LookupDeveloperIdentityResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
187 
196  inline LookupDeveloperIdentityResult& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
197 
206  inline LookupDeveloperIdentityResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
207 
208  private:
209  Aws::String m_identityId;
210  Aws::Vector<Aws::String> m_developerUserIdentifierList;
211  Aws::String m_nextToken;
212  };
213 
214 } // namespace Model
215 } // namespace CognitoIdentity
216 } // namespace Aws
LookupDeveloperIdentityResult & AddDeveloperUserIdentifierList(const Aws::String &value)
LookupDeveloperIdentityResult & WithDeveloperUserIdentifierList(const Aws::Vector< Aws::String > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
LookupDeveloperIdentityResult & WithIdentityId(const char *value)
const Aws::Vector< Aws::String > & GetDeveloperUserIdentifierList() const
LookupDeveloperIdentityResult & AddDeveloperUserIdentifierList(const char *value)
LookupDeveloperIdentityResult & WithNextToken(const char *value)
#define AWS_COGNITOIDENTITY_API
LookupDeveloperIdentityResult & WithIdentityId(const Aws::String &value)
void SetDeveloperUserIdentifierList(const Aws::Vector< Aws::String > &value)
LookupDeveloperIdentityResult & WithDeveloperUserIdentifierList(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
LookupDeveloperIdentityResult & WithNextToken(const Aws::String &value)
LookupDeveloperIdentityResult & AddDeveloperUserIdentifierList(Aws::String &&value)
LookupDeveloperIdentityResult & WithNextToken(Aws::String &&value)
JSON (JavaScript Object Notation).
LookupDeveloperIdentityResult & WithIdentityId(Aws::String &&value)