AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VpcEndpointSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/VpcEndpointStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace OpenSearchService {
21namespace Model {
22
30 public:
31 AWS_OPENSEARCHSERVICE_API VpcEndpointSummary() = default;
32 AWS_OPENSEARCHSERVICE_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVICE_API VpcEndpointSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
41 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
42 template <typename VpcEndpointIdT = Aws::String>
43 void SetVpcEndpointId(VpcEndpointIdT&& value) {
44 m_vpcEndpointIdHasBeenSet = true;
45 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
46 }
47 template <typename VpcEndpointIdT = Aws::String>
48 VpcEndpointSummary& WithVpcEndpointId(VpcEndpointIdT&& value) {
49 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
50 return *this;
51 }
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) {
62 m_vpcEndpointOwnerHasBeenSet = true;
63 m_vpcEndpointOwner = std::forward<VpcEndpointOwnerT>(value);
64 }
65 template <typename VpcEndpointOwnerT = Aws::String>
66 VpcEndpointSummary& WithVpcEndpointOwner(VpcEndpointOwnerT&& value) {
67 SetVpcEndpointOwner(std::forward<VpcEndpointOwnerT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
78 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
79 template <typename DomainArnT = Aws::String>
80 void SetDomainArn(DomainArnT&& value) {
81 m_domainArnHasBeenSet = true;
82 m_domainArn = std::forward<DomainArnT>(value);
83 }
84 template <typename DomainArnT = Aws::String>
85 VpcEndpointSummary& WithDomainArn(DomainArnT&& value) {
86 SetDomainArn(std::forward<DomainArnT>(value));
87 return *this;
88 }
90
92
95 inline VpcEndpointStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(VpcEndpointStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106 private:
107 Aws::String m_vpcEndpointId;
108
109 Aws::String m_vpcEndpointOwner;
110
111 Aws::String m_domainArn;
112
114 bool m_vpcEndpointIdHasBeenSet = false;
115 bool m_vpcEndpointOwnerHasBeenSet = false;
116 bool m_domainArnHasBeenSet = false;
117 bool m_statusHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace OpenSearchService
122} // 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