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
UpdateVpcEndpointRequest.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/AWSString.h>
10#include <aws/es/model/VPCOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticsearchService
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ELASTICSEARCHSERVICE_API UpdateVpcEndpointRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateVpcEndpoint"; }
36
37 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
45 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
46 template<typename VpcEndpointIdT = Aws::String>
47 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
48 template<typename VpcEndpointIdT = Aws::String>
49 UpdateVpcEndpointRequest& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
51
53
56 inline const VPCOptions& GetVpcOptions() const { return m_vpcOptions; }
57 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
58 template<typename VpcOptionsT = VPCOptions>
59 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
60 template<typename VpcOptionsT = VPCOptions>
61 UpdateVpcEndpointRequest& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
63 private:
64
65 Aws::String m_vpcEndpointId;
66 bool m_vpcEndpointIdHasBeenSet = false;
67
68 VPCOptions m_vpcOptions;
69 bool m_vpcOptionsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ElasticsearchService
74} // 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