AWS SDK for C++

AWS SDK for C++ Version 1.11.552

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
DescribeVpcEndpointsRequest.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticsearchService
16{
17namespace Model
18{
19
28 {
29 public:
30 AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeVpcEndpoints"; }
37
38 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const { return m_vpcEndpointIds; }
46 inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
47 template<typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
48 void SetVpcEndpointIds(VpcEndpointIdsT&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = std::forward<VpcEndpointIdsT>(value); }
49 template<typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
50 DescribeVpcEndpointsRequest& WithVpcEndpointIds(VpcEndpointIdsT&& value) { SetVpcEndpointIds(std::forward<VpcEndpointIdsT>(value)); return *this;}
51 template<typename VpcEndpointIdsT = Aws::String>
52 DescribeVpcEndpointsRequest& AddVpcEndpointIds(VpcEndpointIdsT&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.emplace_back(std::forward<VpcEndpointIdsT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_vpcEndpointIds;
57 bool m_vpcEndpointIdsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace ElasticsearchService
62} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsRequest()=default
DescribeVpcEndpointsRequest & AddVpcEndpointIds(VpcEndpointIdsT &&value)
DescribeVpcEndpointsRequest & WithVpcEndpointIds(VpcEndpointIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector