AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
49 inline const Aws::String& GetDomain() const{ return m_domain; }
50 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
51 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
52 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
53 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
54 inline UpdateUserPoolDomainRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
55 inline UpdateUserPoolDomainRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
56 inline UpdateUserPoolDomainRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
58
60
64 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
65 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
66 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
67 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
68 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
69 inline UpdateUserPoolDomainRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
70 inline UpdateUserPoolDomainRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
71 inline UpdateUserPoolDomainRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
73
75
80 inline const CustomDomainConfigType& GetCustomDomainConfig() const{ return m_customDomainConfig; }
81 inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
82 inline void SetCustomDomainConfig(const CustomDomainConfigType& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = value; }
83 inline void SetCustomDomainConfig(CustomDomainConfigType&& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = std::move(value); }
87 private:
88
89 Aws::String m_domain;
90 bool m_domainHasBeenSet = false;
91
92 Aws::String m_userPoolId;
93 bool m_userPoolIdHasBeenSet = false;
94
95 CustomDomainConfigType m_customDomainConfig;
96 bool m_customDomainConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CognitoIdentityProvider
101} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateUserPoolDomainRequest & WithDomain(const Aws::String &value)
UpdateUserPoolDomainRequest & WithDomain(Aws::String &&value)
UpdateUserPoolDomainRequest & WithUserPoolId(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserPoolDomainRequest & WithUserPoolId(Aws::String &&value)
UpdateUserPoolDomainRequest & WithCustomDomainConfig(const CustomDomainConfigType &value)
UpdateUserPoolDomainRequest & WithCustomDomainConfig(CustomDomainConfigType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String