AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVpcEndpointRequest.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
28 {
29 public:
30 AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateVpcEndpoint"; }
37
38 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetDomainArn() const{ return m_domainArn; }
46 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
47 inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; }
48 inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); }
49 inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); }
50 inline CreateVpcEndpointRequest& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
51 inline CreateVpcEndpointRequest& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
52 inline CreateVpcEndpointRequest& WithDomainArn(const char* value) { SetDomainArn(value); return *this;}
54
56
59 inline const VPCOptions& GetVpcOptions() const{ return m_vpcOptions; }
60 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
61 inline void SetVpcOptions(const VPCOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; }
62 inline void SetVpcOptions(VPCOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); }
63 inline CreateVpcEndpointRequest& WithVpcOptions(const VPCOptions& value) { SetVpcOptions(value); return *this;}
64 inline CreateVpcEndpointRequest& WithVpcOptions(VPCOptions&& value) { SetVpcOptions(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
74 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76 inline CreateVpcEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
77 inline CreateVpcEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
78 inline CreateVpcEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
80 private:
81
82 Aws::String m_domainArn;
83 bool m_domainArnHasBeenSet = false;
84
85 VPCOptions m_vpcOptions;
86 bool m_vpcOptionsHasBeenSet = false;
87
88 Aws::String m_clientToken;
89 bool m_clientTokenHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ElasticsearchService
94} // namespace Aws
CreateVpcEndpointRequest & WithDomainArn(Aws::String &&value)
CreateVpcEndpointRequest & WithClientToken(Aws::String &&value)
CreateVpcEndpointRequest & WithVpcOptions(const VPCOptions &value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
CreateVpcEndpointRequest & WithDomainArn(const Aws::String &value)
CreateVpcEndpointRequest & WithDomainArn(const char *value)
CreateVpcEndpointRequest & WithClientToken(const char *value)
CreateVpcEndpointRequest & WithClientToken(const Aws::String &value)
CreateVpcEndpointRequest & WithVpcOptions(VPCOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String