AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateVpcEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
10#include <aws/es/model/VPCOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticsearchService {
16namespace Model {
17
25 public:
26 AWS_ELASTICSEARCHSERVICE_API UpdateVpcEndpointRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateVpcEndpoint"; }
33
34 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
41 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
42 template <typename VpcEndpointIdT = Aws::String>
43 void SetVpcEndpointId(VpcEndpointIdT&& value) {
44 m_vpcEndpointIdHasBeenSet = true;
45 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
46 }
47 template <typename VpcEndpointIdT = Aws::String>
49 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
50 return *this;
51 }
53
55
58 inline const VPCOptions& GetVpcOptions() const { return m_vpcOptions; }
59 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
60 template <typename VpcOptionsT = VPCOptions>
61 void SetVpcOptions(VpcOptionsT&& value) {
62 m_vpcOptionsHasBeenSet = true;
63 m_vpcOptions = std::forward<VpcOptionsT>(value);
64 }
65 template <typename VpcOptionsT = VPCOptions>
67 SetVpcOptions(std::forward<VpcOptionsT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_vpcEndpointId;
73
74 VPCOptions m_vpcOptions;
75 bool m_vpcEndpointIdHasBeenSet = false;
76 bool m_vpcOptionsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ElasticsearchService
81} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API UpdateVpcEndpointRequest()=default
UpdateVpcEndpointRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
UpdateVpcEndpointRequest & WithVpcOptions(VpcOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String