AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsDbSubnetGroupSubnet.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsRdsDbSubnetGroupSubnetAvailabilityZone.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API AwsRdsDbSubnetGroupSubnet();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSubnetIdentifier() const{ return m_subnetIdentifier; }
46 inline bool SubnetIdentifierHasBeenSet() const { return m_subnetIdentifierHasBeenSet; }
47 inline void SetSubnetIdentifier(const Aws::String& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = value; }
48 inline void SetSubnetIdentifier(Aws::String&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::move(value); }
49 inline void SetSubnetIdentifier(const char* value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier.assign(value); }
51 inline AwsRdsDbSubnetGroupSubnet& WithSubnetIdentifier(Aws::String&& value) { SetSubnetIdentifier(std::move(value)); return *this;}
52 inline AwsRdsDbSubnetGroupSubnet& WithSubnetIdentifier(const char* value) { SetSubnetIdentifier(value); return *this;}
54
56
59 inline const AwsRdsDbSubnetGroupSubnetAvailabilityZone& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
60 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
61 inline void SetSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
62 inline void SetSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
66
68
71 inline const Aws::String& GetSubnetStatus() const{ return m_subnetStatus; }
72 inline bool SubnetStatusHasBeenSet() const { return m_subnetStatusHasBeenSet; }
73 inline void SetSubnetStatus(const Aws::String& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = value; }
74 inline void SetSubnetStatus(Aws::String&& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = std::move(value); }
75 inline void SetSubnetStatus(const char* value) { m_subnetStatusHasBeenSet = true; m_subnetStatus.assign(value); }
76 inline AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(const Aws::String& value) { SetSubnetStatus(value); return *this;}
77 inline AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(Aws::String&& value) { SetSubnetStatus(std::move(value)); return *this;}
78 inline AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(const char* value) { SetSubnetStatus(value); return *this;}
80 private:
81
82 Aws::String m_subnetIdentifier;
83 bool m_subnetIdentifierHasBeenSet = false;
84
85 AwsRdsDbSubnetGroupSubnetAvailabilityZone m_subnetAvailabilityZone;
86 bool m_subnetAvailabilityZoneHasBeenSet = false;
87
88 Aws::String m_subnetStatus;
89 bool m_subnetStatusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SecurityHub
94} // namespace Aws
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(const Aws::String &value)
const AwsRdsDbSubnetGroupSubnetAvailabilityZone & GetSubnetAvailabilityZone() const
AWS_SECURITYHUB_API AwsRdsDbSubnetGroupSubnet(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(Aws::String &&value)
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(const Aws::String &value)
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(Aws::String &&value)
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(const char *value)
void SetSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone &value)
AwsRdsDbSubnetGroupSubnet & WithSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone &&value)
AWS_SECURITYHUB_API AwsRdsDbSubnetGroupSubnet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone &&value)
AwsRdsDbSubnetGroupSubnet & WithSubnetAvailabilityZone(const AwsRdsDbSubnetGroupSubnetAvailabilityZone &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue