AWS SDK for C++  1.9.158
AWS SDK for C++
VpcConfigOutput.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 Synthetics
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
49 
53  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
54 
58  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
59 
63  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
64 
68  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
69 
73  inline VpcConfigOutput& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
74 
78  inline VpcConfigOutput& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
79 
83  inline VpcConfigOutput& WithVpcId(const char* value) { SetVpcId(value); return *this;}
84 
85 
89  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
90 
94  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
95 
99  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
100 
104  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
105 
109  inline VpcConfigOutput& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
110 
114  inline VpcConfigOutput& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
115 
119  inline VpcConfigOutput& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
120 
124  inline VpcConfigOutput& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
125 
129  inline VpcConfigOutput& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
130 
131 
135  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
136 
140  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
141 
145  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
146 
150  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
151 
155  inline VpcConfigOutput& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
156 
160  inline VpcConfigOutput& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
161 
165  inline VpcConfigOutput& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
166 
170  inline VpcConfigOutput& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
171 
175  inline VpcConfigOutput& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
176 
177  private:
178 
179  Aws::String m_vpcId;
180  bool m_vpcIdHasBeenSet;
181 
182  Aws::Vector<Aws::String> m_subnetIds;
183  bool m_subnetIdsHasBeenSet;
184 
185  Aws::Vector<Aws::String> m_securityGroupIds;
186  bool m_securityGroupIdsHasBeenSet;
187  };
188 
189 } // namespace Model
190 } // namespace Synthetics
191 } // namespace Aws
Aws::Synthetics::Model::VpcConfigOutput::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: VpcConfigOutput.h:140
Aws::Synthetics::Model::VpcConfigOutput::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: VpcConfigOutput.h:135
Aws::Synthetics::Model::VpcConfigOutput::WithSecurityGroupIds
VpcConfigOutput & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigOutput.h:160
Aws::Synthetics::Model::VpcConfigOutput::WithSubnetIds
VpcConfigOutput & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigOutput.h:114
Aws::Synthetics::Model::VpcConfigOutput::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: VpcConfigOutput.h:89
Aws::Synthetics::Model::VpcConfigOutput::AddSecurityGroupIds
VpcConfigOutput & AddSecurityGroupIds(const Aws::String &value)
Definition: VpcConfigOutput.h:165
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Synthetics::Model::VpcConfigOutput::WithVpcId
VpcConfigOutput & WithVpcId(const Aws::String &value)
Definition: VpcConfigOutput.h:73
AWS_SYNTHETICS_API
#define AWS_SYNTHETICS_API
Definition: Synthetics_EXPORTS.h:28
Aws::Synthetics::Model::VpcConfigOutput::VpcConfigOutput
VpcConfigOutput()
Aws::Synthetics::Model::VpcConfigOutput::SetVpcId
void SetVpcId(const char *value)
Definition: VpcConfigOutput.h:68
Aws::Synthetics::Model::VpcConfigOutput::AddSubnetIds
VpcConfigOutput & AddSubnetIds(Aws::String &&value)
Definition: VpcConfigOutput.h:124
Aws::Synthetics::Model::VpcConfigOutput::AddSecurityGroupIds
VpcConfigOutput & AddSecurityGroupIds(Aws::String &&value)
Definition: VpcConfigOutput.h:170
Aws::Synthetics::Model::VpcConfigOutput::WithSubnetIds
VpcConfigOutput & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigOutput.h:109
Aws::Synthetics::Model::VpcConfigOutput::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: VpcConfigOutput.h:63
Aws::Synthetics::Model::VpcConfigOutput::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigOutput.h:150
Aws::Synthetics::Model::VpcConfigOutput::VpcConfigOutput
VpcConfigOutput(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Synthetics::Model::VpcConfigOutput::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigOutput.h:99
Aws::Synthetics::Model::VpcConfigOutput::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: VpcConfigOutput.h:53
Aws::Synthetics::Model::VpcConfigOutput::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigOutput.h:104
Aws::Synthetics::Model::VpcConfigOutput::AddSubnetIds
VpcConfigOutput & AddSubnetIds(const char *value)
Definition: VpcConfigOutput.h:129
Synthetics_EXPORTS.h
Aws::Synthetics::Model::VpcConfigOutput::WithSecurityGroupIds
VpcConfigOutput & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigOutput.h:155
Aws::Synthetics::Model::VpcConfigOutput::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigOutput.h:145
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Synthetics::Model::VpcConfigOutput::AddSecurityGroupIds
VpcConfigOutput & AddSecurityGroupIds(const char *value)
Definition: VpcConfigOutput.h:175
Aws::Synthetics::Model::VpcConfigOutput::WithVpcId
VpcConfigOutput & WithVpcId(Aws::String &&value)
Definition: VpcConfigOutput.h:78
Aws::Synthetics::Model::VpcConfigOutput::WithVpcId
VpcConfigOutput & WithVpcId(const char *value)
Definition: VpcConfigOutput.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Synthetics::Model::VpcConfigOutput
Definition: VpcConfigOutput.h:37
Aws::Synthetics::Model::VpcConfigOutput::operator=
VpcConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Synthetics::Model::VpcConfigOutput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Synthetics::Model::VpcConfigOutput::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: VpcConfigOutput.h:94
Aws::Synthetics::Model::VpcConfigOutput::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: VpcConfigOutput.h:58
Aws::Synthetics::Model::VpcConfigOutput::AddSubnetIds
VpcConfigOutput & AddSubnetIds(const Aws::String &value)
Definition: VpcConfigOutput.h:119
Aws::Synthetics::Model::VpcConfigOutput::GetVpcId
const Aws::String & GetVpcId() const
Definition: VpcConfigOutput.h:48