/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SsmSap { namespace Model { /** */ class UpdateApplicationSettingsRequest : public SsmSapRequest { public: AWS_SSMSAP_API UpdateApplicationSettingsRequest(); // 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 "UpdateApplicationSettings"; } AWS_SSMSAP_API Aws::String SerializePayload() const override; /** *

The ID of the application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The ID of the application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The ID of the application.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The ID of the application.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The ID of the application.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The ID of the application.

*/ inline UpdateApplicationSettingsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The ID of the application.

*/ inline UpdateApplicationSettingsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The ID of the application.

*/ inline UpdateApplicationSettingsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The credentials to be added or updated.

*/ inline const Aws::Vector& GetCredentialsToAddOrUpdate() const{ return m_credentialsToAddOrUpdate; } /** *

The credentials to be added or updated.

*/ inline bool CredentialsToAddOrUpdateHasBeenSet() const { return m_credentialsToAddOrUpdateHasBeenSet; } /** *

The credentials to be added or updated.

*/ inline void SetCredentialsToAddOrUpdate(const Aws::Vector& value) { m_credentialsToAddOrUpdateHasBeenSet = true; m_credentialsToAddOrUpdate = value; } /** *

The credentials to be added or updated.

*/ inline void SetCredentialsToAddOrUpdate(Aws::Vector&& value) { m_credentialsToAddOrUpdateHasBeenSet = true; m_credentialsToAddOrUpdate = std::move(value); } /** *

The credentials to be added or updated.

*/ inline UpdateApplicationSettingsRequest& WithCredentialsToAddOrUpdate(const Aws::Vector& value) { SetCredentialsToAddOrUpdate(value); return *this;} /** *

The credentials to be added or updated.

*/ inline UpdateApplicationSettingsRequest& WithCredentialsToAddOrUpdate(Aws::Vector&& value) { SetCredentialsToAddOrUpdate(std::move(value)); return *this;} /** *

The credentials to be added or updated.

*/ inline UpdateApplicationSettingsRequest& AddCredentialsToAddOrUpdate(const ApplicationCredential& value) { m_credentialsToAddOrUpdateHasBeenSet = true; m_credentialsToAddOrUpdate.push_back(value); return *this; } /** *

The credentials to be added or updated.

*/ inline UpdateApplicationSettingsRequest& AddCredentialsToAddOrUpdate(ApplicationCredential&& value) { m_credentialsToAddOrUpdateHasBeenSet = true; m_credentialsToAddOrUpdate.push_back(std::move(value)); return *this; } /** *

The credentials to be removed.

*/ inline const Aws::Vector& GetCredentialsToRemove() const{ return m_credentialsToRemove; } /** *

The credentials to be removed.

*/ inline bool CredentialsToRemoveHasBeenSet() const { return m_credentialsToRemoveHasBeenSet; } /** *

The credentials to be removed.

*/ inline void SetCredentialsToRemove(const Aws::Vector& value) { m_credentialsToRemoveHasBeenSet = true; m_credentialsToRemove = value; } /** *

The credentials to be removed.

*/ inline void SetCredentialsToRemove(Aws::Vector&& value) { m_credentialsToRemoveHasBeenSet = true; m_credentialsToRemove = std::move(value); } /** *

The credentials to be removed.

*/ inline UpdateApplicationSettingsRequest& WithCredentialsToRemove(const Aws::Vector& value) { SetCredentialsToRemove(value); return *this;} /** *

The credentials to be removed.

*/ inline UpdateApplicationSettingsRequest& WithCredentialsToRemove(Aws::Vector&& value) { SetCredentialsToRemove(std::move(value)); return *this;} /** *

The credentials to be removed.

*/ inline UpdateApplicationSettingsRequest& AddCredentialsToRemove(const ApplicationCredential& value) { m_credentialsToRemoveHasBeenSet = true; m_credentialsToRemove.push_back(value); return *this; } /** *

The credentials to be removed.

*/ inline UpdateApplicationSettingsRequest& AddCredentialsToRemove(ApplicationCredential&& value) { m_credentialsToRemoveHasBeenSet = true; m_credentialsToRemove.push_back(std::move(value)); return *this; } /** *

Installation of AWS Backint Agent for SAP HANA.

*/ inline const BackintConfig& GetBackint() const{ return m_backint; } /** *

Installation of AWS Backint Agent for SAP HANA.

*/ inline bool BackintHasBeenSet() const { return m_backintHasBeenSet; } /** *

Installation of AWS Backint Agent for SAP HANA.

*/ inline void SetBackint(const BackintConfig& value) { m_backintHasBeenSet = true; m_backint = value; } /** *

Installation of AWS Backint Agent for SAP HANA.

*/ inline void SetBackint(BackintConfig&& value) { m_backintHasBeenSet = true; m_backint = std::move(value); } /** *

Installation of AWS Backint Agent for SAP HANA.

*/ inline UpdateApplicationSettingsRequest& WithBackint(const BackintConfig& value) { SetBackint(value); return *this;} /** *

Installation of AWS Backint Agent for SAP HANA.

*/ inline UpdateApplicationSettingsRequest& WithBackint(BackintConfig&& value) { SetBackint(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::Vector m_credentialsToAddOrUpdate; bool m_credentialsToAddOrUpdateHasBeenSet = false; Aws::Vector m_credentialsToRemove; bool m_credentialsToRemoveHasBeenSet = false; BackintConfig m_backint; bool m_backintHasBeenSet = false; }; } // namespace Model } // namespace SsmSap } // namespace Aws