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/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();
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 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
43 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
44 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
45 inline UpdateVpcEndpointRequest& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
46 inline UpdateVpcEndpointRequest& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
47 inline UpdateVpcEndpointRequest& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
49
51
54 inline const VPCOptions& GetVpcOptions() const{ return m_vpcOptions; }
55 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
56 inline void SetVpcOptions(const VPCOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; }
57 inline void SetVpcOptions(VPCOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); }
58 inline UpdateVpcEndpointRequest& WithVpcOptions(const VPCOptions& value) { SetVpcOptions(value); return *this;}
59 inline UpdateVpcEndpointRequest& WithVpcOptions(VPCOptions&& value) { SetVpcOptions(std::move(value)); return *this;}
61 private:
62
63 Aws::String m_vpcEndpointId;
64 bool m_vpcEndpointIdHasBeenSet = false;
65
66 VPCOptions m_vpcOptions;
67 bool m_vpcOptionsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace OpenSearchService
72} // namespace Aws
UpdateVpcEndpointRequest & WithVpcEndpointId(const Aws::String &value)
UpdateVpcEndpointRequest & WithVpcOptions(const VPCOptions &value)
UpdateVpcEndpointRequest & WithVpcOptions(VPCOptions &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateVpcEndpointRequest & WithVpcEndpointId(const char *value)
UpdateVpcEndpointRequest & WithVpcEndpointId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String