AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubnetMapping.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/IPAddressType.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 NetworkFirewall
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_NETWORKFIREWALL_API SubnetMapping();
40 AWS_NETWORKFIREWALL_API SubnetMapping(Aws::Utils::Json::JsonView jsonValue);
41 AWS_NETWORKFIREWALL_API SubnetMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
50 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
51 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
52 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
53 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
54 inline SubnetMapping& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
55 inline SubnetMapping& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
56 inline SubnetMapping& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
58
60
64 inline const IPAddressType& GetIPAddressType() const{ return m_iPAddressType; }
65 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
66 inline void SetIPAddressType(const IPAddressType& value) { m_iPAddressTypeHasBeenSet = true; m_iPAddressType = value; }
67 inline void SetIPAddressType(IPAddressType&& value) { m_iPAddressTypeHasBeenSet = true; m_iPAddressType = std::move(value); }
68 inline SubnetMapping& WithIPAddressType(const IPAddressType& value) { SetIPAddressType(value); return *this;}
69 inline SubnetMapping& WithIPAddressType(IPAddressType&& value) { SetIPAddressType(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_subnetId;
74 bool m_subnetIdHasBeenSet = false;
75
76 IPAddressType m_iPAddressType;
77 bool m_iPAddressTypeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace NetworkFirewall
82} // namespace Aws
const IPAddressType & GetIPAddressType() const
const Aws::String & GetSubnetId() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKFIREWALL_API SubnetMapping()
void SetIPAddressType(IPAddressType &&value)
SubnetMapping & WithIPAddressType(const IPAddressType &value)
AWS_NETWORKFIREWALL_API SubnetMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetId(const Aws::String &value)
void SetIPAddressType(const IPAddressType &value)
SubnetMapping & WithSubnetId(const char *value)
SubnetMapping & WithSubnetId(Aws::String &&value)
AWS_NETWORKFIREWALL_API SubnetMapping(Aws::Utils::Json::JsonView jsonValue)
SubnetMapping & WithIPAddressType(IPAddressType &&value)
SubnetMapping & WithSubnetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue