AWS SDK for C++  1.9.1
AWS SDK for C++
DirectoryConnectSettings.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 DirectoryConnectSettings& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
71 
75  inline DirectoryConnectSettings& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
76 
80  inline DirectoryConnectSettings& WithVpcId(const char* value) { SetVpcId(value); return *this;}
81 
82 
87  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
88 
93  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
94 
99  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
100 
105  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
106 
111  inline DirectoryConnectSettings& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
112 
117  inline DirectoryConnectSettings& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
118 
123  inline DirectoryConnectSettings& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
124 
129  inline DirectoryConnectSettings& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
130 
135  inline DirectoryConnectSettings& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
136 
137 
142  inline const Aws::Vector<Aws::String>& GetCustomerDnsIps() const{ return m_customerDnsIps; }
143 
148  inline bool CustomerDnsIpsHasBeenSet() const { return m_customerDnsIpsHasBeenSet; }
149 
154  inline void SetCustomerDnsIps(const Aws::Vector<Aws::String>& value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps = value; }
155 
160  inline void SetCustomerDnsIps(Aws::Vector<Aws::String>&& value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps = std::move(value); }
161 
166  inline DirectoryConnectSettings& WithCustomerDnsIps(const Aws::Vector<Aws::String>& value) { SetCustomerDnsIps(value); return *this;}
167 
172  inline DirectoryConnectSettings& WithCustomerDnsIps(Aws::Vector<Aws::String>&& value) { SetCustomerDnsIps(std::move(value)); return *this;}
173 
178  inline DirectoryConnectSettings& AddCustomerDnsIps(const Aws::String& value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps.push_back(value); return *this; }
179 
184  inline DirectoryConnectSettings& AddCustomerDnsIps(Aws::String&& value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps.push_back(std::move(value)); return *this; }
185 
190  inline DirectoryConnectSettings& AddCustomerDnsIps(const char* value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps.push_back(value); return *this; }
191 
192 
199  inline const Aws::String& GetCustomerUserName() const{ return m_customerUserName; }
200 
207  inline bool CustomerUserNameHasBeenSet() const { return m_customerUserNameHasBeenSet; }
208 
215  inline void SetCustomerUserName(const Aws::String& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = value; }
216 
223  inline void SetCustomerUserName(Aws::String&& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = std::move(value); }
224 
231  inline void SetCustomerUserName(const char* value) { m_customerUserNameHasBeenSet = true; m_customerUserName.assign(value); }
232 
239  inline DirectoryConnectSettings& WithCustomerUserName(const Aws::String& value) { SetCustomerUserName(value); return *this;}
240 
247  inline DirectoryConnectSettings& WithCustomerUserName(Aws::String&& value) { SetCustomerUserName(std::move(value)); return *this;}
248 
255  inline DirectoryConnectSettings& WithCustomerUserName(const char* value) { SetCustomerUserName(value); return *this;}
256 
257  private:
258 
259  Aws::String m_vpcId;
260  bool m_vpcIdHasBeenSet;
261 
262  Aws::Vector<Aws::String> m_subnetIds;
263  bool m_subnetIdsHasBeenSet;
264 
265  Aws::Vector<Aws::String> m_customerDnsIps;
266  bool m_customerDnsIpsHasBeenSet;
267 
268  Aws::String m_customerUserName;
269  bool m_customerUserNameHasBeenSet;
270  };
271 
272 } // namespace Model
273 } // namespace DirectoryService
274 } // namespace Aws
Aws::DirectoryService::Model::DirectoryConnectSettings::WithCustomerUserName
DirectoryConnectSettings & WithCustomerUserName(Aws::String &&value)
Definition: DirectoryConnectSettings.h:247
Aws::DirectoryService::Model::DirectoryConnectSettings::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DirectoryConnectSettings.h:60
Aws::DirectoryService::Model::DirectoryConnectSettings::AddSubnetIds
DirectoryConnectSettings & AddSubnetIds(const Aws::String &value)
Definition: DirectoryConnectSettings.h:123
Aws::DirectoryService::Model::DirectoryConnectSettings::AddSubnetIds
DirectoryConnectSettings & AddSubnetIds(const char *value)
Definition: DirectoryConnectSettings.h:135
Aws::DirectoryService::Model::DirectoryConnectSettings::WithCustomerUserName
DirectoryConnectSettings & WithCustomerUserName(const Aws::String &value)
Definition: DirectoryConnectSettings.h:239
Aws::DirectoryService::Model::DirectoryConnectSettings::CustomerUserNameHasBeenSet
bool CustomerUserNameHasBeenSet() const
Definition: DirectoryConnectSettings.h:207
Aws::DirectoryService::Model::DirectoryConnectSettings::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: DirectoryConnectSettings.h:93
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DirectoryConnectSettings::GetCustomerUserName
const Aws::String & GetCustomerUserName() const
Definition: DirectoryConnectSettings.h:199
Aws::DirectoryService::Model::DirectoryConnectSettings::AddSubnetIds
DirectoryConnectSettings & AddSubnetIds(Aws::String &&value)
Definition: DirectoryConnectSettings.h:129
Aws::DirectoryService::Model::DirectoryConnectSettings::WithCustomerDnsIps
DirectoryConnectSettings & WithCustomerDnsIps(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettings.h:172
Aws::DirectoryService::Model::DirectoryConnectSettings::GetVpcId
const Aws::String & GetVpcId() const
Definition: DirectoryConnectSettings.h:45
Aws::DirectoryService::Model::DirectoryConnectSettings::DirectoryConnectSettings
DirectoryConnectSettings()
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DirectoryConnectSettings::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: DirectoryConnectSettings.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::DirectoryService::Model::DirectoryConnectSettings::SetCustomerUserName
void SetCustomerUserName(const char *value)
Definition: DirectoryConnectSettings.h:231
Aws::DirectoryService::Model::DirectoryConnectSettings::SetCustomerDnsIps
void SetCustomerDnsIps(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettings.h:154
Aws::DirectoryService::Model::DirectoryConnectSettings::operator=
DirectoryConnectSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DirectoryConnectSettings::AddCustomerDnsIps
DirectoryConnectSettings & AddCustomerDnsIps(const Aws::String &value)
Definition: DirectoryConnectSettings.h:178
Aws::DirectoryService::Model::DirectoryConnectSettings
Definition: DirectoryConnectSettings.h:34
Aws::DirectoryService::Model::DirectoryConnectSettings::SetCustomerUserName
void SetCustomerUserName(const Aws::String &value)
Definition: DirectoryConnectSettings.h:215
Aws::DirectoryService::Model::DirectoryConnectSettings::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: DirectoryConnectSettings.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::DirectoryService::Model::DirectoryConnectSettings::WithSubnetIds
DirectoryConnectSettings & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettings.h:111
AWSString.h
Aws::DirectoryService::Model::DirectoryConnectSettings::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DirectoryConnectSettings.h:55
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::DirectoryConnectSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::DirectoryConnectSettings::SetCustomerDnsIps
void SetCustomerDnsIps(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettings.h:160
Aws::DirectoryService::Model::DirectoryConnectSettings::WithCustomerDnsIps
DirectoryConnectSettings & WithCustomerDnsIps(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettings.h:166
Aws::DirectoryService::Model::DirectoryConnectSettings::WithCustomerUserName
DirectoryConnectSettings & WithCustomerUserName(const char *value)
Definition: DirectoryConnectSettings.h:255
Aws::DirectoryService::Model::DirectoryConnectSettings::SetVpcId
void SetVpcId(const char *value)
Definition: DirectoryConnectSettings.h:65
Aws::DirectoryService::Model::DirectoryConnectSettings::DirectoryConnectSettings
DirectoryConnectSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DirectoryConnectSettings::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DirectoryConnectSettings.h:99
Aws::DirectoryService::Model::DirectoryConnectSettings::SetCustomerUserName
void SetCustomerUserName(Aws::String &&value)
Definition: DirectoryConnectSettings.h:223
Aws::DirectoryService::Model::DirectoryConnectSettings::WithSubnetIds
DirectoryConnectSettings & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettings.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DirectoryConnectSettings::WithVpcId
DirectoryConnectSettings & WithVpcId(Aws::String &&value)
Definition: DirectoryConnectSettings.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DirectoryConnectSettings::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DirectoryConnectSettings.h:105
Aws::DirectoryService::Model::DirectoryConnectSettings::AddCustomerDnsIps
DirectoryConnectSettings & AddCustomerDnsIps(Aws::String &&value)
Definition: DirectoryConnectSettings.h:184
Aws::DirectoryService::Model::DirectoryConnectSettings::GetCustomerDnsIps
const Aws::Vector< Aws::String > & GetCustomerDnsIps() const
Definition: DirectoryConnectSettings.h:142
Aws::DirectoryService::Model::DirectoryConnectSettings::WithVpcId
DirectoryConnectSettings & WithVpcId(const Aws::String &value)
Definition: DirectoryConnectSettings.h:70
Aws::DirectoryService::Model::DirectoryConnectSettings::WithVpcId
DirectoryConnectSettings & WithVpcId(const char *value)
Definition: DirectoryConnectSettings.h:80
Aws::DirectoryService::Model::DirectoryConnectSettings::AddCustomerDnsIps
DirectoryConnectSettings & AddCustomerDnsIps(const char *value)
Definition: DirectoryConnectSettings.h:190
Aws::DirectoryService::Model::DirectoryConnectSettings::CustomerDnsIpsHasBeenSet
bool CustomerDnsIpsHasBeenSet() const
Definition: DirectoryConnectSettings.h:148