AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
54 AWS_TRANSFER_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue);
56 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
84 inline const Aws::Vector<Aws::String>& GetAddressAllocationIds() const{ return m_addressAllocationIds; }
85 inline bool AddressAllocationIdsHasBeenSet() const { return m_addressAllocationIdsHasBeenSet; }
86 inline void SetAddressAllocationIds(const Aws::Vector<Aws::String>& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds = value; }
87 inline void SetAddressAllocationIds(Aws::Vector<Aws::String>&& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds = std::move(value); }
90 inline EndpointDetails& AddAddressAllocationIds(const Aws::String& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.push_back(value); return *this; }
91 inline EndpointDetails& AddAddressAllocationIds(Aws::String&& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.push_back(std::move(value)); return *this; }
92 inline EndpointDetails& AddAddressAllocationIds(const char* value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.push_back(value); return *this; }
94
96
101 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
102 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
103 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
104 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
105 inline EndpointDetails& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
106 inline EndpointDetails& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
107 inline EndpointDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
108 inline EndpointDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
109 inline EndpointDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
111
113
120 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
121 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
122 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
123 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
124 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
125 inline EndpointDetails& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
126 inline EndpointDetails& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
127 inline EndpointDetails& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
129
131
136 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
137 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
138 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
139 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
140 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
141 inline EndpointDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
142 inline EndpointDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
143 inline EndpointDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
145
147
160 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
161 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
162 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
163 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
165 inline EndpointDetails& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
166 inline EndpointDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
167 inline EndpointDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
168 inline EndpointDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
170 private:
171
172 Aws::Vector<Aws::String> m_addressAllocationIds;
173 bool m_addressAllocationIdsHasBeenSet = false;
174
175 Aws::Vector<Aws::String> m_subnetIds;
176 bool m_subnetIdsHasBeenSet = false;
177
178 Aws::String m_vpcEndpointId;
179 bool m_vpcEndpointIdHasBeenSet = false;
180
181 Aws::String m_vpcId;
182 bool m_vpcIdHasBeenSet = false;
183
184 Aws::Vector<Aws::String> m_securityGroupIds;
185 bool m_securityGroupIdsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Transfer
190} // namespace Aws
EndpointDetails & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_TRANSFER_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAddressAllocationIds() const
EndpointDetails & WithVpcEndpointId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetVpcEndpointId(const char *value)
EndpointDetails & AddSecurityGroupIds(Aws::String &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointDetails & WithVpcEndpointId(const char *value)
AWS_TRANSFER_API EndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcId() const
EndpointDetails & WithSubnetIds(const Aws::Vector< Aws::String > &value)
EndpointDetails & WithVpcId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
EndpointDetails & AddSubnetIds(const char *value)
void SetAddressAllocationIds(Aws::Vector< Aws::String > &&value)
void SetVpcEndpointId(Aws::String &&value)
EndpointDetails & WithVpcId(const Aws::String &value)
EndpointDetails & AddSecurityGroupIds(const Aws::String &value)
const Aws::String & GetVpcEndpointId() const
EndpointDetails & AddSubnetIds(const Aws::String &value)
EndpointDetails & WithAddressAllocationIds(const Aws::Vector< Aws::String > &value)
EndpointDetails & WithAddressAllocationIds(Aws::Vector< Aws::String > &&value)
EndpointDetails & WithVpcId(const char *value)
void SetVpcId(const Aws::String &value)
EndpointDetails & AddAddressAllocationIds(Aws::String &&value)
EndpointDetails & AddSecurityGroupIds(const char *value)
void SetVpcEndpointId(const Aws::String &value)
EndpointDetails & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
EndpointDetails & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
EndpointDetails & AddAddressAllocationIds(const char *value)
EndpointDetails & AddAddressAllocationIds(const Aws::String &value)
EndpointDetails & AddSubnetIds(Aws::String &&value)
EndpointDetails & WithVpcEndpointId(Aws::String &&value)
void SetAddressAllocationIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(const Aws::Vector< 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