AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeVpcEndpointsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/es/ElasticsearchServiceRequest.h>
10#include <aws/es/ElasticsearchService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticsearchService {
16namespace Model {
17
26 public:
27 AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeVpcEndpoints"; }
34
35 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const { return m_vpcEndpointIds; }
42 inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
43 template <typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
44 void SetVpcEndpointIds(VpcEndpointIdsT&& value) {
45 m_vpcEndpointIdsHasBeenSet = true;
46 m_vpcEndpointIds = std::forward<VpcEndpointIdsT>(value);
47 }
48 template <typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
50 SetVpcEndpointIds(std::forward<VpcEndpointIdsT>(value));
51 return *this;
52 }
53 template <typename VpcEndpointIdsT = Aws::String>
55 m_vpcEndpointIdsHasBeenSet = true;
56 m_vpcEndpointIds.emplace_back(std::forward<VpcEndpointIdsT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<Aws::String> m_vpcEndpointIds;
62 bool m_vpcEndpointIdsHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace ElasticsearchService
67} // 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