AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename VpcEndpointIdT = Aws::String>
50 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
51 template<typename VpcEndpointIdT = Aws::String>
52 VpcEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetVpcEndpointOwner() const { return m_vpcEndpointOwner; }
60 inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; }
61 template<typename VpcEndpointOwnerT = Aws::String>
62 void SetVpcEndpointOwner(VpcEndpointOwnerT&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::forward<VpcEndpointOwnerT>(value); }
63 template<typename VpcEndpointOwnerT = Aws::String>
64 VpcEndpoint& WithVpcEndpointOwner(VpcEndpointOwnerT&& value) { SetVpcEndpointOwner(std::forward<VpcEndpointOwnerT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
73 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
74 template<typename DomainArnT = Aws::String>
75 void SetDomainArn(DomainArnT&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::forward<DomainArnT>(value); }
76 template<typename DomainArnT = Aws::String>
77 VpcEndpoint& WithDomainArn(DomainArnT&& value) { SetDomainArn(std::forward<DomainArnT>(value)); return *this;}
79
81
85 inline const VPCDerivedInfo& GetVpcOptions() const { return m_vpcOptions; }
86 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
87 template<typename VpcOptionsT = VPCDerivedInfo>
88 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
89 template<typename VpcOptionsT = VPCDerivedInfo>
90 VpcEndpoint& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
92
94
97 inline VpcEndpointStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(VpcEndpointStatus value) { m_statusHasBeenSet = true; m_status = value; }
100 inline VpcEndpoint& WithStatus(VpcEndpointStatus value) { SetStatus(value); return *this;}
102
104
107 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
108 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
109 template<typename EndpointT = Aws::String>
110 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
111 template<typename EndpointT = Aws::String>
112 VpcEndpoint& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
114 private:
115
116 Aws::String m_vpcEndpointId;
117 bool m_vpcEndpointIdHasBeenSet = false;
118
119 Aws::String m_vpcEndpointOwner;
120 bool m_vpcEndpointOwnerHasBeenSet = false;
121
122 Aws::String m_domainArn;
123 bool m_domainArnHasBeenSet = false;
124
125 VPCDerivedInfo m_vpcOptions;
126 bool m_vpcOptionsHasBeenSet = false;
127
129 bool m_statusHasBeenSet = false;
130
131 Aws::String m_endpoint;
132 bool m_endpointHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace OpenSearchService
137} // namespace Aws
VpcEndpoint & WithVpcOptions(VpcOptionsT &&value)
Definition VpcEndpoint.h:90
VpcEndpointStatus GetStatus() const
Definition VpcEndpoint.h:97
VpcEndpoint & WithEndpoint(EndpointT &&value)
const Aws::String & GetEndpoint() const
VpcEndpoint & WithStatus(VpcEndpointStatus value)
void SetStatus(VpcEndpointStatus value)
Definition VpcEndpoint.h:99
void SetVpcOptions(VpcOptionsT &&value)
Definition VpcEndpoint.h:88
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
VpcEndpoint & WithVpcEndpointOwner(VpcEndpointOwnerT &&value)
Definition VpcEndpoint.h:64
VpcEndpoint & WithVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:52
void SetVpcEndpointOwner(VpcEndpointOwnerT &&value)
Definition VpcEndpoint.h:62
VpcEndpoint & WithDomainArn(DomainArnT &&value)
Definition VpcEndpoint.h:77
AWS_OPENSEARCHSERVICE_API VpcEndpoint()=default
void SetDomainArn(DomainArnT &&value)
Definition VpcEndpoint.h:75
const VPCDerivedInfo & GetVpcOptions() const
Definition VpcEndpoint.h:85
const Aws::String & GetDomainArn() const
Definition VpcEndpoint.h:72
AWS_OPENSEARCHSERVICE_API VpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcEndpointOwner() const
Definition VpcEndpoint.h:59
AWS_OPENSEARCHSERVICE_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:47
void SetVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue