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
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() = default;
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 template<typename DomainArnT = Aws::String>
48 void SetDomainArn(DomainArnT&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::forward<DomainArnT>(value); }
49 template<typename DomainArnT = Aws::String>
50 CreateVpcEndpointRequest& WithDomainArn(DomainArnT&& value) { SetDomainArn(std::forward<DomainArnT>(value)); return *this;}
52
54
57 inline const VPCOptions& GetVpcOptions() const { return m_vpcOptions; }
58 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
59 template<typename VpcOptionsT = VPCOptions>
60 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
61 template<typename VpcOptionsT = VPCOptions>
62 CreateVpcEndpointRequest& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
64
66
69 inline const Aws::String& GetClientToken() const { return m_clientToken; }
70 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
71 template<typename ClientTokenT = Aws::String>
72 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
73 template<typename ClientTokenT = Aws::String>
74 CreateVpcEndpointRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
76 private:
77
78 Aws::String m_domainArn;
79 bool m_domainArnHasBeenSet = false;
80
81 VPCOptions m_vpcOptions;
82 bool m_vpcOptionsHasBeenSet = false;
83
84 Aws::String m_clientToken;
85 bool m_clientTokenHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ElasticsearchService
90} // namespace Aws
CreateVpcEndpointRequest & WithClientToken(ClientTokenT &&value)
CreateVpcEndpointRequest & WithDomainArn(DomainArnT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
CreateVpcEndpointRequest & WithVpcOptions(VpcOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String