AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateVpcEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
10#include <aws/es/model/VPCOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticsearchService {
16namespace Model {
17
26 public:
27 AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateVpcEndpoint"; }
34
35 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
42 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
43 template <typename DomainArnT = Aws::String>
44 void SetDomainArn(DomainArnT&& value) {
45 m_domainArnHasBeenSet = true;
46 m_domainArn = std::forward<DomainArnT>(value);
47 }
48 template <typename DomainArnT = Aws::String>
50 SetDomainArn(std::forward<DomainArnT>(value));
51 return *this;
52 }
54
56
59 inline const VPCOptions& GetVpcOptions() const { return m_vpcOptions; }
60 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
61 template <typename VpcOptionsT = VPCOptions>
62 void SetVpcOptions(VpcOptionsT&& value) {
63 m_vpcOptionsHasBeenSet = true;
64 m_vpcOptions = std::forward<VpcOptionsT>(value);
65 }
66 template <typename VpcOptionsT = VPCOptions>
68 SetVpcOptions(std::forward<VpcOptionsT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template <typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) {
81 m_clientTokenHasBeenSet = true;
82 m_clientToken = std::forward<ClientTokenT>(value);
83 }
84 template <typename ClientTokenT = Aws::String>
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_domainArn;
92
93 VPCOptions m_vpcOptions;
94
95 Aws::String m_clientToken;
96 bool m_domainArnHasBeenSet = false;
97 bool m_vpcOptionsHasBeenSet = false;
98 bool m_clientTokenHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ElasticsearchService
103} // 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