AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
47 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
48 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
49 inline UpdateVpcEndpointRequest& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
50 inline UpdateVpcEndpointRequest& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
51 inline UpdateVpcEndpointRequest& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
53
55
58 inline const VPCOptions& GetVpcOptions() const{ return m_vpcOptions; }
59 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
60 inline void SetVpcOptions(const VPCOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; }
61 inline void SetVpcOptions(VPCOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); }
62 inline UpdateVpcEndpointRequest& WithVpcOptions(const VPCOptions& value) { SetVpcOptions(value); return *this;}
63 inline UpdateVpcEndpointRequest& WithVpcOptions(VPCOptions&& value) { SetVpcOptions(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_vpcEndpointId;
68 bool m_vpcEndpointIdHasBeenSet = false;
69
70 VPCOptions m_vpcOptions;
71 bool m_vpcOptionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ElasticsearchService
76} // namespace Aws
UpdateVpcEndpointRequest & WithVpcOptions(const VPCOptions &value)
UpdateVpcEndpointRequest & WithVpcEndpointId(Aws::String &&value)
UpdateVpcEndpointRequest & WithVpcOptions(VPCOptions &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateVpcEndpointRequest & WithVpcEndpointId(const Aws::String &value)
UpdateVpcEndpointRequest & WithVpcEndpointId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String