AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VpcEndpointSummary.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/VpcEndpointStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API VpcEndpointSummary() = default;
37 AWS_OPENSEARCHSERVICE_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API VpcEndpointSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
47 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
48 template<typename VpcEndpointIdT = Aws::String>
49 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
50 template<typename VpcEndpointIdT = Aws::String>
51 VpcEndpointSummary& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetVpcEndpointOwner() const { return m_vpcEndpointOwner; }
59 inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; }
60 template<typename VpcEndpointOwnerT = Aws::String>
61 void SetVpcEndpointOwner(VpcEndpointOwnerT&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::forward<VpcEndpointOwnerT>(value); }
62 template<typename VpcEndpointOwnerT = Aws::String>
63 VpcEndpointSummary& WithVpcEndpointOwner(VpcEndpointOwnerT&& value) { SetVpcEndpointOwner(std::forward<VpcEndpointOwnerT>(value)); return *this;}
65
67
71 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
72 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
73 template<typename DomainArnT = Aws::String>
74 void SetDomainArn(DomainArnT&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::forward<DomainArnT>(value); }
75 template<typename DomainArnT = Aws::String>
76 VpcEndpointSummary& WithDomainArn(DomainArnT&& value) { SetDomainArn(std::forward<DomainArnT>(value)); return *this;}
78
80
83 inline VpcEndpointStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(VpcEndpointStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline VpcEndpointSummary& WithStatus(VpcEndpointStatus value) { SetStatus(value); return *this;}
88 private:
89
90 Aws::String m_vpcEndpointId;
91 bool m_vpcEndpointIdHasBeenSet = false;
92
93 Aws::String m_vpcEndpointOwner;
94 bool m_vpcEndpointOwnerHasBeenSet = false;
95
96 Aws::String m_domainArn;
97 bool m_domainArnHasBeenSet = false;
98
100 bool m_statusHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace OpenSearchService
105} // namespace Aws
VpcEndpointSummary & WithDomainArn(DomainArnT &&value)
void SetVpcEndpointOwner(VpcEndpointOwnerT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API VpcEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
VpcEndpointSummary & WithVpcEndpointOwner(VpcEndpointOwnerT &&value)
AWS_OPENSEARCHSERVICE_API VpcEndpointSummary()=default
VpcEndpointSummary & WithStatus(VpcEndpointStatus value)
VpcEndpointSummary & WithVpcEndpointId(VpcEndpointIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue