AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateUserPoolDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CognitoIdentityProvider
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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::String SerializePayload() const override;
37 
39 
40 
48  inline const Aws::String& GetDomain() const{ return m_domain; }
49 
57  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
58 
66  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
67 
75  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
76 
84  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
85 
93  inline UpdateUserPoolDomainRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
94 
102  inline UpdateUserPoolDomainRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
103 
111  inline UpdateUserPoolDomainRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
112 
113 
118  inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
119 
124  inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
125 
130  inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
131 
136  inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
137 
142  inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
143 
148  inline UpdateUserPoolDomainRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
149 
154  inline UpdateUserPoolDomainRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
155 
160  inline UpdateUserPoolDomainRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
161 
162 
168  inline const CustomDomainConfigType& GetCustomDomainConfig() const{ return m_customDomainConfig; }
169 
175  inline bool CustomDomainConfigHasBeenSet() const { return m_customDomainConfigHasBeenSet; }
176 
182  inline void SetCustomDomainConfig(const CustomDomainConfigType& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = value; }
183 
189  inline void SetCustomDomainConfig(CustomDomainConfigType&& value) { m_customDomainConfigHasBeenSet = true; m_customDomainConfig = std::move(value); }
190 
196  inline UpdateUserPoolDomainRequest& WithCustomDomainConfig(const CustomDomainConfigType& value) { SetCustomDomainConfig(value); return *this;}
197 
203  inline UpdateUserPoolDomainRequest& WithCustomDomainConfig(CustomDomainConfigType&& value) { SetCustomDomainConfig(std::move(value)); return *this;}
204 
205  private:
206 
207  Aws::String m_domain;
208  bool m_domainHasBeenSet;
209 
210  Aws::String m_userPoolId;
211  bool m_userPoolIdHasBeenSet;
212 
213  CustomDomainConfigType m_customDomainConfig;
214  bool m_customDomainConfigHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace CognitoIdentityProvider
219 } // namespace Aws
Aws::CognitoIdentityProvider::Model::CustomDomainConfigType
Definition: CustomDomainConfigType.h:33
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateUserPoolDomainRequest.h:34
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithDomain
UpdateUserPoolDomainRequest & WithDomain(const char *value)
Definition: UpdateUserPoolDomainRequest.h:111
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithUserPoolId
UpdateUserPoolDomainRequest & WithUserPoolId(const Aws::String &value)
Definition: UpdateUserPoolDomainRequest.h:148
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithUserPoolId
UpdateUserPoolDomainRequest & WithUserPoolId(Aws::String &&value)
Definition: UpdateUserPoolDomainRequest.h:154
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithUserPoolId
UpdateUserPoolDomainRequest & WithUserPoolId(const char *value)
Definition: UpdateUserPoolDomainRequest.h:160
CognitoIdentityProvider_EXPORTS.h
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetDomain
void SetDomain(const char *value)
Definition: UpdateUserPoolDomainRequest.h:84
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithDomain
UpdateUserPoolDomainRequest & WithDomain(const Aws::String &value)
Definition: UpdateUserPoolDomainRequest.h:93
Aws::CognitoIdentityProvider::CognitoIdentityProviderRequest
Definition: CognitoIdentityProviderRequest.h:17
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::GetCustomDomainConfig
const CustomDomainConfigType & GetCustomDomainConfig() const
Definition: UpdateUserPoolDomainRequest.h:168
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::UpdateUserPoolDomainRequest
UpdateUserPoolDomainRequest()
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::GetUserPoolId
const Aws::String & GetUserPoolId() const
Definition: UpdateUserPoolDomainRequest.h:118
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: UpdateUserPoolDomainRequest.h:75
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetCustomDomainConfig
void SetCustomDomainConfig(CustomDomainConfigType &&value)
Definition: UpdateUserPoolDomainRequest.h:189
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::GetDomain
const Aws::String & GetDomain() const
Definition: UpdateUserPoolDomainRequest.h:48
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetCustomDomainConfig
void SetCustomDomainConfig(const CustomDomainConfigType &value)
Definition: UpdateUserPoolDomainRequest.h:182
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API
#define AWS_COGNITOIDENTITYPROVIDER_API
Definition: CognitoIdentityProvider_EXPORTS.h:28
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::UserPoolIdHasBeenSet
bool UserPoolIdHasBeenSet() const
Definition: UpdateUserPoolDomainRequest.h:124
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithCustomDomainConfig
UpdateUserPoolDomainRequest & WithCustomDomainConfig(CustomDomainConfigType &&value)
Definition: UpdateUserPoolDomainRequest.h:203
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: UpdateUserPoolDomainRequest.h:66
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetUserPoolId
void SetUserPoolId(const char *value)
Definition: UpdateUserPoolDomainRequest.h:142
AWSString.h
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest
Definition: UpdateUserPoolDomainRequest.h:26
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::CustomDomainConfigHasBeenSet
bool CustomDomainConfigHasBeenSet() const
Definition: UpdateUserPoolDomainRequest.h:175
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetUserPoolId
void SetUserPoolId(const Aws::String &value)
Definition: UpdateUserPoolDomainRequest.h:130
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: UpdateUserPoolDomainRequest.h:57
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithDomain
UpdateUserPoolDomainRequest & WithDomain(Aws::String &&value)
Definition: UpdateUserPoolDomainRequest.h:102
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::WithCustomDomainConfig
UpdateUserPoolDomainRequest & WithCustomDomainConfig(const CustomDomainConfigType &value)
Definition: UpdateUserPoolDomainRequest.h:196
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CognitoIdentityProviderRequest.h
Aws::CognitoIdentityProvider::Model::UpdateUserPoolDomainRequest::SetUserPoolId
void SetUserPoolId(Aws::String &&value)
Definition: UpdateUserPoolDomainRequest.h:136
CustomDomainConfigType.h