AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateVpcEndpointRequest.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/VPCOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpenSearchService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPENSEARCHSERVICE_API UpdateVpcEndpointRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateVpcEndpoint"; }
32
33 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
34
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) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
44 template<typename VpcEndpointIdT = Aws::String>
45 UpdateVpcEndpointRequest& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
47
49
52 inline const VPCOptions& GetVpcOptions() const { return m_vpcOptions; }
53 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
54 template<typename VpcOptionsT = VPCOptions>
55 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
56 template<typename VpcOptionsT = VPCOptions>
57 UpdateVpcEndpointRequest& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
59 private:
60
61 Aws::String m_vpcEndpointId;
62 bool m_vpcEndpointIdHasBeenSet = false;
63
64 VPCOptions m_vpcOptions;
65 bool m_vpcOptionsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace OpenSearchService
70} // 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