AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
44 inline const Aws::String& GetDomain() const{ return m_domain; }
45 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
46 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
47 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
48 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
49 inline CreateUserPoolDomainRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
50 inline CreateUserPoolDomainRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
51 inline CreateUserPoolDomainRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
53
55
58 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
59 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
60 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
61 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
62 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
63 inline CreateUserPoolDomainRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
64 inline CreateUserPoolDomainRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
65 inline CreateUserPoolDomainRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
67
69
78 inline const CustomDomainConfigType& GetCustomDomainConfig() const{ return m_customDomainConfig; }
79 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
80 inline void SetCustomDomainConfig(const CustomDomainConfigType& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = value; }
81 inline void SetCustomDomainConfig(CustomDomainConfigType&& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = std::move(value); }
85 private:
86
87 Aws::String m_domain;
88 bool m_domainHasBeenSet = false;
89
90 Aws::String m_userPoolId;
91 bool m_userPoolIdHasBeenSet = false;
92
93 CustomDomainConfigType m_customDomainConfig;
94 bool m_customDomainConfigHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CognitoIdentityProvider
99} // namespace Aws
CreateUserPoolDomainRequest & WithCustomDomainConfig(CustomDomainConfigType &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
CreateUserPoolDomainRequest & WithUserPoolId(Aws::String &&value)
CreateUserPoolDomainRequest & WithUserPoolId(const Aws::String &value)
CreateUserPoolDomainRequest & WithCustomDomainConfig(const CustomDomainConfigType &value)
CreateUserPoolDomainRequest & WithDomain(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserPoolDomainRequest & WithDomain(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String