AWS SDK for C++

AWS SDK for C++ Version 1.11.818

Loading...
Searching...
No Matches
CreateUserPoolReplicaRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CognitoIdentityProvider {
16namespace Model {
17
21 public:
22 AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolReplicaRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateUserPoolReplica"; }
29
30 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
31
32 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
39 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
40 template <typename UserPoolIdT = Aws::String>
41 void SetUserPoolId(UserPoolIdT&& value) {
42 m_userPoolIdHasBeenSet = true;
43 m_userPoolId = std::forward<UserPoolIdT>(value);
44 }
45 template <typename UserPoolIdT = Aws::String>
47 SetUserPoolId(std::forward<UserPoolIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetRegionName() const { return m_regionName; }
58 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
59 template <typename RegionNameT = Aws::String>
60 void SetRegionName(RegionNameT&& value) {
61 m_regionNameHasBeenSet = true;
62 m_regionName = std::forward<RegionNameT>(value);
63 }
64 template <typename RegionNameT = Aws::String>
66 SetRegionName(std::forward<RegionNameT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::Map<Aws::String, Aws::String>& GetUserPoolTags() const { return m_userPoolTags; }
78 inline bool UserPoolTagsHasBeenSet() const { return m_userPoolTagsHasBeenSet; }
79 template <typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
80 void SetUserPoolTags(UserPoolTagsT&& value) {
81 m_userPoolTagsHasBeenSet = true;
82 m_userPoolTags = std::forward<UserPoolTagsT>(value);
83 }
84 template <typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
86 SetUserPoolTags(std::forward<UserPoolTagsT>(value));
87 return *this;
88 }
89 template <typename UserPoolTagsKeyT = Aws::String, typename UserPoolTagsValueT = Aws::String>
90 CreateUserPoolReplicaRequest& AddUserPoolTags(UserPoolTagsKeyT&& key, UserPoolTagsValueT&& value) {
91 m_userPoolTagsHasBeenSet = true;
92 m_userPoolTags.emplace(std::forward<UserPoolTagsKeyT>(key), std::forward<UserPoolTagsValueT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_userPoolId;
98
99 Aws::String m_regionName;
100
102 bool m_userPoolIdHasBeenSet = false;
103 bool m_regionNameHasBeenSet = false;
104 bool m_userPoolTagsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace CognitoIdentityProvider
109} // namespace Aws
CreateUserPoolReplicaRequest & WithRegionName(RegionNameT &&value)
CreateUserPoolReplicaRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserPoolReplicaRequest & WithUserPoolTags(UserPoolTagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetUserPoolTags() const
CreateUserPoolReplicaRequest & AddUserPoolTags(UserPoolTagsKeyT &&key, UserPoolTagsValueT &&value)
AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolReplicaRequest()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String