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/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 CreateVpcEndpointRequest();
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 "CreateVpcEndpoint"; }
32
33 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainArn() const{ return m_domainArn; }
41 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
42 inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; }
43 inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); }
44 inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); }
45 inline CreateVpcEndpointRequest& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
46 inline CreateVpcEndpointRequest& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
47 inline CreateVpcEndpointRequest& WithDomainArn(const char* value) { SetDomainArn(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 CreateVpcEndpointRequest& WithVpcOptions(const VPCOptions& value) { SetVpcOptions(value); return *this;}
59 inline CreateVpcEndpointRequest& WithVpcOptions(VPCOptions&& value) { SetVpcOptions(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
67 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
68 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
69 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
70 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
71 inline CreateVpcEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
72 inline CreateVpcEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
73 inline CreateVpcEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
75 private:
76
77 Aws::String m_domainArn;
78 bool m_domainArnHasBeenSet = false;
79
80 VPCOptions m_vpcOptions;
81 bool m_vpcOptionsHasBeenSet = false;
82
83 Aws::String m_clientToken;
84 bool m_clientTokenHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace OpenSearchService
89} // namespace Aws
CreateVpcEndpointRequest & WithDomainArn(const Aws::String &value)
CreateVpcEndpointRequest & WithVpcOptions(VPCOptions &&value)
CreateVpcEndpointRequest & WithVpcOptions(const VPCOptions &value)
CreateVpcEndpointRequest & WithClientToken(const char *value)
CreateVpcEndpointRequest & WithClientToken(const Aws::String &value)
CreateVpcEndpointRequest & WithClientToken(Aws::String &&value)
CreateVpcEndpointRequest & WithDomainArn(Aws::String &&value)
CreateVpcEndpointRequest & WithDomainArn(const char *value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String