AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MergeDeveloperIdentitiesRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/CognitoIdentityRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CognitoIdentity
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "MergeDeveloperIdentities"; }
35
36 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
37
38 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const Aws::String& GetSourceUserIdentifier() const { return m_sourceUserIdentifier; }
47 inline bool SourceUserIdentifierHasBeenSet() const { return m_sourceUserIdentifierHasBeenSet; }
48 template<typename SourceUserIdentifierT = Aws::String>
49 void SetSourceUserIdentifier(SourceUserIdentifierT&& value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier = std::forward<SourceUserIdentifierT>(value); }
50 template<typename SourceUserIdentifierT = Aws::String>
51 MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(SourceUserIdentifierT&& value) { SetSourceUserIdentifier(std::forward<SourceUserIdentifierT>(value)); return *this;}
53
55
59 inline const Aws::String& GetDestinationUserIdentifier() const { return m_destinationUserIdentifier; }
60 inline bool DestinationUserIdentifierHasBeenSet() const { return m_destinationUserIdentifierHasBeenSet; }
61 template<typename DestinationUserIdentifierT = Aws::String>
62 void SetDestinationUserIdentifier(DestinationUserIdentifierT&& value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier = std::forward<DestinationUserIdentifierT>(value); }
63 template<typename DestinationUserIdentifierT = Aws::String>
64 MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(DestinationUserIdentifierT&& value) { SetDestinationUserIdentifier(std::forward<DestinationUserIdentifierT>(value)); return *this;}
66
68
75 inline const Aws::String& GetDeveloperProviderName() const { return m_developerProviderName; }
76 inline bool DeveloperProviderNameHasBeenSet() const { return m_developerProviderNameHasBeenSet; }
77 template<typename DeveloperProviderNameT = Aws::String>
78 void SetDeveloperProviderName(DeveloperProviderNameT&& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = std::forward<DeveloperProviderNameT>(value); }
79 template<typename DeveloperProviderNameT = Aws::String>
80 MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(DeveloperProviderNameT&& value) { SetDeveloperProviderName(std::forward<DeveloperProviderNameT>(value)); return *this;}
82
84
87 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
88 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
89 template<typename IdentityPoolIdT = Aws::String>
90 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
91 template<typename IdentityPoolIdT = Aws::String>
92 MergeDeveloperIdentitiesRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
94 private:
95
96 Aws::String m_sourceUserIdentifier;
97 bool m_sourceUserIdentifierHasBeenSet = false;
98
99 Aws::String m_destinationUserIdentifier;
100 bool m_destinationUserIdentifierHasBeenSet = false;
101
102 Aws::String m_developerProviderName;
103 bool m_developerProviderNameHasBeenSet = false;
104
105 Aws::String m_identityPoolId;
106 bool m_identityPoolIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CognitoIdentity
111} // namespace Aws
MergeDeveloperIdentitiesRequest & WithDestinationUserIdentifier(DestinationUserIdentifierT &&value)
MergeDeveloperIdentitiesRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
MergeDeveloperIdentitiesRequest & WithDeveloperProviderName(DeveloperProviderNameT &&value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
MergeDeveloperIdentitiesRequest & WithSourceUserIdentifier(SourceUserIdentifierT &&value)
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String