AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/VPCDerivedInfo.h>
10#include <aws/opensearch/model/VpcEndpointStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API VpcEndpoint();
38 AWS_OPENSEARCHSERVICE_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API VpcEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
48 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
49 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
50 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
51 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
52 inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
53 inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
54 inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
56
58
61 inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; }
62 inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; }
63 inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; }
64 inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); }
65 inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); }
66 inline VpcEndpoint& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;}
67 inline VpcEndpoint& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;}
68 inline VpcEndpoint& WithVpcEndpointOwner(const char* value) { SetVpcEndpointOwner(value); return *this;}
70
72
76 inline const Aws::String& GetDomainArn() const{ return m_domainArn; }
77 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
78 inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; }
79 inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); }
80 inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); }
81 inline VpcEndpoint& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
82 inline VpcEndpoint& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
83 inline VpcEndpoint& WithDomainArn(const char* value) { SetDomainArn(value); return *this;}
85
87
91 inline const VPCDerivedInfo& GetVpcOptions() const{ return m_vpcOptions; }
92 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
93 inline void SetVpcOptions(const VPCDerivedInfo& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; }
94 inline void SetVpcOptions(VPCDerivedInfo&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); }
95 inline VpcEndpoint& WithVpcOptions(const VPCDerivedInfo& value) { SetVpcOptions(value); return *this;}
96 inline VpcEndpoint& WithVpcOptions(VPCDerivedInfo&& value) { SetVpcOptions(std::move(value)); return *this;}
98
100
103 inline const VpcEndpointStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const VpcEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(VpcEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline VpcEndpoint& WithStatus(const VpcEndpointStatus& value) { SetStatus(value); return *this;}
108 inline VpcEndpoint& WithStatus(VpcEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
116 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
117 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
118 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
119 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
120 inline VpcEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
121 inline VpcEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
122 inline VpcEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
124 private:
125
126 Aws::String m_vpcEndpointId;
127 bool m_vpcEndpointIdHasBeenSet = false;
128
129 Aws::String m_vpcEndpointOwner;
130 bool m_vpcEndpointOwnerHasBeenSet = false;
131
132 Aws::String m_domainArn;
133 bool m_domainArnHasBeenSet = false;
134
135 VPCDerivedInfo m_vpcOptions;
136 bool m_vpcOptionsHasBeenSet = false;
137
138 VpcEndpointStatus m_status;
139 bool m_statusHasBeenSet = false;
140
141 Aws::String m_endpoint;
142 bool m_endpointHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace OpenSearchService
147} // namespace Aws
VpcEndpoint & WithVpcOptions(VPCDerivedInfo &&value)
Definition VpcEndpoint.h:96
VpcEndpoint & WithEndpoint(const Aws::String &value)
void SetVpcEndpointOwner(Aws::String &&value)
Definition VpcEndpoint.h:64
void SetVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:50
const Aws::String & GetEndpoint() const
VpcEndpoint & WithEndpoint(const char *value)
VpcEndpoint & WithDomainArn(Aws::String &&value)
Definition VpcEndpoint.h:82
VpcEndpoint & WithVpcEndpointId(const char *value)
Definition VpcEndpoint.h:54
VpcEndpoint & WithVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:52
void SetVpcEndpointOwner(const Aws::String &value)
Definition VpcEndpoint.h:63
VpcEndpoint & WithStatus(const VpcEndpointStatus &value)
void SetVpcEndpointOwner(const char *value)
Definition VpcEndpoint.h:65
void SetVpcOptions(VPCDerivedInfo &&value)
Definition VpcEndpoint.h:94
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
VpcEndpoint & WithVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:53
void SetVpcEndpointId(const char *value)
Definition VpcEndpoint.h:51
VpcEndpoint & WithVpcEndpointOwner(Aws::String &&value)
Definition VpcEndpoint.h:67
const VpcEndpointStatus & GetStatus() const
VpcEndpoint & WithEndpoint(Aws::String &&value)
VpcEndpoint & WithDomainArn(const Aws::String &value)
Definition VpcEndpoint.h:81
void SetEndpoint(const Aws::String &value)
void SetEndpoint(Aws::String &&value)
void SetVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:49
VpcEndpoint & WithDomainArn(const char *value)
Definition VpcEndpoint.h:83
VpcEndpoint & WithVpcEndpointOwner(const char *value)
Definition VpcEndpoint.h:68
AWS_OPENSEARCHSERVICE_API VpcEndpoint()
void SetStatus(VpcEndpointStatus &&value)
VpcEndpoint & WithVpcEndpointOwner(const Aws::String &value)
Definition VpcEndpoint.h:66
void SetDomainArn(Aws::String &&value)
Definition VpcEndpoint.h:79
VpcEndpoint & WithVpcOptions(const VPCDerivedInfo &value)
Definition VpcEndpoint.h:95
void SetStatus(const VpcEndpointStatus &value)
const VPCDerivedInfo & GetVpcOptions() const
Definition VpcEndpoint.h:91
const Aws::String & GetDomainArn() const
Definition VpcEndpoint.h:76
AWS_OPENSEARCHSERVICE_API VpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcEndpoint & WithStatus(VpcEndpointStatus &&value)
const Aws::String & GetVpcEndpointOwner() const
Definition VpcEndpoint.h:61
void SetVpcOptions(const VPCDerivedInfo &value)
Definition VpcEndpoint.h:93
AWS_OPENSEARCHSERVICE_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:47
void SetDomainArn(const Aws::String &value)
Definition VpcEndpoint.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue