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

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline const Aws::Vector& GetResourceKeys() const{ return m_resourceKeys; } /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; } /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline void SetResourceKeys(const Aws::Vector& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = value; } /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline void SetResourceKeys(Aws::Vector&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = std::move(value); } /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline BatchGetResourceConfigRequest& WithResourceKeys(const Aws::Vector& value) { SetResourceKeys(value); return *this;} /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline BatchGetResourceConfigRequest& WithResourceKeys(Aws::Vector&& value) { SetResourceKeys(std::move(value)); return *this;} /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline BatchGetResourceConfigRequest& AddResourceKeys(const ResourceKey& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(value); return *this; } /** *

A list of resource keys to be processed with the current request. Each * element in the list consists of the resource type and resource ID.

*/ inline BatchGetResourceConfigRequest& AddResourceKeys(ResourceKey&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(std::move(value)); return *this; } private: Aws::Vector m_resourceKeys; bool m_resourceKeysHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws