AWS SDK for C++  1.8.152
AWS SDK for C++
DirectoryConnectSettingsDescription.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DirectoryService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
46 
50  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
51 
55  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
56 
60  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
61 
65  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
66 
70  inline DirectoryConnectSettingsDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
71 
75  inline DirectoryConnectSettingsDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
76 
80  inline DirectoryConnectSettingsDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;}
81 
82 
86  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
87 
91  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
92 
96  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
97 
101  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
102 
106  inline DirectoryConnectSettingsDescription& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
107 
111  inline DirectoryConnectSettingsDescription& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
112 
116  inline DirectoryConnectSettingsDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
117 
121  inline DirectoryConnectSettingsDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
122 
126  inline DirectoryConnectSettingsDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
127 
128 
132  inline const Aws::String& GetCustomerUserName() const{ return m_customerUserName; }
133 
137  inline bool CustomerUserNameHasBeenSet() const { return m_customerUserNameHasBeenSet; }
138 
142  inline void SetCustomerUserName(const Aws::String& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = value; }
143 
147  inline void SetCustomerUserName(Aws::String&& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = std::move(value); }
148 
152  inline void SetCustomerUserName(const char* value) { m_customerUserNameHasBeenSet = true; m_customerUserName.assign(value); }
153 
157  inline DirectoryConnectSettingsDescription& WithCustomerUserName(const Aws::String& value) { SetCustomerUserName(value); return *this;}
158 
162  inline DirectoryConnectSettingsDescription& WithCustomerUserName(Aws::String&& value) { SetCustomerUserName(std::move(value)); return *this;}
163 
167  inline DirectoryConnectSettingsDescription& WithCustomerUserName(const char* value) { SetCustomerUserName(value); return *this;}
168 
169 
173  inline const Aws::String& GetSecurityGroupId() const{ return m_securityGroupId; }
174 
178  inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; }
179 
183  inline void SetSecurityGroupId(const Aws::String& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = value; }
184 
188  inline void SetSecurityGroupId(Aws::String&& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = std::move(value); }
189 
193  inline void SetSecurityGroupId(const char* value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId.assign(value); }
194 
198  inline DirectoryConnectSettingsDescription& WithSecurityGroupId(const Aws::String& value) { SetSecurityGroupId(value); return *this;}
199 
203  inline DirectoryConnectSettingsDescription& WithSecurityGroupId(Aws::String&& value) { SetSecurityGroupId(std::move(value)); return *this;}
204 
208  inline DirectoryConnectSettingsDescription& WithSecurityGroupId(const char* value) { SetSecurityGroupId(value); return *this;}
209 
210 
214  inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
215 
219  inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
220 
224  inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
225 
229  inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
230 
234  inline DirectoryConnectSettingsDescription& WithAvailabilityZones(const Aws::Vector<Aws::String>& value) { SetAvailabilityZones(value); return *this;}
235 
239  inline DirectoryConnectSettingsDescription& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
240 
244  inline DirectoryConnectSettingsDescription& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
245 
249  inline DirectoryConnectSettingsDescription& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
250 
254  inline DirectoryConnectSettingsDescription& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
255 
256 
260  inline const Aws::Vector<Aws::String>& GetConnectIps() const{ return m_connectIps; }
261 
265  inline bool ConnectIpsHasBeenSet() const { return m_connectIpsHasBeenSet; }
266 
270  inline void SetConnectIps(const Aws::Vector<Aws::String>& value) { m_connectIpsHasBeenSet = true; m_connectIps = value; }
271 
275  inline void SetConnectIps(Aws::Vector<Aws::String>&& value) { m_connectIpsHasBeenSet = true; m_connectIps = std::move(value); }
276 
280  inline DirectoryConnectSettingsDescription& WithConnectIps(const Aws::Vector<Aws::String>& value) { SetConnectIps(value); return *this;}
281 
285  inline DirectoryConnectSettingsDescription& WithConnectIps(Aws::Vector<Aws::String>&& value) { SetConnectIps(std::move(value)); return *this;}
286 
290  inline DirectoryConnectSettingsDescription& AddConnectIps(const Aws::String& value) { m_connectIpsHasBeenSet = true; m_connectIps.push_back(value); return *this; }
291 
295  inline DirectoryConnectSettingsDescription& AddConnectIps(Aws::String&& value) { m_connectIpsHasBeenSet = true; m_connectIps.push_back(std::move(value)); return *this; }
296 
300  inline DirectoryConnectSettingsDescription& AddConnectIps(const char* value) { m_connectIpsHasBeenSet = true; m_connectIps.push_back(value); return *this; }
301 
302  private:
303 
304  Aws::String m_vpcId;
305  bool m_vpcIdHasBeenSet;
306 
307  Aws::Vector<Aws::String> m_subnetIds;
308  bool m_subnetIdsHasBeenSet;
309 
310  Aws::String m_customerUserName;
311  bool m_customerUserNameHasBeenSet;
312 
313  Aws::String m_securityGroupId;
314  bool m_securityGroupIdHasBeenSet;
315 
316  Aws::Vector<Aws::String> m_availabilityZones;
317  bool m_availabilityZonesHasBeenSet;
318 
319  Aws::Vector<Aws::String> m_connectIps;
320  bool m_connectIpsHasBeenSet;
321  };
322 
323 } // namespace Model
324 } // namespace DirectoryService
325 } // namespace Aws
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithCustomerUserName
DirectoryConnectSettingsDescription & WithCustomerUserName(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:157
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddConnectIps
DirectoryConnectSettingsDescription & AddConnectIps(const char *value)
Definition: DirectoryConnectSettingsDescription.h:300
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: DirectoryConnectSettingsDescription.h:50
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription
Definition: DirectoryConnectSettingsDescription.h:34
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:55
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: DirectoryConnectSettingsDescription.h:86
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetConnectIps
void SetConnectIps(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettingsDescription.h:275
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetSecurityGroupId
void SetSecurityGroupId(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:188
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettingsDescription.h:101
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddSubnetIds
DirectoryConnectSettingsDescription & AddSubnetIds(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:116
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettingsDescription.h:96
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddSubnetIds
DirectoryConnectSettingsDescription & AddSubnetIds(const char *value)
Definition: DirectoryConnectSettingsDescription.h:126
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithConnectIps
DirectoryConnectSettingsDescription & WithConnectIps(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettingsDescription.h:285
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::operator=
DirectoryConnectSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetSecurityGroupId
void SetSecurityGroupId(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:183
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetConnectIps
void SetConnectIps(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettingsDescription.h:270
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddConnectIps
DirectoryConnectSettingsDescription & AddConnectIps(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:290
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::DirectoryConnectSettingsDescription
DirectoryConnectSettingsDescription()
AWSVector.h
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithCustomerUserName
DirectoryConnectSettingsDescription & WithCustomerUserName(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:162
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetCustomerUserName
void SetCustomerUserName(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:147
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetCustomerUserName
void SetCustomerUserName(const char *value)
Definition: DirectoryConnectSettingsDescription.h:152
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::ConnectIpsHasBeenSet
bool ConnectIpsHasBeenSet() const
Definition: DirectoryConnectSettingsDescription.h:265
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithCustomerUserName
DirectoryConnectSettingsDescription & WithCustomerUserName(const char *value)
Definition: DirectoryConnectSettingsDescription.h:167
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::GetVpcId
const Aws::String & GetVpcId() const
Definition: DirectoryConnectSettingsDescription.h:45
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::GetConnectIps
const Aws::Vector< Aws::String > & GetConnectIps() const
Definition: DirectoryConnectSettingsDescription.h:260
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithSecurityGroupId
DirectoryConnectSettingsDescription & WithSecurityGroupId(const char *value)
Definition: DirectoryConnectSettingsDescription.h:208
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetAvailabilityZones
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettingsDescription.h:224
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::CustomerUserNameHasBeenSet
bool CustomerUserNameHasBeenSet() const
Definition: DirectoryConnectSettingsDescription.h:137
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithConnectIps
DirectoryConnectSettingsDescription & WithConnectIps(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettingsDescription.h:280
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddSubnetIds
DirectoryConnectSettingsDescription & AddSubnetIds(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:121
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithAvailabilityZones
DirectoryConnectSettingsDescription & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettingsDescription.h:234
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::GetSecurityGroupId
const Aws::String & GetSecurityGroupId() const
Definition: DirectoryConnectSettingsDescription.h:173
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithSecurityGroupId
DirectoryConnectSettingsDescription & WithSecurityGroupId(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:198
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetAvailabilityZones
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettingsDescription.h:229
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetSecurityGroupId
void SetSecurityGroupId(const char *value)
Definition: DirectoryConnectSettingsDescription.h:193
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithSubnetIds
DirectoryConnectSettingsDescription & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettingsDescription.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithVpcId
DirectoryConnectSettingsDescription & WithVpcId(const char *value)
Definition: DirectoryConnectSettingsDescription.h:80
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::GetAvailabilityZones
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition: DirectoryConnectSettingsDescription.h:214
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddAvailabilityZones
DirectoryConnectSettingsDescription & AddAvailabilityZones(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:249
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddConnectIps
DirectoryConnectSettingsDescription & AddConnectIps(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:295
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithAvailabilityZones
DirectoryConnectSettingsDescription & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettingsDescription.h:239
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetCustomerUserName
void SetCustomerUserName(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:142
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: DirectoryConnectSettingsDescription.h:91
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithSecurityGroupId
DirectoryConnectSettingsDescription & WithSecurityGroupId(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:203
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetVpcId
void SetVpcId(const char *value)
Definition: DirectoryConnectSettingsDescription.h:65
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SecurityGroupIdHasBeenSet
bool SecurityGroupIdHasBeenSet() const
Definition: DirectoryConnectSettingsDescription.h:178
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddAvailabilityZones
DirectoryConnectSettingsDescription & AddAvailabilityZones(const char *value)
Definition: DirectoryConnectSettingsDescription.h:254
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:60
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::GetCustomerUserName
const Aws::String & GetCustomerUserName() const
Definition: DirectoryConnectSettingsDescription.h:132
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AvailabilityZonesHasBeenSet
bool AvailabilityZonesHasBeenSet() const
Definition: DirectoryConnectSettingsDescription.h:219
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::AddAvailabilityZones
DirectoryConnectSettingsDescription & AddAvailabilityZones(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:244
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithVpcId
DirectoryConnectSettingsDescription & WithVpcId(const Aws::String &value)
Definition: DirectoryConnectSettingsDescription.h:70
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::DirectoryConnectSettingsDescription
DirectoryConnectSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithSubnetIds
DirectoryConnectSettingsDescription & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettingsDescription.h:106
Aws::DirectoryService::Model::DirectoryConnectSettingsDescription::WithVpcId
DirectoryConnectSettingsDescription & WithVpcId(Aws::String &&value)
Definition: DirectoryConnectSettingsDescription.h:75