/** * 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 OpenSearchService { namespace Model { /** */ class DescribeVpcEndpointsRequest : public OpenSearchServiceRequest { public: AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsRequest(); // 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 "DescribeVpcEndpoints"; } AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override; /** *

The unique identifiers of the endpoints to get information about.

*/ inline const Aws::Vector& GetVpcEndpointIds() const{ return m_vpcEndpointIds; } /** *

The unique identifiers of the endpoints to get information about.

*/ inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; } /** *

The unique identifiers of the endpoints to get information about.

*/ inline void SetVpcEndpointIds(const Aws::Vector& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = value; } /** *

The unique identifiers of the endpoints to get information about.

*/ inline void SetVpcEndpointIds(Aws::Vector&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = std::move(value); } /** *

The unique identifiers of the endpoints to get information about.

*/ inline DescribeVpcEndpointsRequest& WithVpcEndpointIds(const Aws::Vector& value) { SetVpcEndpointIds(value); return *this;} /** *

The unique identifiers of the endpoints to get information about.

*/ inline DescribeVpcEndpointsRequest& WithVpcEndpointIds(Aws::Vector&& value) { SetVpcEndpointIds(std::move(value)); return *this;} /** *

The unique identifiers of the endpoints to get information about.

*/ inline DescribeVpcEndpointsRequest& AddVpcEndpointIds(const Aws::String& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; } /** *

The unique identifiers of the endpoints to get information about.

*/ inline DescribeVpcEndpointsRequest& AddVpcEndpointIds(Aws::String&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(std::move(value)); return *this; } /** *

The unique identifiers of the endpoints to get information about.

*/ inline DescribeVpcEndpointsRequest& AddVpcEndpointIds(const char* value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; } private: Aws::Vector m_vpcEndpointIds; bool m_vpcEndpointIdsHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws