AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsDbSubnetGroup.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsRdsDbSubnetGroupSubnet.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsRdsDbSubnetGroup();
38 AWS_SECURITYHUB_API AwsRdsDbSubnetGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDbSubnetGroupName() const{ return m_dbSubnetGroupName; }
48 inline bool DbSubnetGroupNameHasBeenSet() const { return m_dbSubnetGroupNameHasBeenSet; }
49 inline void SetDbSubnetGroupName(const Aws::String& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = value; }
50 inline void SetDbSubnetGroupName(Aws::String&& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = std::move(value); }
51 inline void SetDbSubnetGroupName(const char* value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName.assign(value); }
52 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(const Aws::String& value) { SetDbSubnetGroupName(value); return *this;}
53 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(Aws::String&& value) { SetDbSubnetGroupName(std::move(value)); return *this;}
54 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(const char* value) { SetDbSubnetGroupName(value); return *this;}
56
58
61 inline const Aws::String& GetDbSubnetGroupDescription() const{ return m_dbSubnetGroupDescription; }
62 inline bool DbSubnetGroupDescriptionHasBeenSet() const { return m_dbSubnetGroupDescriptionHasBeenSet; }
63 inline void SetDbSubnetGroupDescription(const Aws::String& value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription = value; }
64 inline void SetDbSubnetGroupDescription(Aws::String&& value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription = std::move(value); }
65 inline void SetDbSubnetGroupDescription(const char* value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription.assign(value); }
68 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(const char* value) { SetDbSubnetGroupDescription(value); return *this;}
70
72
75 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
76 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
77 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
78 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
79 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
80 inline AwsRdsDbSubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
81 inline AwsRdsDbSubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
82 inline AwsRdsDbSubnetGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;}
84
86
89 inline const Aws::String& GetSubnetGroupStatus() const{ return m_subnetGroupStatus; }
90 inline bool SubnetGroupStatusHasBeenSet() const { return m_subnetGroupStatusHasBeenSet; }
91 inline void SetSubnetGroupStatus(const Aws::String& value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus = value; }
92 inline void SetSubnetGroupStatus(Aws::String&& value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus = std::move(value); }
93 inline void SetSubnetGroupStatus(const char* value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus.assign(value); }
94 inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(const Aws::String& value) { SetSubnetGroupStatus(value); return *this;}
95 inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(Aws::String&& value) { SetSubnetGroupStatus(std::move(value)); return *this;}
96 inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(const char* value) { SetSubnetGroupStatus(value); return *this;}
98
100
103 inline const Aws::Vector<AwsRdsDbSubnetGroupSubnet>& GetSubnets() const{ return m_subnets; }
104 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
105 inline void SetSubnets(const Aws::Vector<AwsRdsDbSubnetGroupSubnet>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
106 inline void SetSubnets(Aws::Vector<AwsRdsDbSubnetGroupSubnet>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
108 inline AwsRdsDbSubnetGroup& WithSubnets(Aws::Vector<AwsRdsDbSubnetGroupSubnet>&& value) { SetSubnets(std::move(value)); return *this;}
109 inline AwsRdsDbSubnetGroup& AddSubnets(const AwsRdsDbSubnetGroupSubnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
110 inline AwsRdsDbSubnetGroup& AddSubnets(AwsRdsDbSubnetGroupSubnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
112
114
117 inline const Aws::String& GetDbSubnetGroupArn() const{ return m_dbSubnetGroupArn; }
118 inline bool DbSubnetGroupArnHasBeenSet() const { return m_dbSubnetGroupArnHasBeenSet; }
119 inline void SetDbSubnetGroupArn(const Aws::String& value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn = value; }
120 inline void SetDbSubnetGroupArn(Aws::String&& value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn = std::move(value); }
121 inline void SetDbSubnetGroupArn(const char* value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn.assign(value); }
122 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(const Aws::String& value) { SetDbSubnetGroupArn(value); return *this;}
123 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(Aws::String&& value) { SetDbSubnetGroupArn(std::move(value)); return *this;}
124 inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(const char* value) { SetDbSubnetGroupArn(value); return *this;}
126 private:
127
128 Aws::String m_dbSubnetGroupName;
129 bool m_dbSubnetGroupNameHasBeenSet = false;
130
131 Aws::String m_dbSubnetGroupDescription;
132 bool m_dbSubnetGroupDescriptionHasBeenSet = false;
133
134 Aws::String m_vpcId;
135 bool m_vpcIdHasBeenSet = false;
136
137 Aws::String m_subnetGroupStatus;
138 bool m_subnetGroupStatusHasBeenSet = false;
139
141 bool m_subnetsHasBeenSet = false;
142
143 Aws::String m_dbSubnetGroupArn;
144 bool m_dbSubnetGroupArnHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SecurityHub
149} // namespace Aws
void SetSubnetGroupStatus(const Aws::String &value)
AwsRdsDbSubnetGroup & WithSubnets(const Aws::Vector< AwsRdsDbSubnetGroupSubnet > &value)
AwsRdsDbSubnetGroup & WithDbSubnetGroupName(const char *value)
const Aws::Vector< AwsRdsDbSubnetGroupSubnet > & GetSubnets() const
AwsRdsDbSubnetGroup & WithDbSubnetGroupDescription(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbSubnetGroup & WithVpcId(Aws::String &&value)
const Aws::String & GetDbSubnetGroupDescription() const
AwsRdsDbSubnetGroup & WithDbSubnetGroupName(const Aws::String &value)
AwsRdsDbSubnetGroup & WithDbSubnetGroupDescription(Aws::String &&value)
AwsRdsDbSubnetGroup & AddSubnets(AwsRdsDbSubnetGroupSubnet &&value)
AwsRdsDbSubnetGroup & WithSubnets(Aws::Vector< AwsRdsDbSubnetGroupSubnet > &&value)
void SetDbSubnetGroupName(const Aws::String &value)
AwsRdsDbSubnetGroup & WithSubnetGroupStatus(const char *value)
AWS_SECURITYHUB_API AwsRdsDbSubnetGroup(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbSubnetGroup & WithDbSubnetGroupArn(Aws::String &&value)
void SetSubnets(const Aws::Vector< AwsRdsDbSubnetGroupSubnet > &value)
void SetSubnets(Aws::Vector< AwsRdsDbSubnetGroupSubnet > &&value)
AwsRdsDbSubnetGroup & WithDbSubnetGroupArn(const Aws::String &value)
AWS_SECURITYHUB_API AwsRdsDbSubnetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbSubnetGroup & WithDbSubnetGroupDescription(const char *value)
void SetDbSubnetGroupDescription(const Aws::String &value)
AwsRdsDbSubnetGroup & WithDbSubnetGroupArn(const char *value)
AwsRdsDbSubnetGroup & AddSubnets(const AwsRdsDbSubnetGroupSubnet &value)
AwsRdsDbSubnetGroup & WithVpcId(const Aws::String &value)
AwsRdsDbSubnetGroup & WithSubnetGroupStatus(Aws::String &&value)
AwsRdsDbSubnetGroup & WithSubnetGroupStatus(const Aws::String &value)
AwsRdsDbSubnetGroup & WithVpcId(const char *value)
AwsRdsDbSubnetGroup & WithDbSubnetGroupName(Aws::String &&value)
void SetDbSubnetGroupArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue