AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSubnetIdentifier(const Aws::String& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = value; }
49 inline void SetSubnetIdentifier(Aws::String&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::move(value); }
50 inline void SetSubnetIdentifier(const char* value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier.assign(value); }
51 inline Subnet& WithSubnetIdentifier(const Aws::String& value) { SetSubnetIdentifier(value); return *this;}
52 inline Subnet& WithSubnetIdentifier(Aws::String&& value) { SetSubnetIdentifier(std::move(value)); return *this;}
53 inline Subnet& WithSubnetIdentifier(const char* value) { SetSubnetIdentifier(value); return *this;}
55
57
60 inline const Aws::String& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
61 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
62 inline void SetSubnetAvailabilityZone(const Aws::String& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
63 inline void SetSubnetAvailabilityZone(Aws::String&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
64 inline void SetSubnetAvailabilityZone(const char* value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone.assign(value); }
65 inline Subnet& WithSubnetAvailabilityZone(const Aws::String& value) { SetSubnetAvailabilityZone(value); return *this;}
66 inline Subnet& WithSubnetAvailabilityZone(Aws::String&& value) { SetSubnetAvailabilityZone(std::move(value)); return *this;}
67 inline Subnet& WithSubnetAvailabilityZone(const char* value) { SetSubnetAvailabilityZone(value); return *this;}
69 private:
70
71 Aws::String m_subnetIdentifier;
72 bool m_subnetIdentifierHasBeenSet = false;
73
74 Aws::String m_subnetAvailabilityZone;
75 bool m_subnetAvailabilityZoneHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DAX
80} // namespace Aws
AWS_DAX_API Subnet(Aws::Utils::Json::JsonView jsonValue)
bool SubnetAvailabilityZoneHasBeenSet() const
Definition Subnet.h:61
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
Subnet & WithSubnetIdentifier(Aws::String &&value)
Definition Subnet.h:52
const Aws::String & GetSubnetAvailabilityZone() const
Definition Subnet.h:60
AWS_DAX_API Subnet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIdentifier(const char *value)
Definition Subnet.h:50
Subnet & WithSubnetAvailabilityZone(const Aws::String &value)
Definition Subnet.h:65
Subnet & WithSubnetIdentifier(const Aws::String &value)
Definition Subnet.h:51
void SetSubnetIdentifier(const Aws::String &value)
Definition Subnet.h:48
Subnet & WithSubnetAvailabilityZone(const char *value)
Definition Subnet.h:67
void SetSubnetAvailabilityZone(Aws::String &&value)
Definition Subnet.h:63
void SetSubnetAvailabilityZone(const char *value)
Definition Subnet.h:64
Subnet & WithSubnetIdentifier(const char *value)
Definition Subnet.h:53
void SetSubnetAvailabilityZone(const Aws::String &value)
Definition Subnet.h:62
const Aws::String & GetSubnetIdentifier() const
Definition Subnet.h:46
Subnet & WithSubnetAvailabilityZone(Aws::String &&value)
Definition Subnet.h:66
void SetSubnetIdentifier(Aws::String &&value)
Definition Subnet.h:49
bool SubnetIdentifierHasBeenSet() const
Definition Subnet.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue