AWS SDK for C++  1.9.106
AWS SDK for C++
AwsRdsDbSubnetGroupSubnet.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 SecurityHub
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetSubnetIdentifier() const{ return m_subnetIdentifier; }
45 
49  inline bool SubnetIdentifierHasBeenSet() const { return m_subnetIdentifierHasBeenSet; }
50 
54  inline void SetSubnetIdentifier(const Aws::String& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = value; }
55 
59  inline void SetSubnetIdentifier(Aws::String&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::move(value); }
60 
64  inline void SetSubnetIdentifier(const char* value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier.assign(value); }
65 
69  inline AwsRdsDbSubnetGroupSubnet& WithSubnetIdentifier(const Aws::String& value) { SetSubnetIdentifier(value); return *this;}
70 
74  inline AwsRdsDbSubnetGroupSubnet& WithSubnetIdentifier(Aws::String&& value) { SetSubnetIdentifier(std::move(value)); return *this;}
75 
79  inline AwsRdsDbSubnetGroupSubnet& WithSubnetIdentifier(const char* value) { SetSubnetIdentifier(value); return *this;}
80 
81 
85  inline const AwsRdsDbSubnetGroupSubnetAvailabilityZone& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
86 
90  inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
91 
95  inline void SetSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
96 
100  inline void SetSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
101 
105  inline AwsRdsDbSubnetGroupSubnet& WithSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone& value) { SetSubnetAvailabilityZone(value); return *this;}
106 
110  inline AwsRdsDbSubnetGroupSubnet& WithSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone&& value) { SetSubnetAvailabilityZone(std::move(value)); return *this;}
111 
112 
116  inline const Aws::String& GetSubnetStatus() const{ return m_subnetStatus; }
117 
121  inline bool SubnetStatusHasBeenSet() const { return m_subnetStatusHasBeenSet; }
122 
126  inline void SetSubnetStatus(const Aws::String& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = value; }
127 
131  inline void SetSubnetStatus(Aws::String&& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = std::move(value); }
132 
136  inline void SetSubnetStatus(const char* value) { m_subnetStatusHasBeenSet = true; m_subnetStatus.assign(value); }
137 
141  inline AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(const Aws::String& value) { SetSubnetStatus(value); return *this;}
142 
146  inline AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(Aws::String&& value) { SetSubnetStatus(std::move(value)); return *this;}
147 
151  inline AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(const char* value) { SetSubnetStatus(value); return *this;}
152 
153  private:
154 
155  Aws::String m_subnetIdentifier;
156  bool m_subnetIdentifierHasBeenSet;
157 
158  AwsRdsDbSubnetGroupSubnetAvailabilityZone m_subnetAvailabilityZone;
159  bool m_subnetAvailabilityZoneHasBeenSet;
160 
161  Aws::String m_subnetStatus;
162  bool m_subnetStatusHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace SecurityHub
167 } // namespace Aws
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetAvailabilityZone
AwsRdsDbSubnetGroupSubnet & WithSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone &&value)
Definition: AwsRdsDbSubnetGroupSubnet.h:110
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SubnetAvailabilityZoneHasBeenSet
bool SubnetAvailabilityZoneHasBeenSet() const
Definition: AwsRdsDbSubnetGroupSubnet.h:90
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetStatus
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(const Aws::String &value)
Definition: AwsRdsDbSubnetGroupSubnet.h:141
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetIdentifier
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(const Aws::String &value)
Definition: AwsRdsDbSubnetGroupSubnet.h:69
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::GetSubnetAvailabilityZone
const AwsRdsDbSubnetGroupSubnetAvailabilityZone & GetSubnetAvailabilityZone() const
Definition: AwsRdsDbSubnetGroupSubnet.h:85
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetStatus
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(const char *value)
Definition: AwsRdsDbSubnetGroupSubnet.h:151
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetStatus
void SetSubnetStatus(const char *value)
Definition: AwsRdsDbSubnetGroupSubnet.h:136
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetAvailabilityZone
AwsRdsDbSubnetGroupSubnet & WithSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone &value)
Definition: AwsRdsDbSubnetGroupSubnet.h:105
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnetAvailabilityZone
Definition: AwsRdsDbSubnetGroupSubnetAvailabilityZone.h:33
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetIdentifier
void SetSubnetIdentifier(const Aws::String &value)
Definition: AwsRdsDbSubnetGroupSubnet.h:54
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::AwsRdsDbSubnetGroupSubnet
AwsRdsDbSubnetGroupSubnet()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetAvailabilityZone
void SetSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone &value)
Definition: AwsRdsDbSubnetGroupSubnet.h:95
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetAvailabilityZone
void SetSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone &&value)
Definition: AwsRdsDbSubnetGroupSubnet.h:100
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetIdentifier
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(Aws::String &&value)
Definition: AwsRdsDbSubnetGroupSubnet.h:74
AwsRdsDbSubnetGroupSubnetAvailabilityZone.h
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetStatus
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(Aws::String &&value)
Definition: AwsRdsDbSubnetGroupSubnet.h:146
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetIdentifier
void SetSubnetIdentifier(const char *value)
Definition: AwsRdsDbSubnetGroupSubnet.h:64
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SubnetStatusHasBeenSet
bool SubnetStatusHasBeenSet() const
Definition: AwsRdsDbSubnetGroupSubnet.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::GetSubnetStatus
const Aws::String & GetSubnetStatus() const
Definition: AwsRdsDbSubnetGroupSubnet.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetIdentifier
void SetSubnetIdentifier(Aws::String &&value)
Definition: AwsRdsDbSubnetGroupSubnet.h:59
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetStatus
void SetSubnetStatus(const Aws::String &value)
Definition: AwsRdsDbSubnetGroupSubnet.h:126
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::operator=
AwsRdsDbSubnetGroupSubnet & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::WithSubnetIdentifier
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(const char *value)
Definition: AwsRdsDbSubnetGroupSubnet.h:79
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SubnetIdentifierHasBeenSet
bool SubnetIdentifierHasBeenSet() const
Definition: AwsRdsDbSubnetGroupSubnet.h:49
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::GetSubnetIdentifier
const Aws::String & GetSubnetIdentifier() const
Definition: AwsRdsDbSubnetGroupSubnet.h:44
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::SetSubnetStatus
void SetSubnetStatus(Aws::String &&value)
Definition: AwsRdsDbSubnetGroupSubnet.h:131
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet
Definition: AwsRdsDbSubnetGroupSubnet.h:33
Aws::SecurityHub::Model::AwsRdsDbSubnetGroupSubnet::AwsRdsDbSubnetGroupSubnet
AwsRdsDbSubnetGroupSubnet(Aws::Utils::Json::JsonView jsonValue)