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/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune/model/AvailabilityZone.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Neptune
23{
24namespace Model
25{
26
33 class Subnet
34 {
35 public:
36 AWS_NEPTUNE_API Subnet();
37 AWS_NEPTUNE_API Subnet(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_NEPTUNE_API Subnet& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetSubnetIdentifier() const{ return m_subnetIdentifier; }
49 inline bool SubnetIdentifierHasBeenSet() const { return m_subnetIdentifierHasBeenSet; }
50 inline void SetSubnetIdentifier(const Aws::String& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = value; }
51 inline void SetSubnetIdentifier(Aws::String&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::move(value); }
52 inline void SetSubnetIdentifier(const char* value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier.assign(value); }
53 inline Subnet& WithSubnetIdentifier(const Aws::String& value) { SetSubnetIdentifier(value); return *this;}
54 inline Subnet& WithSubnetIdentifier(Aws::String&& value) { SetSubnetIdentifier(std::move(value)); return *this;}
55 inline Subnet& WithSubnetIdentifier(const char* value) { SetSubnetIdentifier(value); return *this;}
57
59
62 inline const AvailabilityZone& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
63 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
64 inline void SetSubnetAvailabilityZone(const AvailabilityZone& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
65 inline void SetSubnetAvailabilityZone(AvailabilityZone&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
66 inline Subnet& WithSubnetAvailabilityZone(const AvailabilityZone& value) { SetSubnetAvailabilityZone(value); return *this;}
67 inline Subnet& WithSubnetAvailabilityZone(AvailabilityZone&& value) { SetSubnetAvailabilityZone(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetSubnetStatus() const{ return m_subnetStatus; }
75 inline bool SubnetStatusHasBeenSet() const { return m_subnetStatusHasBeenSet; }
76 inline void SetSubnetStatus(const Aws::String& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = value; }
77 inline void SetSubnetStatus(Aws::String&& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = std::move(value); }
78 inline void SetSubnetStatus(const char* value) { m_subnetStatusHasBeenSet = true; m_subnetStatus.assign(value); }
79 inline Subnet& WithSubnetStatus(const Aws::String& value) { SetSubnetStatus(value); return *this;}
80 inline Subnet& WithSubnetStatus(Aws::String&& value) { SetSubnetStatus(std::move(value)); return *this;}
81 inline Subnet& WithSubnetStatus(const char* value) { SetSubnetStatus(value); return *this;}
83 private:
84
85 Aws::String m_subnetIdentifier;
86 bool m_subnetIdentifierHasBeenSet = false;
87
88 AvailabilityZone m_subnetAvailabilityZone;
89 bool m_subnetAvailabilityZoneHasBeenSet = false;
90
91 Aws::String m_subnetStatus;
92 bool m_subnetStatusHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Neptune
97} // namespace Aws
void SetSubnetStatus(Aws::String &&value)
Definition Subnet.h:77
Subnet & WithSubnetIdentifier(const char *value)
Definition Subnet.h:55
const Aws::String & GetSubnetStatus() const
Definition Subnet.h:74
void SetSubnetStatus(const char *value)
Definition Subnet.h:78
void SetSubnetAvailabilityZone(AvailabilityZone &&value)
Definition Subnet.h:65
AWS_NEPTUNE_API Subnet(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Subnet & WithSubnetStatus(const Aws::String &value)
Definition Subnet.h:79
Subnet & WithSubnetIdentifier(Aws::String &&value)
Definition Subnet.h:54
Subnet & WithSubnetStatus(Aws::String &&value)
Definition Subnet.h:80
bool SubnetStatusHasBeenSet() const
Definition Subnet.h:75
Subnet & WithSubnetIdentifier(const Aws::String &value)
Definition Subnet.h:53
const Aws::String & GetSubnetIdentifier() const
Definition Subnet.h:48
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSubnetStatus(const Aws::String &value)
Definition Subnet.h:76
const AvailabilityZone & GetSubnetAvailabilityZone() const
Definition Subnet.h:62
Subnet & WithSubnetAvailabilityZone(AvailabilityZone &&value)
Definition Subnet.h:67
bool SubnetIdentifierHasBeenSet() const
Definition Subnet.h:49
void SetSubnetAvailabilityZone(const AvailabilityZone &value)
Definition Subnet.h:64
AWS_NEPTUNE_API Subnet()
Subnet & WithSubnetAvailabilityZone(const AvailabilityZone &value)
Definition Subnet.h:66
void SetSubnetIdentifier(Aws::String &&value)
Definition Subnet.h:51
void SetSubnetIdentifier(const Aws::String &value)
Definition Subnet.h:50
AWS_NEPTUNE_API Subnet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SubnetAvailabilityZoneHasBeenSet() const
Definition Subnet.h:63
Subnet & WithSubnetStatus(const char *value)
Definition Subnet.h:81
void SetSubnetIdentifier(const char *value)
Definition Subnet.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream