AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SubnetIdentifierT = Aws::String>
48 void SetSubnetIdentifier(SubnetIdentifierT&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::forward<SubnetIdentifierT>(value); }
49 template<typename SubnetIdentifierT = Aws::String>
50 AwsRdsDbSubnetGroupSubnet& WithSubnetIdentifier(SubnetIdentifierT&& value) { SetSubnetIdentifier(std::forward<SubnetIdentifierT>(value)); return *this;}
52
54
57 inline const AwsRdsDbSubnetGroupSubnetAvailabilityZone& GetSubnetAvailabilityZone() const { return m_subnetAvailabilityZone; }
58 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
59 template<typename SubnetAvailabilityZoneT = AwsRdsDbSubnetGroupSubnetAvailabilityZone>
60 void SetSubnetAvailabilityZone(SubnetAvailabilityZoneT&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::forward<SubnetAvailabilityZoneT>(value); }
61 template<typename SubnetAvailabilityZoneT = AwsRdsDbSubnetGroupSubnetAvailabilityZone>
62 AwsRdsDbSubnetGroupSubnet& WithSubnetAvailabilityZone(SubnetAvailabilityZoneT&& value) { SetSubnetAvailabilityZone(std::forward<SubnetAvailabilityZoneT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSubnetStatus() const { return m_subnetStatus; }
70 inline bool SubnetStatusHasBeenSet() const { return m_subnetStatusHasBeenSet; }
71 template<typename SubnetStatusT = Aws::String>
72 void SetSubnetStatus(SubnetStatusT&& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = std::forward<SubnetStatusT>(value); }
73 template<typename SubnetStatusT = Aws::String>
74 AwsRdsDbSubnetGroupSubnet& WithSubnetStatus(SubnetStatusT&& value) { SetSubnetStatus(std::forward<SubnetStatusT>(value)); return *this;}
76 private:
77
78 Aws::String m_subnetIdentifier;
79 bool m_subnetIdentifierHasBeenSet = false;
80
81 AwsRdsDbSubnetGroupSubnetAvailabilityZone m_subnetAvailabilityZone;
82 bool m_subnetAvailabilityZoneHasBeenSet = false;
83
84 Aws::String m_subnetStatus;
85 bool m_subnetStatusHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SecurityHub
90} // namespace Aws
void SetSubnetAvailabilityZone(SubnetAvailabilityZoneT &&value)
const AwsRdsDbSubnetGroupSubnetAvailabilityZone & GetSubnetAvailabilityZone() const
AWS_SECURITYHUB_API AwsRdsDbSubnetGroupSubnet(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbSubnetGroupSubnet & WithSubnetAvailabilityZone(SubnetAvailabilityZoneT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRdsDbSubnetGroupSubnet()=default
AwsRdsDbSubnetGroupSubnet & WithSubnetStatus(SubnetStatusT &&value)
AwsRdsDbSubnetGroupSubnet & WithSubnetIdentifier(SubnetIdentifierT &&value)
AWS_SECURITYHUB_API AwsRdsDbSubnetGroupSubnet & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue