AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
UpdateUserPoolReplicaRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/UpdateReplicaStatusType.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 UpdateUserPoolReplicaRequest() = 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 "UpdateUserPoolReplica"; }
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
56 inline const Aws::String& GetRegionName() const { return m_regionName; }
57 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
58 template <typename RegionNameT = Aws::String>
59 void SetRegionName(RegionNameT&& value) {
60 m_regionNameHasBeenSet = true;
61 m_regionName = std::forward<RegionNameT>(value);
62 }
63 template <typename RegionNameT = Aws::String>
65 SetRegionName(std::forward<RegionNameT>(value));
66 return *this;
67 }
69
71
74 inline UpdateReplicaStatusType GetStatus() const { return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 m_statusHasBeenSet = true;
78 m_status = value;
79 }
81 SetStatus(value);
82 return *this;
83 }
85 private:
86 Aws::String m_userPoolId;
87
88 Aws::String m_regionName;
89
91 bool m_userPoolIdHasBeenSet = false;
92 bool m_regionNameHasBeenSet = false;
93 bool m_statusHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace CognitoIdentityProvider
98} // namespace Aws
UpdateUserPoolReplicaRequest & WithStatus(UpdateReplicaStatusType value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateUserPoolReplicaRequest & WithUserPoolId(UserPoolIdT &&value)
UpdateUserPoolReplicaRequest & WithRegionName(RegionNameT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolReplicaRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String