AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateUserPoolDomainRequest.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
23 {
24 public:
25 AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolDomainRequest() = 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 "CreateUserPoolDomain"; }
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
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 CreateUserPoolDomainRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
54
56
59 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
60 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
61 template<typename UserPoolIdT = Aws::String>
62 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
63 template<typename UserPoolIdT = Aws::String>
64 CreateUserPoolDomainRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
66
68
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
97 inline const CustomDomainConfigType& GetCustomDomainConfig() const { return m_customDomainConfig; }
98 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
99 template<typename CustomDomainConfigT = CustomDomainConfigType>
100 void SetCustomDomainConfig(CustomDomainConfigT&& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = std::forward<CustomDomainConfigT>(value); }
101 template<typename CustomDomainConfigT = CustomDomainConfigType>
102 CreateUserPoolDomainRequest& WithCustomDomainConfig(CustomDomainConfigT&& value) { SetCustomDomainConfig(std::forward<CustomDomainConfigT>(value)); return *this;}
104 private:
105
106 Aws::String m_domain;
107 bool m_domainHasBeenSet = false;
108
109 Aws::String m_userPoolId;
110 bool m_userPoolIdHasBeenSet = false;
111
112 int m_managedLoginVersion{0};
113 bool m_managedLoginVersionHasBeenSet = false;
114
115 CustomDomainConfigType m_customDomainConfig;
116 bool m_customDomainConfigHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace CognitoIdentityProvider
121} // namespace Aws
CreateUserPoolDomainRequest & WithCustomDomainConfig(CustomDomainConfigT &&value)
CreateUserPoolDomainRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolDomainRequest()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String