AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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