/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace CognitoIdentityProvider { namespace Model { /** */ class SetUICustomizationRequest : public CognitoIdentityProviderRequest { public: AWS_COGNITOIDENTITYPROVIDER_API SetUICustomizationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "SetUICustomization"; } AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override; AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The user pool ID for the user pool.

*/ inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } /** *

The user pool ID for the user pool.

*/ inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; } /** *

The user pool ID for the user pool.

*/ inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; } /** *

The user pool ID for the user pool.

*/ inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); } /** *

The user pool ID for the user pool.

*/ inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); } /** *

The user pool ID for the user pool.

*/ inline SetUICustomizationRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;} /** *

The user pool ID for the user pool.

*/ inline SetUICustomizationRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;} /** *

The user pool ID for the user pool.

*/ inline SetUICustomizationRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;} /** *

The client ID for the client app.

*/ inline const Aws::String& GetClientId() const{ return m_clientId; } /** *

The client ID for the client app.

*/ inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; } /** *

The client ID for the client app.

*/ inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; } /** *

The client ID for the client app.

*/ inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); } /** *

The client ID for the client app.

*/ inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); } /** *

The client ID for the client app.

*/ inline SetUICustomizationRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} /** *

The client ID for the client app.

*/ inline SetUICustomizationRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} /** *

The client ID for the client app.

*/ inline SetUICustomizationRequest& WithClientId(const char* value) { SetClientId(value); return *this;} /** *

The CSS values in the UI customization.

*/ inline const Aws::String& GetCSS() const{ return m_cSS; } /** *

The CSS values in the UI customization.

*/ inline bool CSSHasBeenSet() const { return m_cSSHasBeenSet; } /** *

The CSS values in the UI customization.

*/ inline void SetCSS(const Aws::String& value) { m_cSSHasBeenSet = true; m_cSS = value; } /** *

The CSS values in the UI customization.

*/ inline void SetCSS(Aws::String&& value) { m_cSSHasBeenSet = true; m_cSS = std::move(value); } /** *

The CSS values in the UI customization.

*/ inline void SetCSS(const char* value) { m_cSSHasBeenSet = true; m_cSS.assign(value); } /** *

The CSS values in the UI customization.

*/ inline SetUICustomizationRequest& WithCSS(const Aws::String& value) { SetCSS(value); return *this;} /** *

The CSS values in the UI customization.

*/ inline SetUICustomizationRequest& WithCSS(Aws::String&& value) { SetCSS(std::move(value)); return *this;} /** *

The CSS values in the UI customization.

*/ inline SetUICustomizationRequest& WithCSS(const char* value) { SetCSS(value); return *this;} /** *

The uploaded logo image for the UI customization.

*/ inline const Aws::Utils::ByteBuffer& GetImageFile() const{ return m_imageFile; } /** *

The uploaded logo image for the UI customization.

*/ inline bool ImageFileHasBeenSet() const { return m_imageFileHasBeenSet; } /** *

The uploaded logo image for the UI customization.

*/ inline void SetImageFile(const Aws::Utils::ByteBuffer& value) { m_imageFileHasBeenSet = true; m_imageFile = value; } /** *

The uploaded logo image for the UI customization.

*/ inline void SetImageFile(Aws::Utils::ByteBuffer&& value) { m_imageFileHasBeenSet = true; m_imageFile = std::move(value); } /** *

The uploaded logo image for the UI customization.

*/ inline SetUICustomizationRequest& WithImageFile(const Aws::Utils::ByteBuffer& value) { SetImageFile(value); return *this;} /** *

The uploaded logo image for the UI customization.

*/ inline SetUICustomizationRequest& WithImageFile(Aws::Utils::ByteBuffer&& value) { SetImageFile(std::move(value)); return *this;} private: Aws::String m_userPoolId; bool m_userPoolIdHasBeenSet = false; Aws::String m_clientId; bool m_clientIdHasBeenSet = false; Aws::String m_cSS; bool m_cSSHasBeenSet = false; Aws::Utils::ByteBuffer m_imageFile; bool m_imageFileHasBeenSet = false; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws