AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Subnet.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DAX
22{
23namespace Model
24{
25
33 class Subnet
34 {
35 public:
36 AWS_DAX_API Subnet() = default;
37 AWS_DAX_API Subnet(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetSubnetIdentifier() const { return m_subnetIdentifier; }
47 inline bool SubnetIdentifierHasBeenSet() const { return m_subnetIdentifierHasBeenSet; }
48 template<typename SubnetIdentifierT = Aws::String>
49 void SetSubnetIdentifier(SubnetIdentifierT&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::forward<SubnetIdentifierT>(value); }
50 template<typename SubnetIdentifierT = Aws::String>
51 Subnet& WithSubnetIdentifier(SubnetIdentifierT&& value) { SetSubnetIdentifier(std::forward<SubnetIdentifierT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSubnetAvailabilityZone() const { return m_subnetAvailabilityZone; }
59 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
60 template<typename SubnetAvailabilityZoneT = Aws::String>
61 void SetSubnetAvailabilityZone(SubnetAvailabilityZoneT&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::forward<SubnetAvailabilityZoneT>(value); }
62 template<typename SubnetAvailabilityZoneT = Aws::String>
63 Subnet& WithSubnetAvailabilityZone(SubnetAvailabilityZoneT&& value) { SetSubnetAvailabilityZone(std::forward<SubnetAvailabilityZoneT>(value)); return *this;}
65 private:
66
67 Aws::String m_subnetIdentifier;
68 bool m_subnetIdentifierHasBeenSet = false;
69
70 Aws::String m_subnetAvailabilityZone;
71 bool m_subnetAvailabilityZoneHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DAX
76} // namespace Aws
AWS_DAX_API Subnet(Aws::Utils::Json::JsonView jsonValue)
bool SubnetAvailabilityZoneHasBeenSet() const
Definition Subnet.h:59
void SetSubnetIdentifier(SubnetIdentifierT &&value)
Definition Subnet.h:49
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
Subnet & WithSubnetIdentifier(SubnetIdentifierT &&value)
Definition Subnet.h:51
void SetSubnetAvailabilityZone(SubnetAvailabilityZoneT &&value)
Definition Subnet.h:61
const Aws::String & GetSubnetAvailabilityZone() const
Definition Subnet.h:58
AWS_DAX_API Subnet & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubnetIdentifier() const
Definition Subnet.h:46
AWS_DAX_API Subnet()=default
Subnet & WithSubnetAvailabilityZone(SubnetAvailabilityZoneT &&value)
Definition Subnet.h:63
bool SubnetIdentifierHasBeenSet() const
Definition Subnet.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue