AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateUserPoolDomainRequest.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
21 public:
22 AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolDomainRequest() = 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 "CreateUserPoolDomain"; }
29
30 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
31
32 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
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
61 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
62 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
63 template <typename UserPoolIdT = Aws::String>
64 void SetUserPoolId(UserPoolIdT&& value) {
65 m_userPoolIdHasBeenSet = true;
66 m_userPoolId = std::forward<UserPoolIdT>(value);
67 }
68 template <typename UserPoolIdT = Aws::String>
70 SetUserPoolId(std::forward<UserPoolIdT>(value));
71 return *this;
72 }
74
76
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
111 inline const CustomDomainConfigType& GetCustomDomainConfig() const { return m_customDomainConfig; }
112 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
113 template <typename CustomDomainConfigT = CustomDomainConfigType>
114 void SetCustomDomainConfig(CustomDomainConfigT&& value) {
115 m_customDomainConfigHasBeenSet = true;
116 m_customDomainConfig = std::forward<CustomDomainConfigT>(value);
117 }
118 template <typename CustomDomainConfigT = CustomDomainConfigType>
120 SetCustomDomainConfig(std::forward<CustomDomainConfigT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_domain;
126
127 Aws::String m_userPoolId;
128
129 int m_managedLoginVersion{0};
130
131 CustomDomainConfigType m_customDomainConfig;
132 bool m_domainHasBeenSet = false;
133 bool m_userPoolIdHasBeenSet = false;
134 bool m_managedLoginVersionHasBeenSet = false;
135 bool m_customDomainConfigHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace CognitoIdentityProvider
140} // 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