AWS SDK for C++  0.12.9
AWS SDK for C++
MergeDeveloperIdentitiesRequest.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 
42  inline const Aws::String& GetSourceUserIdentifier() const{ return m_sourceUserIdentifier; }
43 
48  inline void SetSourceUserIdentifier(const Aws::String& value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier = value; }
49 
54  inline void SetSourceUserIdentifier(Aws::String&& value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier = value; }
55 
60  inline void SetSourceUserIdentifier(const char* value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier.assign(value); }
61 
66  inline MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(const Aws::String& value) { SetSourceUserIdentifier(value); return *this;}
67 
72  inline MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(Aws::String&& value) { SetSourceUserIdentifier(value); return *this;}
73 
78  inline MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(const char* value) { SetSourceUserIdentifier(value); return *this;}
79 
84  inline const Aws::String& GetDestinationUserIdentifier() const{ return m_destinationUserIdentifier; }
85 
90  inline void SetDestinationUserIdentifier(const Aws::String& value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier = value; }
91 
96  inline void SetDestinationUserIdentifier(Aws::String&& value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier = value; }
97 
102  inline void SetDestinationUserIdentifier(const char* value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier.assign(value); }
103 
108  inline MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(const Aws::String& value) { SetDestinationUserIdentifier(value); return *this;}
109 
114  inline MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(Aws::String&& value) { SetDestinationUserIdentifier(value); return *this;}
115 
120  inline MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(const char* value) { SetDestinationUserIdentifier(value); return *this;}
121 
129  inline const Aws::String& GetDeveloperProviderName() const{ return m_developerProviderName; }
130 
138  inline void SetDeveloperProviderName(const Aws::String& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = value; }
139 
147  inline void SetDeveloperProviderName(Aws::String&& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = value; }
148 
156  inline void SetDeveloperProviderName(const char* value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName.assign(value); }
157 
165  inline MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(const Aws::String& value) { SetDeveloperProviderName(value); return *this;}
166 
174  inline MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(Aws::String&& value) { SetDeveloperProviderName(value); return *this;}
175 
183  inline MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(const char* value) { SetDeveloperProviderName(value); return *this;}
184 
188  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
189 
193  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
194 
198  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
199 
203  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
204 
208  inline MergeDeveloperIdentitiesRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
209 
213  inline MergeDeveloperIdentitiesRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(value); return *this;}
214 
218  inline MergeDeveloperIdentitiesRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
219 
220  private:
221  Aws::String m_sourceUserIdentifier;
222  bool m_sourceUserIdentifierHasBeenSet;
223  Aws::String m_destinationUserIdentifier;
224  bool m_destinationUserIdentifierHasBeenSet;
225  Aws::String m_developerProviderName;
226  bool m_developerProviderNameHasBeenSet;
227  Aws::String m_identityPoolId;
228  bool m_identityPoolIdHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace CognitoIdentity
233 } // namespace Aws
MergeDeveloperIdentitiesRequest & WithSourceUserIdentifier(Aws::String &&value)
MergeDeveloperIdentitiesRequest & WithDestinationUserIdentifier(const Aws::String &value)
MergeDeveloperIdentitiesRequest & WithIdentityPoolId(const char *value)
MergeDeveloperIdentitiesRequest & WithDeveloperProviderName(const char *value)
MergeDeveloperIdentitiesRequest & WithIdentityPoolId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
MergeDeveloperIdentitiesRequest & WithIdentityPoolId(Aws::String &&value)
MergeDeveloperIdentitiesRequest & WithSourceUserIdentifier(const char *value)
MergeDeveloperIdentitiesRequest & WithDeveloperProviderName(const Aws::String &value)
#define AWS_COGNITOIDENTITY_API
MergeDeveloperIdentitiesRequest & WithSourceUserIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
MergeDeveloperIdentitiesRequest & WithDestinationUserIdentifier(const char *value)
MergeDeveloperIdentitiesRequest & WithDeveloperProviderName(Aws::String &&value)
MergeDeveloperIdentitiesRequest & WithDestinationUserIdentifier(Aws::String &&value)
JSON (JavaScript Object Notation).