/** * 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 StartConfigurationRecorder action.

See * Also:

AWS * API Reference

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

The name of the recorder object that records each configuration change made * to the resources.

*/ inline const Aws::String& GetConfigurationRecorderName() const{ return m_configurationRecorderName; } /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline bool ConfigurationRecorderNameHasBeenSet() const { return m_configurationRecorderNameHasBeenSet; } /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline void SetConfigurationRecorderName(const Aws::String& value) { m_configurationRecorderNameHasBeenSet = true; m_configurationRecorderName = value; } /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline void SetConfigurationRecorderName(Aws::String&& value) { m_configurationRecorderNameHasBeenSet = true; m_configurationRecorderName = std::move(value); } /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline void SetConfigurationRecorderName(const char* value) { m_configurationRecorderNameHasBeenSet = true; m_configurationRecorderName.assign(value); } /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline StartConfigurationRecorderRequest& WithConfigurationRecorderName(const Aws::String& value) { SetConfigurationRecorderName(value); return *this;} /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline StartConfigurationRecorderRequest& WithConfigurationRecorderName(Aws::String&& value) { SetConfigurationRecorderName(std::move(value)); return *this;} /** *

The name of the recorder object that records each configuration change made * to the resources.

*/ inline StartConfigurationRecorderRequest& WithConfigurationRecorderName(const char* value) { SetConfigurationRecorderName(value); return *this;} private: Aws::String m_configurationRecorderName; bool m_configurationRecorderNameHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws