/** * 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 PutClassificationExportConfigurationRequest : public Macie2Request { public: AWS_MACIE2_API PutClassificationExportConfigurationRequest(); // 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 "PutClassificationExportConfiguration"; } AWS_MACIE2_API Aws::String SerializePayload() const override; /** *

The location to store data classification results in, and the encryption * settings to use when storing results in that location.

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

The location to store data classification results in, and the encryption * settings to use when storing results in that location.

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

The location to store data classification results in, and the encryption * settings to use when storing results in that location.

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

The location to store data classification results in, and the encryption * settings to use when storing results in that location.

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

The location to store data classification results in, and the encryption * settings to use when storing results in that location.

*/ inline PutClassificationExportConfigurationRequest& WithConfiguration(const ClassificationExportConfiguration& value) { SetConfiguration(value); return *this;} /** *

The location to store data classification results in, and the encryption * settings to use when storing results in that location.

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