AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2VpcEndpointServiceDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsEc2VpcEndpointServiceServiceTypeDetails.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 SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsEc2VpcEndpointServiceDetails();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline bool GetAcceptanceRequired() const{ return m_acceptanceRequired; }
49 inline bool AcceptanceRequiredHasBeenSet() const { return m_acceptanceRequiredHasBeenSet; }
50 inline void SetAcceptanceRequired(bool value) { m_acceptanceRequiredHasBeenSet = true; m_acceptanceRequired = value; }
53
55
58 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
59 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
60 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
61 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
64 inline AwsEc2VpcEndpointServiceDetails& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
65 inline AwsEc2VpcEndpointServiceDetails& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
66 inline AwsEc2VpcEndpointServiceDetails& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
68
70
73 inline const Aws::Vector<Aws::String>& GetBaseEndpointDnsNames() const{ return m_baseEndpointDnsNames; }
74 inline bool BaseEndpointDnsNamesHasBeenSet() const { return m_baseEndpointDnsNamesHasBeenSet; }
75 inline void SetBaseEndpointDnsNames(const Aws::Vector<Aws::String>& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames = value; }
76 inline void SetBaseEndpointDnsNames(Aws::Vector<Aws::String>&& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames = std::move(value); }
79 inline AwsEc2VpcEndpointServiceDetails& AddBaseEndpointDnsNames(const Aws::String& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(value); return *this; }
80 inline AwsEc2VpcEndpointServiceDetails& AddBaseEndpointDnsNames(Aws::String&& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(std::move(value)); return *this; }
81 inline AwsEc2VpcEndpointServiceDetails& AddBaseEndpointDnsNames(const char* value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(value); return *this; }
83
85
88 inline bool GetManagesVpcEndpoints() const{ return m_managesVpcEndpoints; }
89 inline bool ManagesVpcEndpointsHasBeenSet() const { return m_managesVpcEndpointsHasBeenSet; }
90 inline void SetManagesVpcEndpoints(bool value) { m_managesVpcEndpointsHasBeenSet = true; m_managesVpcEndpoints = value; }
93
95
98 inline const Aws::Vector<Aws::String>& GetGatewayLoadBalancerArns() const{ return m_gatewayLoadBalancerArns; }
99 inline bool GatewayLoadBalancerArnsHasBeenSet() const { return m_gatewayLoadBalancerArnsHasBeenSet; }
100 inline void SetGatewayLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = value; }
101 inline void SetGatewayLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = std::move(value); }
104 inline AwsEc2VpcEndpointServiceDetails& AddGatewayLoadBalancerArns(const Aws::String& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; }
105 inline AwsEc2VpcEndpointServiceDetails& AddGatewayLoadBalancerArns(Aws::String&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(std::move(value)); return *this; }
106 inline AwsEc2VpcEndpointServiceDetails& AddGatewayLoadBalancerArns(const char* value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; }
108
110
113 inline const Aws::Vector<Aws::String>& GetNetworkLoadBalancerArns() const{ return m_networkLoadBalancerArns; }
114 inline bool NetworkLoadBalancerArnsHasBeenSet() const { return m_networkLoadBalancerArnsHasBeenSet; }
115 inline void SetNetworkLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = value; }
116 inline void SetNetworkLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = std::move(value); }
119 inline AwsEc2VpcEndpointServiceDetails& AddNetworkLoadBalancerArns(const Aws::String& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; }
120 inline AwsEc2VpcEndpointServiceDetails& AddNetworkLoadBalancerArns(Aws::String&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(std::move(value)); return *this; }
121 inline AwsEc2VpcEndpointServiceDetails& AddNetworkLoadBalancerArns(const char* value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; }
123
125
128 inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
129 inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
130 inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
131 inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
132 inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
134 inline AwsEc2VpcEndpointServiceDetails& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;}
135 inline AwsEc2VpcEndpointServiceDetails& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
137
139
142 inline const Aws::String& GetServiceId() const{ return m_serviceId; }
143 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
144 inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
145 inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
146 inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); }
147 inline AwsEc2VpcEndpointServiceDetails& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;}
148 inline AwsEc2VpcEndpointServiceDetails& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
149 inline AwsEc2VpcEndpointServiceDetails& WithServiceId(const char* value) { SetServiceId(value); return *this;}
151
153
156 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
157 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
158 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
159 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
160 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
161 inline AwsEc2VpcEndpointServiceDetails& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
162 inline AwsEc2VpcEndpointServiceDetails& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
163 inline AwsEc2VpcEndpointServiceDetails& WithServiceName(const char* value) { SetServiceName(value); return *this;}
165
167
173 inline const Aws::String& GetServiceState() const{ return m_serviceState; }
174 inline bool ServiceStateHasBeenSet() const { return m_serviceStateHasBeenSet; }
175 inline void SetServiceState(const Aws::String& value) { m_serviceStateHasBeenSet = true; m_serviceState = value; }
176 inline void SetServiceState(Aws::String&& value) { m_serviceStateHasBeenSet = true; m_serviceState = std::move(value); }
177 inline void SetServiceState(const char* value) { m_serviceStateHasBeenSet = true; m_serviceState.assign(value); }
179 inline AwsEc2VpcEndpointServiceDetails& WithServiceState(Aws::String&& value) { SetServiceState(std::move(value)); return *this;}
180 inline AwsEc2VpcEndpointServiceDetails& WithServiceState(const char* value) { SetServiceState(value); return *this;}
182
184
187 inline const Aws::Vector<AwsEc2VpcEndpointServiceServiceTypeDetails>& GetServiceType() const{ return m_serviceType; }
188 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
189 inline void SetServiceType(const Aws::Vector<AwsEc2VpcEndpointServiceServiceTypeDetails>& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
190 inline void SetServiceType(Aws::Vector<AwsEc2VpcEndpointServiceServiceTypeDetails>&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
193 inline AwsEc2VpcEndpointServiceDetails& AddServiceType(const AwsEc2VpcEndpointServiceServiceTypeDetails& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(value); return *this; }
194 inline AwsEc2VpcEndpointServiceDetails& AddServiceType(AwsEc2VpcEndpointServiceServiceTypeDetails&& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(std::move(value)); return *this; }
196 private:
197
198 bool m_acceptanceRequired;
199 bool m_acceptanceRequiredHasBeenSet = false;
200
201 Aws::Vector<Aws::String> m_availabilityZones;
202 bool m_availabilityZonesHasBeenSet = false;
203
204 Aws::Vector<Aws::String> m_baseEndpointDnsNames;
205 bool m_baseEndpointDnsNamesHasBeenSet = false;
206
207 bool m_managesVpcEndpoints;
208 bool m_managesVpcEndpointsHasBeenSet = false;
209
210 Aws::Vector<Aws::String> m_gatewayLoadBalancerArns;
211 bool m_gatewayLoadBalancerArnsHasBeenSet = false;
212
213 Aws::Vector<Aws::String> m_networkLoadBalancerArns;
214 bool m_networkLoadBalancerArnsHasBeenSet = false;
215
216 Aws::String m_privateDnsName;
217 bool m_privateDnsNameHasBeenSet = false;
218
219 Aws::String m_serviceId;
220 bool m_serviceIdHasBeenSet = false;
221
222 Aws::String m_serviceName;
223 bool m_serviceNameHasBeenSet = false;
224
225 Aws::String m_serviceState;
226 bool m_serviceStateHasBeenSet = false;
227
229 bool m_serviceTypeHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace SecurityHub
234} // namespace Aws
AwsEc2VpcEndpointServiceDetails & WithServiceState(const char *value)
AwsEc2VpcEndpointServiceDetails & WithServiceName(const char *value)
AwsEc2VpcEndpointServiceDetails & WithPrivateDnsName(const char *value)
AwsEc2VpcEndpointServiceDetails & AddBaseEndpointDnsNames(Aws::String &&value)
void SetGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< AwsEc2VpcEndpointServiceServiceTypeDetails > & GetServiceType() const
AwsEc2VpcEndpointServiceDetails & AddBaseEndpointDnsNames(const Aws::String &value)
void SetServiceType(const Aws::Vector< AwsEc2VpcEndpointServiceServiceTypeDetails > &value)
AwsEc2VpcEndpointServiceDetails & WithServiceId(const char *value)
AwsEc2VpcEndpointServiceDetails & AddAvailabilityZones(Aws::String &&value)
AwsEc2VpcEndpointServiceDetails & WithPrivateDnsName(const Aws::String &value)
AwsEc2VpcEndpointServiceDetails & WithServiceName(Aws::String &&value)
AwsEc2VpcEndpointServiceDetails & WithGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
void SetBaseEndpointDnsNames(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & WithServiceState(const Aws::String &value)
AwsEc2VpcEndpointServiceDetails & AddAvailabilityZones(const char *value)
AwsEc2VpcEndpointServiceDetails & WithServiceName(const Aws::String &value)
void SetNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & WithBaseEndpointDnsNames(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & WithServiceId(const Aws::String &value)
AwsEc2VpcEndpointServiceDetails & AddGatewayLoadBalancerArns(const char *value)
AwsEc2VpcEndpointServiceDetails & AddAvailabilityZones(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGatewayLoadBalancerArns() const
AwsEc2VpcEndpointServiceDetails & AddGatewayLoadBalancerArns(const Aws::String &value)
AwsEc2VpcEndpointServiceDetails & WithGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & AddBaseEndpointDnsNames(const char *value)
AwsEc2VpcEndpointServiceDetails & WithServiceType(const Aws::Vector< AwsEc2VpcEndpointServiceServiceTypeDetails > &value)
AwsEc2VpcEndpointServiceDetails & AddNetworkLoadBalancerArns(const char *value)
AwsEc2VpcEndpointServiceDetails & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & WithNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
AwsEc2VpcEndpointServiceDetails & WithAcceptanceRequired(bool value)
AwsEc2VpcEndpointServiceDetails & WithServiceState(Aws::String &&value)
AwsEc2VpcEndpointServiceDetails & WithServiceType(Aws::Vector< AwsEc2VpcEndpointServiceServiceTypeDetails > &&value)
AwsEc2VpcEndpointServiceDetails & AddNetworkLoadBalancerArns(const Aws::String &value)
AwsEc2VpcEndpointServiceDetails & WithManagesVpcEndpoints(bool value)
AwsEc2VpcEndpointServiceDetails & AddNetworkLoadBalancerArns(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2VpcEndpointServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VpcEndpointServiceDetails & WithNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & WithPrivateDnsName(Aws::String &&value)
AwsEc2VpcEndpointServiceDetails & AddServiceType(AwsEc2VpcEndpointServiceServiceTypeDetails &&value)
AwsEc2VpcEndpointServiceDetails & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEc2VpcEndpointServiceDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VpcEndpointServiceDetails & WithBaseEndpointDnsNames(Aws::Vector< Aws::String > &&value)
AwsEc2VpcEndpointServiceDetails & AddServiceType(const AwsEc2VpcEndpointServiceServiceTypeDetails &value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
AwsEc2VpcEndpointServiceDetails & AddGatewayLoadBalancerArns(Aws::String &&value)
void SetServiceType(Aws::Vector< AwsEc2VpcEndpointServiceServiceTypeDetails > &&value)
AwsEc2VpcEndpointServiceDetails & WithServiceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue