AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DirectoryConnectSettingsDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DirectoryService {
21namespace Model {
22
30 public:
31 AWS_DIRECTORYSERVICE_API DirectoryConnectSettingsDescription() = default;
34 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVpcId() const { return m_vpcId; }
41 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
42 template <typename VpcIdT = Aws::String>
43 void SetVpcId(VpcIdT&& value) {
44 m_vpcIdHasBeenSet = true;
45 m_vpcId = std::forward<VpcIdT>(value);
46 }
47 template <typename VpcIdT = Aws::String>
49 SetVpcId(std::forward<VpcIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
59 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
60 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
61 void SetSubnetIds(SubnetIdsT&& value) {
62 m_subnetIdsHasBeenSet = true;
63 m_subnetIds = std::forward<SubnetIdsT>(value);
64 }
65 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
67 SetSubnetIds(std::forward<SubnetIdsT>(value));
68 return *this;
69 }
70 template <typename SubnetIdsT = Aws::String>
72 m_subnetIdsHasBeenSet = true;
73 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetCustomerUserName() const { return m_customerUserName; }
83 inline bool CustomerUserNameHasBeenSet() const { return m_customerUserNameHasBeenSet; }
84 template <typename CustomerUserNameT = Aws::String>
85 void SetCustomerUserName(CustomerUserNameT&& value) {
86 m_customerUserNameHasBeenSet = true;
87 m_customerUserName = std::forward<CustomerUserNameT>(value);
88 }
89 template <typename CustomerUserNameT = Aws::String>
91 SetCustomerUserName(std::forward<CustomerUserNameT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetSecurityGroupId() const { return m_securityGroupId; }
101 inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; }
102 template <typename SecurityGroupIdT = Aws::String>
103 void SetSecurityGroupId(SecurityGroupIdT&& value) {
104 m_securityGroupIdHasBeenSet = true;
105 m_securityGroupId = std::forward<SecurityGroupIdT>(value);
106 }
107 template <typename SecurityGroupIdT = Aws::String>
109 SetSecurityGroupId(std::forward<SecurityGroupIdT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
119 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
120 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
121 void SetAvailabilityZones(AvailabilityZonesT&& value) {
122 m_availabilityZonesHasBeenSet = true;
123 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
124 }
125 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
127 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
128 return *this;
129 }
130 template <typename AvailabilityZonesT = Aws::String>
132 m_availabilityZonesHasBeenSet = true;
133 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::Vector<Aws::String>& GetConnectIps() const { return m_connectIps; }
143 inline bool ConnectIpsHasBeenSet() const { return m_connectIpsHasBeenSet; }
144 template <typename ConnectIpsT = Aws::Vector<Aws::String>>
145 void SetConnectIps(ConnectIpsT&& value) {
146 m_connectIpsHasBeenSet = true;
147 m_connectIps = std::forward<ConnectIpsT>(value);
148 }
149 template <typename ConnectIpsT = Aws::Vector<Aws::String>>
151 SetConnectIps(std::forward<ConnectIpsT>(value));
152 return *this;
153 }
154 template <typename ConnectIpsT = Aws::String>
156 m_connectIpsHasBeenSet = true;
157 m_connectIps.emplace_back(std::forward<ConnectIpsT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Vector<Aws::String>& GetConnectIpsV6() const { return m_connectIpsV6; }
167 inline bool ConnectIpsV6HasBeenSet() const { return m_connectIpsV6HasBeenSet; }
168 template <typename ConnectIpsV6T = Aws::Vector<Aws::String>>
169 void SetConnectIpsV6(ConnectIpsV6T&& value) {
170 m_connectIpsV6HasBeenSet = true;
171 m_connectIpsV6 = std::forward<ConnectIpsV6T>(value);
172 }
173 template <typename ConnectIpsV6T = Aws::Vector<Aws::String>>
175 SetConnectIpsV6(std::forward<ConnectIpsV6T>(value));
176 return *this;
177 }
178 template <typename ConnectIpsV6T = Aws::String>
180 m_connectIpsV6HasBeenSet = true;
181 m_connectIpsV6.emplace_back(std::forward<ConnectIpsV6T>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_vpcId;
187
188 Aws::Vector<Aws::String> m_subnetIds;
189
190 Aws::String m_customerUserName;
191
192 Aws::String m_securityGroupId;
193
194 Aws::Vector<Aws::String> m_availabilityZones;
195
196 Aws::Vector<Aws::String> m_connectIps;
197
198 Aws::Vector<Aws::String> m_connectIpsV6;
199 bool m_vpcIdHasBeenSet = false;
200 bool m_subnetIdsHasBeenSet = false;
201 bool m_customerUserNameHasBeenSet = false;
202 bool m_securityGroupIdHasBeenSet = false;
203 bool m_availabilityZonesHasBeenSet = false;
204 bool m_connectIpsHasBeenSet = false;
205 bool m_connectIpsV6HasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace DirectoryService
210} // namespace Aws
DirectoryConnectSettingsDescription & WithAvailabilityZones(AvailabilityZonesT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DirectoryConnectSettingsDescription & AddConnectIpsV6(ConnectIpsV6T &&value)
DirectoryConnectSettingsDescription & AddConnectIps(ConnectIpsT &&value)
AWS_DIRECTORYSERVICE_API DirectoryConnectSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
DirectoryConnectSettingsDescription & WithConnectIps(ConnectIpsT &&value)
DirectoryConnectSettingsDescription & WithSubnetIds(SubnetIdsT &&value)
AWS_DIRECTORYSERVICE_API DirectoryConnectSettingsDescription()=default
DirectoryConnectSettingsDescription & WithCustomerUserName(CustomerUserNameT &&value)
DirectoryConnectSettingsDescription & WithSecurityGroupId(SecurityGroupIdT &&value)
DirectoryConnectSettingsDescription & AddSubnetIds(SubnetIdsT &&value)
AWS_DIRECTORYSERVICE_API DirectoryConnectSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectoryConnectSettingsDescription & AddAvailabilityZones(AvailabilityZonesT &&value)
DirectoryConnectSettingsDescription & WithConnectIpsV6(ConnectIpsV6T &&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