/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MQ { namespace Model { /** *

Updates the specified configuration.

See Also:

AWS * API Reference

*/ class UpdateConfigurationRequest : public MQRequest { public: AWS_MQ_API UpdateConfigurationRequest(); // 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 "UpdateConfiguration"; } AWS_MQ_API Aws::String SerializePayload() const override; /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline const Aws::String& GetConfigurationId() const{ return m_configurationId; } /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; } /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; } /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); } /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); } /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline UpdateConfigurationRequest& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;} /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline UpdateConfigurationRequest& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;} /** *

The unique ID that Amazon MQ generates for the configuration.

*/ inline UpdateConfigurationRequest& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;} /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline const Aws::String& GetData() const{ return m_data; } /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; } /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); } /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline UpdateConfigurationRequest& WithData(const Aws::String& value) { SetData(value); return *this;} /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline UpdateConfigurationRequest& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;} /** *

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for * RabbitMQ: the base64-encoded Cuttlefish configuration.

*/ inline UpdateConfigurationRequest& WithData(const char* value) { SetData(value); return *this;} /** *

The description of the configuration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the configuration.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the configuration.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the configuration.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the configuration.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the configuration.

*/ inline UpdateConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the configuration.

*/ inline UpdateConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the configuration.

*/ inline UpdateConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_configurationId; bool m_configurationIdHasBeenSet = false; Aws::String m_data; bool m_dataHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace MQ } // namespace Aws