AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EndpointDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Transfer
23{
24namespace Model
25{
26
51 {
52 public:
53 AWS_TRANSFER_API EndpointDetails() = default;
54 AWS_TRANSFER_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue);
56 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
87 inline const Aws::Vector<Aws::String>& GetAddressAllocationIds() const { return m_addressAllocationIds; }
88 inline bool AddressAllocationIdsHasBeenSet() const { return m_addressAllocationIdsHasBeenSet; }
89 template<typename AddressAllocationIdsT = Aws::Vector<Aws::String>>
90 void SetAddressAllocationIds(AddressAllocationIdsT&& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds = std::forward<AddressAllocationIdsT>(value); }
91 template<typename AddressAllocationIdsT = Aws::Vector<Aws::String>>
92 EndpointDetails& WithAddressAllocationIds(AddressAllocationIdsT&& value) { SetAddressAllocationIds(std::forward<AddressAllocationIdsT>(value)); return *this;}
93 template<typename AddressAllocationIdsT = Aws::String>
94 EndpointDetails& AddAddressAllocationIds(AddressAllocationIdsT&& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.emplace_back(std::forward<AddressAllocationIdsT>(value)); return *this; }
96
98
103 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
104 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
105 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
106 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
107 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
108 EndpointDetails& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
109 template<typename SubnetIdsT = Aws::String>
110 EndpointDetails& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
112
114
121 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
122 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
123 template<typename VpcEndpointIdT = Aws::String>
124 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
125 template<typename VpcEndpointIdT = Aws::String>
126 EndpointDetails& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
128
130
135 inline const Aws::String& GetVpcId() const { return m_vpcId; }
136 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
137 template<typename VpcIdT = Aws::String>
138 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
139 template<typename VpcIdT = Aws::String>
140 EndpointDetails& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
142
144
157 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
158 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
159 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
160 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
161 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
162 EndpointDetails& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
163 template<typename SecurityGroupIdsT = Aws::String>
164 EndpointDetails& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
166 private:
167
168 Aws::Vector<Aws::String> m_addressAllocationIds;
169 bool m_addressAllocationIdsHasBeenSet = false;
170
171 Aws::Vector<Aws::String> m_subnetIds;
172 bool m_subnetIdsHasBeenSet = false;
173
174 Aws::String m_vpcEndpointId;
175 bool m_vpcEndpointIdHasBeenSet = false;
176
177 Aws::String m_vpcId;
178 bool m_vpcIdHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_securityGroupIds;
181 bool m_securityGroupIdsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace Transfer
186} // namespace Aws
AWS_TRANSFER_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetAddressAllocationIds() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
EndpointDetails & AddSubnetIds(SubnetIdsT &&value)
EndpointDetails & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
EndpointDetails & WithVpcId(VpcIdT &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API EndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(SubnetIdsT &&value)
const Aws::String & GetVpcId() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::String & GetVpcEndpointId() const
EndpointDetails & WithAddressAllocationIds(AddressAllocationIdsT &&value)
EndpointDetails & WithSubnetIds(SubnetIdsT &&value)
AWS_TRANSFER_API EndpointDetails()=default
EndpointDetails & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetAddressAllocationIds(AddressAllocationIdsT &&value)
EndpointDetails & AddAddressAllocationIds(AddressAllocationIdsT &&value)
EndpointDetails & WithVpcEndpointId(VpcEndpointIdT &&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