AWS SDK for C++  1.8.152
AWS SDK for C++
DirectoryVpcSettingsDescription.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
45 
49  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
50 
54  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
55 
59  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
60 
64  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
65 
69  inline DirectoryVpcSettingsDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
70 
74  inline DirectoryVpcSettingsDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
75 
79  inline DirectoryVpcSettingsDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;}
80 
81 
85  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
86 
90  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
91 
95  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
96 
100  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
101 
105  inline DirectoryVpcSettingsDescription& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
106 
110  inline DirectoryVpcSettingsDescription& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
111 
115  inline DirectoryVpcSettingsDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
116 
120  inline DirectoryVpcSettingsDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
121 
125  inline DirectoryVpcSettingsDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
126 
127 
131  inline const Aws::String& GetSecurityGroupId() const{ return m_securityGroupId; }
132 
136  inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; }
137 
141  inline void SetSecurityGroupId(const Aws::String& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = value; }
142 
146  inline void SetSecurityGroupId(Aws::String&& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = std::move(value); }
147 
151  inline void SetSecurityGroupId(const char* value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId.assign(value); }
152 
156  inline DirectoryVpcSettingsDescription& WithSecurityGroupId(const Aws::String& value) { SetSecurityGroupId(value); return *this;}
157 
161  inline DirectoryVpcSettingsDescription& WithSecurityGroupId(Aws::String&& value) { SetSecurityGroupId(std::move(value)); return *this;}
162 
166  inline DirectoryVpcSettingsDescription& WithSecurityGroupId(const char* value) { SetSecurityGroupId(value); return *this;}
167 
168 
172  inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
173 
177  inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
178 
182  inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
183 
187  inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
188 
192  inline DirectoryVpcSettingsDescription& WithAvailabilityZones(const Aws::Vector<Aws::String>& value) { SetAvailabilityZones(value); return *this;}
193 
197  inline DirectoryVpcSettingsDescription& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
198 
202  inline DirectoryVpcSettingsDescription& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
203 
207  inline DirectoryVpcSettingsDescription& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
208 
212  inline DirectoryVpcSettingsDescription& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
213 
214  private:
215 
216  Aws::String m_vpcId;
217  bool m_vpcIdHasBeenSet;
218 
219  Aws::Vector<Aws::String> m_subnetIds;
220  bool m_subnetIdsHasBeenSet;
221 
222  Aws::String m_securityGroupId;
223  bool m_securityGroupIdHasBeenSet;
224 
225  Aws::Vector<Aws::String> m_availabilityZones;
226  bool m_availabilityZonesHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace DirectoryService
231 } // namespace Aws
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AddAvailabilityZones
DirectoryVpcSettingsDescription & AddAvailabilityZones(const Aws::String &value)
Definition: DirectoryVpcSettingsDescription.h:202
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DirectoryVpcSettingsDescription.h:100
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithVpcId
DirectoryVpcSettingsDescription & WithVpcId(const Aws::String &value)
Definition: DirectoryVpcSettingsDescription.h:69
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AddAvailabilityZones
DirectoryVpcSettingsDescription & AddAvailabilityZones(const char *value)
Definition: DirectoryVpcSettingsDescription.h:212
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithVpcId
DirectoryVpcSettingsDescription & WithVpcId(const char *value)
Definition: DirectoryVpcSettingsDescription.h:79
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithSubnetIds
DirectoryVpcSettingsDescription & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DirectoryVpcSettingsDescription.h:105
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::GetVpcId
const Aws::String & GetVpcId() const
Definition: DirectoryVpcSettingsDescription.h:44
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DirectoryVpcSettingsDescription.h:59
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription
Definition: DirectoryVpcSettingsDescription.h:33
AWSVector.h
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::operator=
DirectoryVpcSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::GetAvailabilityZones
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition: DirectoryVpcSettingsDescription.h:172
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithAvailabilityZones
DirectoryVpcSettingsDescription & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition: DirectoryVpcSettingsDescription.h:197
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DirectoryVpcSettingsDescription.h:54
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SecurityGroupIdHasBeenSet
bool SecurityGroupIdHasBeenSet() const
Definition: DirectoryVpcSettingsDescription.h:136
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetSecurityGroupId
void SetSecurityGroupId(const char *value)
Definition: DirectoryVpcSettingsDescription.h:151
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithSecurityGroupId
DirectoryVpcSettingsDescription & WithSecurityGroupId(const Aws::String &value)
Definition: DirectoryVpcSettingsDescription.h:156
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: DirectoryVpcSettingsDescription.h:85
AWSString.h
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithAvailabilityZones
DirectoryVpcSettingsDescription & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition: DirectoryVpcSettingsDescription.h:192
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DirectoryVpcSettingsDescription.h:95
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::GetSecurityGroupId
const Aws::String & GetSecurityGroupId() const
Definition: DirectoryVpcSettingsDescription.h:131
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AddSubnetIds
DirectoryVpcSettingsDescription & AddSubnetIds(const char *value)
Definition: DirectoryVpcSettingsDescription.h:125
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetAvailabilityZones
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition: DirectoryVpcSettingsDescription.h:187
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithSubnetIds
DirectoryVpcSettingsDescription & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DirectoryVpcSettingsDescription.h:110
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithSecurityGroupId
DirectoryVpcSettingsDescription & WithSecurityGroupId(Aws::String &&value)
Definition: DirectoryVpcSettingsDescription.h:161
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AddSubnetIds
DirectoryVpcSettingsDescription & AddSubnetIds(const Aws::String &value)
Definition: DirectoryVpcSettingsDescription.h:115
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetAvailabilityZones
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition: DirectoryVpcSettingsDescription.h:182
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetSecurityGroupId
void SetSecurityGroupId(Aws::String &&value)
Definition: DirectoryVpcSettingsDescription.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetVpcId
void SetVpcId(const char *value)
Definition: DirectoryVpcSettingsDescription.h:64
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: DirectoryVpcSettingsDescription.h:90
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithSecurityGroupId
DirectoryVpcSettingsDescription & WithSecurityGroupId(const char *value)
Definition: DirectoryVpcSettingsDescription.h:166
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: DirectoryVpcSettingsDescription.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::DirectoryVpcSettingsDescription
DirectoryVpcSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AddAvailabilityZones
DirectoryVpcSettingsDescription & AddAvailabilityZones(Aws::String &&value)
Definition: DirectoryVpcSettingsDescription.h:207
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::SetSecurityGroupId
void SetSecurityGroupId(const Aws::String &value)
Definition: DirectoryVpcSettingsDescription.h:141
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AddSubnetIds
DirectoryVpcSettingsDescription & AddSubnetIds(Aws::String &&value)
Definition: DirectoryVpcSettingsDescription.h:120
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::WithVpcId
DirectoryVpcSettingsDescription & WithVpcId(Aws::String &&value)
Definition: DirectoryVpcSettingsDescription.h:74
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::DirectoryVpcSettingsDescription
DirectoryVpcSettingsDescription()
Aws::DirectoryService::Model::DirectoryVpcSettingsDescription::AvailabilityZonesHasBeenSet
bool AvailabilityZonesHasBeenSet() const
Definition: DirectoryVpcSettingsDescription.h:177