AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateCompanyNetworkConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WorkLink
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateCompanyNetworkConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
40 
44  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
45 
49  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
50 
54  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
55 
59  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
60 
64  inline UpdateCompanyNetworkConfigurationRequest& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
65 
69  inline UpdateCompanyNetworkConfigurationRequest& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
70 
74  inline UpdateCompanyNetworkConfigurationRequest& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
75 
76 
80  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
81 
85  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
86 
90  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
91 
95  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
96 
100  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
101 
105  inline UpdateCompanyNetworkConfigurationRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
106 
110  inline UpdateCompanyNetworkConfigurationRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
111 
115  inline UpdateCompanyNetworkConfigurationRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
116 
117 
122  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
123 
128  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
129 
134  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
135 
140  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
141 
146  inline UpdateCompanyNetworkConfigurationRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
147 
152  inline UpdateCompanyNetworkConfigurationRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
153 
158  inline UpdateCompanyNetworkConfigurationRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
159 
164  inline UpdateCompanyNetworkConfigurationRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
165 
170  inline UpdateCompanyNetworkConfigurationRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
171 
172 
176  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
177 
181  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
182 
186  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
187 
191  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
192 
196  inline UpdateCompanyNetworkConfigurationRequest& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
197 
201  inline UpdateCompanyNetworkConfigurationRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
202 
206  inline UpdateCompanyNetworkConfigurationRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
207 
211  inline UpdateCompanyNetworkConfigurationRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
212 
216  inline UpdateCompanyNetworkConfigurationRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
217 
218  private:
219 
220  Aws::String m_fleetArn;
221  bool m_fleetArnHasBeenSet;
222 
223  Aws::String m_vpcId;
224  bool m_vpcIdHasBeenSet;
225 
226  Aws::Vector<Aws::String> m_subnetIds;
227  bool m_subnetIdsHasBeenSet;
228 
229  Aws::Vector<Aws::String> m_securityGroupIds;
230  bool m_securityGroupIdsHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace WorkLink
235 } // namespace Aws
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97