/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace AmplifyUIBuilder { namespace Model { /** */ class UpdateThemeRequest : public AmplifyUIBuilderRequest { public: AWS_AMPLIFYUIBUILDER_API UpdateThemeRequest(); // 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 "UpdateTheme"; } AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override; AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique ID for the Amplify app.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The unique ID for the Amplify app.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The unique ID for the Amplify app.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The unique ID for the Amplify app.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The unique ID for the Amplify app.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The unique ID for the Amplify app.

*/ inline UpdateThemeRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The unique ID for the Amplify app.

*/ inline UpdateThemeRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The unique ID for the Amplify app.

*/ inline UpdateThemeRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The name of the backend environment that is part of the Amplify app.

*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline UpdateThemeRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *

The name of the backend environment that is part of the Amplify app.

*/ inline UpdateThemeRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *

The name of the backend environment that is part of the Amplify app.

*/ inline UpdateThemeRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *

The unique ID for the theme.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique ID for the theme.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique ID for the theme.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique ID for the theme.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique ID for the theme.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique ID for the theme.

*/ inline UpdateThemeRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique ID for the theme.

*/ inline UpdateThemeRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique ID for the theme.

*/ inline UpdateThemeRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The unique client token.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The unique client token.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

The unique client token.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

The unique client token.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

The unique client token.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

The unique client token.

*/ inline UpdateThemeRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The unique client token.

*/ inline UpdateThemeRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The unique client token.

*/ inline UpdateThemeRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The configuration of the updated theme.

*/ inline const UpdateThemeData& GetUpdatedTheme() const{ return m_updatedTheme; } /** *

The configuration of the updated theme.

*/ inline bool UpdatedThemeHasBeenSet() const { return m_updatedThemeHasBeenSet; } /** *

The configuration of the updated theme.

*/ inline void SetUpdatedTheme(const UpdateThemeData& value) { m_updatedThemeHasBeenSet = true; m_updatedTheme = value; } /** *

The configuration of the updated theme.

*/ inline void SetUpdatedTheme(UpdateThemeData&& value) { m_updatedThemeHasBeenSet = true; m_updatedTheme = std::move(value); } /** *

The configuration of the updated theme.

*/ inline UpdateThemeRequest& WithUpdatedTheme(const UpdateThemeData& value) { SetUpdatedTheme(value); return *this;} /** *

The configuration of the updated theme.

*/ inline UpdateThemeRequest& WithUpdatedTheme(UpdateThemeData&& value) { SetUpdatedTheme(std::move(value)); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; UpdateThemeData m_updatedTheme; bool m_updatedThemeHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws