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/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/AvailabilityZone.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 DatabaseMigrationService
23{
24namespace Model
25{
26
34 class Subnet
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API Subnet();
38 AWS_DATABASEMIGRATIONSERVICE_API Subnet(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Subnet& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetSubnetIdentifier() const{ return m_subnetIdentifier; }
48 inline bool SubnetIdentifierHasBeenSet() const { return m_subnetIdentifierHasBeenSet; }
49 inline void SetSubnetIdentifier(const Aws::String& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = value; }
50 inline void SetSubnetIdentifier(Aws::String&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::move(value); }
51 inline void SetSubnetIdentifier(const char* value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier.assign(value); }
52 inline Subnet& WithSubnetIdentifier(const Aws::String& value) { SetSubnetIdentifier(value); return *this;}
53 inline Subnet& WithSubnetIdentifier(Aws::String&& value) { SetSubnetIdentifier(std::move(value)); return *this;}
54 inline Subnet& WithSubnetIdentifier(const char* value) { SetSubnetIdentifier(value); return *this;}
56
58
61 inline const AvailabilityZone& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
62 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
63 inline void SetSubnetAvailabilityZone(const AvailabilityZone& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
64 inline void SetSubnetAvailabilityZone(AvailabilityZone&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
65 inline Subnet& WithSubnetAvailabilityZone(const AvailabilityZone& value) { SetSubnetAvailabilityZone(value); return *this;}
66 inline Subnet& WithSubnetAvailabilityZone(AvailabilityZone&& value) { SetSubnetAvailabilityZone(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetSubnetStatus() const{ return m_subnetStatus; }
74 inline bool SubnetStatusHasBeenSet() const { return m_subnetStatusHasBeenSet; }
75 inline void SetSubnetStatus(const Aws::String& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = value; }
76 inline void SetSubnetStatus(Aws::String&& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = std::move(value); }
77 inline void SetSubnetStatus(const char* value) { m_subnetStatusHasBeenSet = true; m_subnetStatus.assign(value); }
78 inline Subnet& WithSubnetStatus(const Aws::String& value) { SetSubnetStatus(value); return *this;}
79 inline Subnet& WithSubnetStatus(Aws::String&& value) { SetSubnetStatus(std::move(value)); return *this;}
80 inline Subnet& WithSubnetStatus(const char* value) { SetSubnetStatus(value); return *this;}
82 private:
83
84 Aws::String m_subnetIdentifier;
85 bool m_subnetIdentifierHasBeenSet = false;
86
87 AvailabilityZone m_subnetAvailabilityZone;
88 bool m_subnetAvailabilityZoneHasBeenSet = false;
89
90 Aws::String m_subnetStatus;
91 bool m_subnetStatusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DatabaseMigrationService
96} // namespace Aws
const Aws::String & GetSubnetStatus() const
Definition Subnet.h:73
Subnet & WithSubnetAvailabilityZone(AvailabilityZone &&value)
Definition Subnet.h:66
AWS_DATABASEMIGRATIONSERVICE_API Subnet()
Subnet & WithSubnetAvailabilityZone(const AvailabilityZone &value)
Definition Subnet.h:65
Subnet & WithSubnetIdentifier(const char *value)
Definition Subnet.h:54
const Aws::String & GetSubnetIdentifier() const
Definition Subnet.h:47
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubnetAvailabilityZone(AvailabilityZone &&value)
Definition Subnet.h:64
Subnet & WithSubnetStatus(const Aws::String &value)
Definition Subnet.h:78
void SetSubnetIdentifier(const char *value)
Definition Subnet.h:51
Subnet & WithSubnetIdentifier(Aws::String &&value)
Definition Subnet.h:53
void SetSubnetAvailabilityZone(const AvailabilityZone &value)
Definition Subnet.h:63
void SetSubnetStatus(Aws::String &&value)
Definition Subnet.h:76
AWS_DATABASEMIGRATIONSERVICE_API Subnet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetStatus(const char *value)
Definition Subnet.h:77
Subnet & WithSubnetStatus(Aws::String &&value)
Definition Subnet.h:79
Subnet & WithSubnetIdentifier(const Aws::String &value)
Definition Subnet.h:52
void SetSubnetIdentifier(const Aws::String &value)
Definition Subnet.h:49
Subnet & WithSubnetStatus(const char *value)
Definition Subnet.h:80
AWS_DATABASEMIGRATIONSERVICE_API Subnet(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIdentifier(Aws::String &&value)
Definition Subnet.h:50
void SetSubnetStatus(const Aws::String &value)
Definition Subnet.h:75
const AvailabilityZone & GetSubnetAvailabilityZone() const
Definition Subnet.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue