AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MergeDeveloperIdentitiesRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentityRequest.h>
8#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CognitoIdentity {
15namespace Model {
16
24 public:
25 AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "MergeDeveloperIdentities"; }
32
33 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
42 inline const Aws::String& GetSourceUserIdentifier() const { return m_sourceUserIdentifier; }
43 inline bool SourceUserIdentifierHasBeenSet() const { return m_sourceUserIdentifierHasBeenSet; }
44 template <typename SourceUserIdentifierT = Aws::String>
45 void SetSourceUserIdentifier(SourceUserIdentifierT&& value) {
46 m_sourceUserIdentifierHasBeenSet = true;
47 m_sourceUserIdentifier = std::forward<SourceUserIdentifierT>(value);
48 }
49 template <typename SourceUserIdentifierT = Aws::String>
51 SetSourceUserIdentifier(std::forward<SourceUserIdentifierT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetDestinationUserIdentifier() const { return m_destinationUserIdentifier; }
62 inline bool DestinationUserIdentifierHasBeenSet() const { return m_destinationUserIdentifierHasBeenSet; }
63 template <typename DestinationUserIdentifierT = Aws::String>
64 void SetDestinationUserIdentifier(DestinationUserIdentifierT&& value) {
65 m_destinationUserIdentifierHasBeenSet = true;
66 m_destinationUserIdentifier = std::forward<DestinationUserIdentifierT>(value);
67 }
68 template <typename DestinationUserIdentifierT = Aws::String>
70 SetDestinationUserIdentifier(std::forward<DestinationUserIdentifierT>(value));
71 return *this;
72 }
74
76
83 inline const Aws::String& GetDeveloperProviderName() const { return m_developerProviderName; }
84 inline bool DeveloperProviderNameHasBeenSet() const { return m_developerProviderNameHasBeenSet; }
85 template <typename DeveloperProviderNameT = Aws::String>
86 void SetDeveloperProviderName(DeveloperProviderNameT&& value) {
87 m_developerProviderNameHasBeenSet = true;
88 m_developerProviderName = std::forward<DeveloperProviderNameT>(value);
89 }
90 template <typename DeveloperProviderNameT = Aws::String>
92 SetDeveloperProviderName(std::forward<DeveloperProviderNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
102 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
103 template <typename IdentityPoolIdT = Aws::String>
104 void SetIdentityPoolId(IdentityPoolIdT&& value) {
105 m_identityPoolIdHasBeenSet = true;
106 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
107 }
108 template <typename IdentityPoolIdT = Aws::String>
110 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_sourceUserIdentifier;
116
117 Aws::String m_destinationUserIdentifier;
118
119 Aws::String m_developerProviderName;
120
121 Aws::String m_identityPoolId;
122 bool m_sourceUserIdentifierHasBeenSet = false;
123 bool m_destinationUserIdentifierHasBeenSet = false;
124 bool m_developerProviderNameHasBeenSet = false;
125 bool m_identityPoolIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace CognitoIdentity
130} // 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