AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EndpointConfiguration.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/apigateway/model/IpAddressType.h>
10#include <aws/apigateway/model/EndpointType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace APIGateway
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_APIGATEWAY_API EndpointConfiguration() = default;
42 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const Aws::Vector<EndpointType>& GetTypes() const { return m_types; }
54 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
55 template<typename TypesT = Aws::Vector<EndpointType>>
56 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
57 template<typename TypesT = Aws::Vector<EndpointType>>
58 EndpointConfiguration& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
59 inline EndpointConfiguration& AddTypes(EndpointType value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
61
63
70 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
71 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
72 inline void SetIpAddressType(IpAddressType value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
75
77
81 inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const { return m_vpcEndpointIds; }
82 inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
83 template<typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
84 void SetVpcEndpointIds(VpcEndpointIdsT&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = std::forward<VpcEndpointIdsT>(value); }
85 template<typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
86 EndpointConfiguration& WithVpcEndpointIds(VpcEndpointIdsT&& value) { SetVpcEndpointIds(std::forward<VpcEndpointIdsT>(value)); return *this;}
87 template<typename VpcEndpointIdsT = Aws::String>
88 EndpointConfiguration& AddVpcEndpointIds(VpcEndpointIdsT&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.emplace_back(std::forward<VpcEndpointIdsT>(value)); return *this; }
90 private:
91
93 bool m_typesHasBeenSet = false;
94
96 bool m_ipAddressTypeHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_vpcEndpointIds;
99 bool m_vpcEndpointIdsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace APIGateway
104} // namespace Aws
AWS_APIGATEWAY_API EndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetVpcEndpointIds() const
EndpointConfiguration & WithIpAddressType(IpAddressType value)
EndpointConfiguration & WithTypes(TypesT &&value)
AWS_APIGATEWAY_API EndpointConfiguration()=default
EndpointConfiguration & AddVpcEndpointIds(VpcEndpointIdsT &&value)
EndpointConfiguration & AddTypes(EndpointType value)
EndpointConfiguration & WithVpcEndpointIds(VpcEndpointIdsT &&value)
AWS_APIGATEWAY_API EndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EndpointType > & GetTypes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue