AWS SDK for C++

AWS SDK for C++ Version 1.11.742

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/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CognitoIdentityProvider {
16namespace Model {
17
24 public:
25 AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolDomainRequest() = 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 "UpdateUserPoolDomain"; }
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
43 inline const Aws::String& GetDomain() const { return m_domain; }
44 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
45 template <typename DomainT = Aws::String>
46 void SetDomain(DomainT&& value) {
47 m_domainHasBeenSet = true;
48 m_domain = std::forward<DomainT>(value);
49 }
50 template <typename DomainT = Aws::String>
52 SetDomain(std::forward<DomainT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
63 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
64 template <typename UserPoolIdT = Aws::String>
65 void SetUserPoolId(UserPoolIdT&& value) {
66 m_userPoolIdHasBeenSet = true;
67 m_userPoolId = std::forward<UserPoolIdT>(value);
68 }
69 template <typename UserPoolIdT = Aws::String>
71 SetUserPoolId(std::forward<UserPoolIdT>(value));
72 return *this;
73 }
75
77
84 inline int GetManagedLoginVersion() const { return m_managedLoginVersion; }
85 inline bool ManagedLoginVersionHasBeenSet() const { return m_managedLoginVersionHasBeenSet; }
86 inline void SetManagedLoginVersion(int value) {
87 m_managedLoginVersionHasBeenSet = true;
88 m_managedLoginVersion = value;
89 }
92 return *this;
93 }
95
97
107 inline const CustomDomainConfigType& GetCustomDomainConfig() const { return m_customDomainConfig; }
108 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
109 template <typename CustomDomainConfigT = CustomDomainConfigType>
110 void SetCustomDomainConfig(CustomDomainConfigT&& value) {
111 m_customDomainConfigHasBeenSet = true;
112 m_customDomainConfig = std::forward<CustomDomainConfigT>(value);
113 }
114 template <typename CustomDomainConfigT = CustomDomainConfigType>
116 SetCustomDomainConfig(std::forward<CustomDomainConfigT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_domain;
122
123 Aws::String m_userPoolId;
124
125 int m_managedLoginVersion{0};
126
127 CustomDomainConfigType m_customDomainConfig;
128 bool m_domainHasBeenSet = false;
129 bool m_userPoolIdHasBeenSet = false;
130 bool m_managedLoginVersionHasBeenSet = false;
131 bool m_customDomainConfigHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace CognitoIdentityProvider
136} // 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