/** * 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 ConfigService { namespace Model { /** *

The input for the PutConfigurationRecorder action.

See * Also:

AWS * API Reference

*/ class PutConfigurationRecorderRequest : public ConfigServiceRequest { public: AWS_CONFIGSERVICE_API PutConfigurationRecorderRequest(); // 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 "PutConfigurationRecorder"; } AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override; AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An object for the configuration recorder to record configuration changes for * specified resource types.

*/ inline const ConfigurationRecorder& GetConfigurationRecorder() const{ return m_configurationRecorder; } /** *

An object for the configuration recorder to record configuration changes for * specified resource types.

*/ inline bool ConfigurationRecorderHasBeenSet() const { return m_configurationRecorderHasBeenSet; } /** *

An object for the configuration recorder to record configuration changes for * specified resource types.

*/ inline void SetConfigurationRecorder(const ConfigurationRecorder& value) { m_configurationRecorderHasBeenSet = true; m_configurationRecorder = value; } /** *

An object for the configuration recorder to record configuration changes for * specified resource types.

*/ inline void SetConfigurationRecorder(ConfigurationRecorder&& value) { m_configurationRecorderHasBeenSet = true; m_configurationRecorder = std::move(value); } /** *

An object for the configuration recorder to record configuration changes for * specified resource types.

*/ inline PutConfigurationRecorderRequest& WithConfigurationRecorder(const ConfigurationRecorder& value) { SetConfigurationRecorder(value); return *this;} /** *

An object for the configuration recorder to record configuration changes for * specified resource types.

*/ inline PutConfigurationRecorderRequest& WithConfigurationRecorder(ConfigurationRecorder&& value) { SetConfigurationRecorder(std::move(value)); return *this;} private: ConfigurationRecorder m_configurationRecorder; bool m_configurationRecorderHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws