AWS SDK for C++  1.9.102
AWS SDK for C++
AwsRdsDbSubnetGroup.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SecurityHub
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDbSubnetGroupName() const{ return m_dbSubnetGroupName; }
47 
51  inline bool DbSubnetGroupNameHasBeenSet() const { return m_dbSubnetGroupNameHasBeenSet; }
52 
56  inline void SetDbSubnetGroupName(const Aws::String& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = value; }
57 
61  inline void SetDbSubnetGroupName(Aws::String&& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = std::move(value); }
62 
66  inline void SetDbSubnetGroupName(const char* value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName.assign(value); }
67 
71  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(const Aws::String& value) { SetDbSubnetGroupName(value); return *this;}
72 
76  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(Aws::String&& value) { SetDbSubnetGroupName(std::move(value)); return *this;}
77 
81  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(const char* value) { SetDbSubnetGroupName(value); return *this;}
82 
83 
87  inline const Aws::String& GetDbSubnetGroupDescription() const{ return m_dbSubnetGroupDescription; }
88 
92  inline bool DbSubnetGroupDescriptionHasBeenSet() const { return m_dbSubnetGroupDescriptionHasBeenSet; }
93 
97  inline void SetDbSubnetGroupDescription(const Aws::String& value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription = value; }
98 
102  inline void SetDbSubnetGroupDescription(Aws::String&& value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription = std::move(value); }
103 
107  inline void SetDbSubnetGroupDescription(const char* value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription.assign(value); }
108 
112  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(const Aws::String& value) { SetDbSubnetGroupDescription(value); return *this;}
113 
117  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(Aws::String&& value) { SetDbSubnetGroupDescription(std::move(value)); return *this;}
118 
122  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(const char* value) { SetDbSubnetGroupDescription(value); return *this;}
123 
124 
128  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
129 
133  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
134 
138  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
139 
143  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
144 
148  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
149 
153  inline AwsRdsDbSubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
154 
158  inline AwsRdsDbSubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
159 
163  inline AwsRdsDbSubnetGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;}
164 
165 
169  inline const Aws::String& GetSubnetGroupStatus() const{ return m_subnetGroupStatus; }
170 
174  inline bool SubnetGroupStatusHasBeenSet() const { return m_subnetGroupStatusHasBeenSet; }
175 
179  inline void SetSubnetGroupStatus(const Aws::String& value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus = value; }
180 
184  inline void SetSubnetGroupStatus(Aws::String&& value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus = std::move(value); }
185 
189  inline void SetSubnetGroupStatus(const char* value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus.assign(value); }
190 
194  inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(const Aws::String& value) { SetSubnetGroupStatus(value); return *this;}
195 
199  inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(Aws::String&& value) { SetSubnetGroupStatus(std::move(value)); return *this;}
200 
204  inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(const char* value) { SetSubnetGroupStatus(value); return *this;}
205 
206 
210  inline const Aws::Vector<AwsRdsDbSubnetGroupSubnet>& GetSubnets() const{ return m_subnets; }
211 
215  inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
216 
220  inline void SetSubnets(const Aws::Vector<AwsRdsDbSubnetGroupSubnet>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
221 
225  inline void SetSubnets(Aws::Vector<AwsRdsDbSubnetGroupSubnet>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
226 
230  inline AwsRdsDbSubnetGroup& WithSubnets(const Aws::Vector<AwsRdsDbSubnetGroupSubnet>& value) { SetSubnets(value); return *this;}
231 
235  inline AwsRdsDbSubnetGroup& WithSubnets(Aws::Vector<AwsRdsDbSubnetGroupSubnet>&& value) { SetSubnets(std::move(value)); return *this;}
236 
240  inline AwsRdsDbSubnetGroup& AddSubnets(const AwsRdsDbSubnetGroupSubnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
241 
245  inline AwsRdsDbSubnetGroup& AddSubnets(AwsRdsDbSubnetGroupSubnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
246 
247 
251  inline const Aws::String& GetDbSubnetGroupArn() const{ return m_dbSubnetGroupArn; }
252 
256  inline bool DbSubnetGroupArnHasBeenSet() const { return m_dbSubnetGroupArnHasBeenSet; }
257 
261  inline void SetDbSubnetGroupArn(const Aws::String& value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn = value; }
262 
266  inline void SetDbSubnetGroupArn(Aws::String&& value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn = std::move(value); }
267 
271  inline void SetDbSubnetGroupArn(const char* value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn.assign(value); }
272 
276  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(const Aws::String& value) { SetDbSubnetGroupArn(value); return *this;}
277 
281  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(Aws::String&& value) { SetDbSubnetGroupArn(std::move(value)); return *this;}
282 
286  inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(const char* value) { SetDbSubnetGroupArn(value); return *this;}
287 
288  private:
289 
290  Aws::String m_dbSubnetGroupName;
291  bool m_dbSubnetGroupNameHasBeenSet;
292 
293  Aws::String m_dbSubnetGroupDescription;
294  bool m_dbSubnetGroupDescriptionHasBeenSet;
295 
296  Aws::String m_vpcId;
297  bool m_vpcIdHasBeenSet;
298 
299  Aws::String m_subnetGroupStatus;
300  bool m_subnetGroupStatusHasBeenSet;
301 
303  bool m_subnetsHasBeenSet;
304 
305  Aws::String m_dbSubnetGroupArn;
306  bool m_dbSubnetGroupArnHasBeenSet;
307  };
308 
309 } // namespace Model
310 } // namespace SecurityHub
311 } // namespace Aws
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupArn
void SetDbSubnetGroupArn(const char *value)
Definition: AwsRdsDbSubnetGroup.h:271
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetSubnets
void SetSubnets(Aws::Vector< AwsRdsDbSubnetGroupSubnet > &&value)
Definition: AwsRdsDbSubnetGroup.h:225
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupDescription
void SetDbSubnetGroupDescription(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:97
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithSubnetGroupStatus
AwsRdsDbSubnetGroup & WithSubnetGroupStatus(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:194
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupName
AwsRdsDbSubnetGroup & WithDbSubnetGroupName(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:76
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupName
void SetDbSubnetGroupName(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:56
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithVpcId
AwsRdsDbSubnetGroup & WithVpcId(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:158
AwsRdsDbSubnetGroupSubnet.h
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SubnetGroupStatusHasBeenSet
bool SubnetGroupStatusHasBeenSet() const
Definition: AwsRdsDbSubnetGroup.h:174
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupArn
AwsRdsDbSubnetGroup & WithDbSubnetGroupArn(const char *value)
Definition: AwsRdsDbSubnetGroup.h:286
AWSVector.h
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::AwsRdsDbSubnetGroup
AwsRdsDbSubnetGroup()
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::GetSubnets
const Aws::Vector< AwsRdsDbSubnetGroupSubnet > & GetSubnets() const
Definition: AwsRdsDbSubnetGroup.h:210
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupArn
AwsRdsDbSubnetGroup & WithDbSubnetGroupArn(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:281
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::DbSubnetGroupNameHasBeenSet
bool DbSubnetGroupNameHasBeenSet() const
Definition: AwsRdsDbSubnetGroup.h:51
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: AwsRdsDbSubnetGroup.h:133
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::AwsRdsDbSubnetGroup
AwsRdsDbSubnetGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::GetVpcId
const Aws::String & GetVpcId() const
Definition: AwsRdsDbSubnetGroup.h:128
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithVpcId
AwsRdsDbSubnetGroup & WithVpcId(const char *value)
Definition: AwsRdsDbSubnetGroup.h:163
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupArn
AwsRdsDbSubnetGroup & WithDbSubnetGroupArn(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:276
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetSubnetGroupStatus
void SetSubnetGroupStatus(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:184
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithSubnets
AwsRdsDbSubnetGroup & WithSubnets(const Aws::Vector< AwsRdsDbSubnetGroupSubnet > &value)
Definition: AwsRdsDbSubnetGroup.h:230
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupName
void SetDbSubnetGroupName(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:61
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::GetDbSubnetGroupName
const Aws::String & GetDbSubnetGroupName() const
Definition: AwsRdsDbSubnetGroup.h:46
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SubnetsHasBeenSet
bool SubnetsHasBeenSet() const
Definition: AwsRdsDbSubnetGroup.h:215
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::AddSubnets
AwsRdsDbSubnetGroup & AddSubnets(AwsRdsDbSubnetGroupSubnet &&value)
Definition: AwsRdsDbSubnetGroup.h:245
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupName
AwsRdsDbSubnetGroup & WithDbSubnetGroupName(const char *value)
Definition: AwsRdsDbSubnetGroup.h:81
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::DbSubnetGroupArnHasBeenSet
bool DbSubnetGroupArnHasBeenSet() const
Definition: AwsRdsDbSubnetGroup.h:256
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetVpcId
void SetVpcId(const char *value)
Definition: AwsRdsDbSubnetGroup.h:148
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupDescription
AwsRdsDbSubnetGroup & WithDbSubnetGroupDescription(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:117
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithSubnets
AwsRdsDbSubnetGroup & WithSubnets(Aws::Vector< AwsRdsDbSubnetGroupSubnet > &&value)
Definition: AwsRdsDbSubnetGroup.h:235
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithVpcId
AwsRdsDbSubnetGroup & WithVpcId(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:153
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupName
AwsRdsDbSubnetGroup & WithDbSubnetGroupName(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:71
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupDescription
AwsRdsDbSubnetGroup & WithDbSubnetGroupDescription(const char *value)
Definition: AwsRdsDbSubnetGroup.h:122
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupArn
void SetDbSubnetGroupArn(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:266
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupDescription
void SetDbSubnetGroupDescription(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:102
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetSubnets
void SetSubnets(const Aws::Vector< AwsRdsDbSubnetGroupSubnet > &value)
Definition: AwsRdsDbSubnetGroup.h:220
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::DbSubnetGroupDescriptionHasBeenSet
bool DbSubnetGroupDescriptionHasBeenSet() const
Definition: AwsRdsDbSubnetGroup.h:92
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupDescription
void SetDbSubnetGroupDescription(const char *value)
Definition: AwsRdsDbSubnetGroup.h:107
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::AddSubnets
AwsRdsDbSubnetGroup & AddSubnets(const AwsRdsDbSubnetGroupSubnet &value)
Definition: AwsRdsDbSubnetGroup.h:240
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetSubnetGroupStatus
void SetSubnetGroupStatus(const char *value)
Definition: AwsRdsDbSubnetGroup.h:189
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetSubnetGroupStatus
void SetSubnetGroupStatus(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:179
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::GetSubnetGroupStatus
const Aws::String & GetSubnetGroupStatus() const
Definition: AwsRdsDbSubnetGroup.h:169
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::GetDbSubnetGroupDescription
const Aws::String & GetDbSubnetGroupDescription() const
Definition: AwsRdsDbSubnetGroup.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:143
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup
Definition: AwsRdsDbSubnetGroup.h:35
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupName
void SetDbSubnetGroupName(const char *value)
Definition: AwsRdsDbSubnetGroup.h:66
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithDbSubnetGroupDescription
AwsRdsDbSubnetGroup & WithDbSubnetGroupDescription(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:112
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithSubnetGroupStatus
AwsRdsDbSubnetGroup & WithSubnetGroupStatus(Aws::String &&value)
Definition: AwsRdsDbSubnetGroup.h:199
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetDbSubnetGroupArn
void SetDbSubnetGroupArn(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:261
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: AwsRdsDbSubnetGroup.h:138
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::operator=
AwsRdsDbSubnetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::WithSubnetGroupStatus
AwsRdsDbSubnetGroup & WithSubnetGroupStatus(const char *value)
Definition: AwsRdsDbSubnetGroup.h:204
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet
Definition: AwsRdsDbSubnetGroupSubnet.h:33
Aws::SecurityHub::Model::AwsRdsDbSubnetGroup::GetDbSubnetGroupArn
const Aws::String & GetDbSubnetGroupArn() const
Definition: AwsRdsDbSubnetGroup.h:251