AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
UpdateUserPoolDomainRequest.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/CustomDomainConfigType.h>
10#include <aws/cognito-idp/model/RoutingType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CognitoIdentityProvider {
17namespace Model {
18
25 public:
26 AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolDomainRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserPoolDomain"; }
33
34 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
35
36 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
44 inline const Aws::String& GetDomain() const { return m_domain; }
45 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
46 template <typename DomainT = Aws::String>
47 void SetDomain(DomainT&& value) {
48 m_domainHasBeenSet = true;
49 m_domain = std::forward<DomainT>(value);
50 }
51 template <typename DomainT = Aws::String>
53 SetDomain(std::forward<DomainT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
64 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
65 template <typename UserPoolIdT = Aws::String>
66 void SetUserPoolId(UserPoolIdT&& value) {
67 m_userPoolIdHasBeenSet = true;
68 m_userPoolId = std::forward<UserPoolIdT>(value);
69 }
70 template <typename UserPoolIdT = Aws::String>
72 SetUserPoolId(std::forward<UserPoolIdT>(value));
73 return *this;
74 }
76
78
85 inline int GetManagedLoginVersion() const { return m_managedLoginVersion; }
86 inline bool ManagedLoginVersionHasBeenSet() const { return m_managedLoginVersionHasBeenSet; }
87 inline void SetManagedLoginVersion(int value) {
88 m_managedLoginVersionHasBeenSet = true;
89 m_managedLoginVersion = value;
90 }
93 return *this;
94 }
96
98
108 inline const CustomDomainConfigType& GetCustomDomainConfig() const { return m_customDomainConfig; }
109 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
110 template <typename CustomDomainConfigT = CustomDomainConfigType>
111 void SetCustomDomainConfig(CustomDomainConfigT&& value) {
112 m_customDomainConfigHasBeenSet = true;
113 m_customDomainConfig = std::forward<CustomDomainConfigT>(value);
114 }
115 template <typename CustomDomainConfigT = CustomDomainConfigType>
117 SetCustomDomainConfig(std::forward<CustomDomainConfigT>(value));
118 return *this;
119 }
121
123
127 inline const RoutingType& GetRouting() const { return m_routing; }
128 inline bool RoutingHasBeenSet() const { return m_routingHasBeenSet; }
129 template <typename RoutingT = RoutingType>
130 void SetRouting(RoutingT&& value) {
131 m_routingHasBeenSet = true;
132 m_routing = std::forward<RoutingT>(value);
133 }
134 template <typename RoutingT = RoutingType>
136 SetRouting(std::forward<RoutingT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_domain;
142
143 Aws::String m_userPoolId;
144
145 int m_managedLoginVersion{0};
146
147 CustomDomainConfigType m_customDomainConfig;
148
149 RoutingType m_routing;
150 bool m_domainHasBeenSet = false;
151 bool m_userPoolIdHasBeenSet = false;
152 bool m_managedLoginVersionHasBeenSet = false;
153 bool m_customDomainConfigHasBeenSet = false;
154 bool m_routingHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace CognitoIdentityProvider
159} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateUserPoolDomainRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolDomainRequest()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserPoolDomainRequest & WithCustomDomainConfig(CustomDomainConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String