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

The input for the DescribeConfigurationRecorders action.

See * Also:

AWS * API Reference

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

A list of configuration recorder names.

*/ inline const Aws::Vector& GetConfigurationRecorderNames() const{ return m_configurationRecorderNames; } /** *

A list of configuration recorder names.

*/ inline bool ConfigurationRecorderNamesHasBeenSet() const { return m_configurationRecorderNamesHasBeenSet; } /** *

A list of configuration recorder names.

*/ inline void SetConfigurationRecorderNames(const Aws::Vector& value) { m_configurationRecorderNamesHasBeenSet = true; m_configurationRecorderNames = value; } /** *

A list of configuration recorder names.

*/ inline void SetConfigurationRecorderNames(Aws::Vector&& value) { m_configurationRecorderNamesHasBeenSet = true; m_configurationRecorderNames = std::move(value); } /** *

A list of configuration recorder names.

*/ inline DescribeConfigurationRecordersRequest& WithConfigurationRecorderNames(const Aws::Vector& value) { SetConfigurationRecorderNames(value); return *this;} /** *

A list of configuration recorder names.

*/ inline DescribeConfigurationRecordersRequest& WithConfigurationRecorderNames(Aws::Vector&& value) { SetConfigurationRecorderNames(std::move(value)); return *this;} /** *

A list of configuration recorder names.

*/ inline DescribeConfigurationRecordersRequest& AddConfigurationRecorderNames(const Aws::String& value) { m_configurationRecorderNamesHasBeenSet = true; m_configurationRecorderNames.push_back(value); return *this; } /** *

A list of configuration recorder names.

*/ inline DescribeConfigurationRecordersRequest& AddConfigurationRecorderNames(Aws::String&& value) { m_configurationRecorderNamesHasBeenSet = true; m_configurationRecorderNames.push_back(std::move(value)); return *this; } /** *

A list of configuration recorder names.

*/ inline DescribeConfigurationRecordersRequest& AddConfigurationRecorderNames(const char* value) { m_configurationRecorderNamesHasBeenSet = true; m_configurationRecorderNames.push_back(value); return *this; } private: Aws::Vector m_configurationRecorderNames; bool m_configurationRecorderNamesHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws