AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
49 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
50 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
51 inline VpcEndpointSummary& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
52 inline VpcEndpointSummary& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
53 inline VpcEndpointSummary& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
55
57
60 inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; }
61 inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; }
62 inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; }
63 inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); }
64 inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); }
65 inline VpcEndpointSummary& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;}
66 inline VpcEndpointSummary& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;}
67 inline VpcEndpointSummary& WithVpcEndpointOwner(const char* value) { SetVpcEndpointOwner(value); return *this;}
69
71
75 inline const Aws::String& GetDomainArn() const{ return m_domainArn; }
76 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
77 inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; }
78 inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); }
79 inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); }
80 inline VpcEndpointSummary& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
81 inline VpcEndpointSummary& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
82 inline VpcEndpointSummary& WithDomainArn(const char* value) { SetDomainArn(value); return *this;}
84
86
89 inline const VpcEndpointStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const VpcEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(VpcEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline VpcEndpointSummary& WithStatus(const VpcEndpointStatus& value) { SetStatus(value); return *this;}
94 inline VpcEndpointSummary& WithStatus(VpcEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_vpcEndpointId;
99 bool m_vpcEndpointIdHasBeenSet = false;
100
101 Aws::String m_vpcEndpointOwner;
102 bool m_vpcEndpointOwnerHasBeenSet = false;
103
104 Aws::String m_domainArn;
105 bool m_domainArnHasBeenSet = false;
106
107 VpcEndpointStatus m_status;
108 bool m_statusHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace OpenSearchService
113} // namespace Aws
VpcEndpointSummary & WithVpcEndpointId(const char *value)
VpcEndpointSummary & WithVpcEndpointId(Aws::String &&value)
VpcEndpointSummary & WithDomainArn(const char *value)
VpcEndpointSummary & WithStatus(VpcEndpointStatus &&value)
VpcEndpointSummary & WithVpcEndpointOwner(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API VpcEndpointSummary()
VpcEndpointSummary & WithVpcEndpointOwner(const char *value)
VpcEndpointSummary & WithDomainArn(const Aws::String &value)
VpcEndpointSummary & WithVpcEndpointId(const Aws::String &value)
VpcEndpointSummary & WithStatus(const VpcEndpointStatus &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API VpcEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const VpcEndpointStatus &value)
AWS_OPENSEARCHSERVICE_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
VpcEndpointSummary & WithVpcEndpointOwner(const Aws::String &value)
VpcEndpointSummary & WithDomainArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue