/** * 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 Macie2 { namespace Model { /** */ class UpdateRevealConfigurationRequest : public Macie2Request { public: AWS_MACIE2_API UpdateRevealConfigurationRequest(); // 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 "UpdateRevealConfiguration"; } AWS_MACIE2_API Aws::String SerializePayload() const override; /** *

The new configuration settings and the status of the configuration for the * account.

*/ inline const RevealConfiguration& GetConfiguration() const{ return m_configuration; } /** *

The new configuration settings and the status of the configuration for the * account.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

The new configuration settings and the status of the configuration for the * account.

*/ inline void SetConfiguration(const RevealConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

The new configuration settings and the status of the configuration for the * account.

*/ inline void SetConfiguration(RevealConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

The new configuration settings and the status of the configuration for the * account.

*/ inline UpdateRevealConfigurationRequest& WithConfiguration(const RevealConfiguration& value) { SetConfiguration(value); return *this;} /** *

The new configuration settings and the status of the configuration for the * account.

*/ inline UpdateRevealConfigurationRequest& WithConfiguration(RevealConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} private: RevealConfiguration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws