AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateUserPoolDomainRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-idp/model/CustomDomainConfigType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CognitoIdentityProvider
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolDomainRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserPoolDomain"; }
35
36 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
37
38 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
47 inline const Aws::String& GetDomain() const { return m_domain; }
48 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
49 template<typename DomainT = Aws::String>
50 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
51 template<typename DomainT = Aws::String>
52 UpdateUserPoolDomainRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
54
56
60 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
61 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
62 template<typename UserPoolIdT = Aws::String>
63 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
64 template<typename UserPoolIdT = Aws::String>
65 UpdateUserPoolDomainRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
67
69
76 inline int GetManagedLoginVersion() const { return m_managedLoginVersion; }
77 inline bool ManagedLoginVersionHasBeenSet() const { return m_managedLoginVersionHasBeenSet; }
78 inline void SetManagedLoginVersion(int value) { m_managedLoginVersionHasBeenSet = true; m_managedLoginVersion = value; }
81
83
93 inline const CustomDomainConfigType& GetCustomDomainConfig() const { return m_customDomainConfig; }
94 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
95 template<typename CustomDomainConfigT = CustomDomainConfigType>
96 void SetCustomDomainConfig(CustomDomainConfigT&& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = std::forward<CustomDomainConfigT>(value); }
97 template<typename CustomDomainConfigT = CustomDomainConfigType>
98 UpdateUserPoolDomainRequest& WithCustomDomainConfig(CustomDomainConfigT&& value) { SetCustomDomainConfig(std::forward<CustomDomainConfigT>(value)); return *this;}
100 private:
101
102 Aws::String m_domain;
103 bool m_domainHasBeenSet = false;
104
105 Aws::String m_userPoolId;
106 bool m_userPoolIdHasBeenSet = false;
107
108 int m_managedLoginVersion{0};
109 bool m_managedLoginVersionHasBeenSet = false;
110
111 CustomDomainConfigType m_customDomainConfig;
112 bool m_customDomainConfigHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace CognitoIdentityProvider
117} // 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