AWS SDK for C++  1.9.108
AWS SDK for C++
AvailabilityZone.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetZoneName() const{ return m_zoneName; }
44 
48  inline bool ZoneNameHasBeenSet() const { return m_zoneNameHasBeenSet; }
49 
53  inline void SetZoneName(const Aws::String& value) { m_zoneNameHasBeenSet = true; m_zoneName = value; }
54 
58  inline void SetZoneName(Aws::String&& value) { m_zoneNameHasBeenSet = true; m_zoneName = std::move(value); }
59 
63  inline void SetZoneName(const char* value) { m_zoneNameHasBeenSet = true; m_zoneName.assign(value); }
64 
68  inline AvailabilityZone& WithZoneName(const Aws::String& value) { SetZoneName(value); return *this;}
69 
73  inline AvailabilityZone& WithZoneName(Aws::String&& value) { SetZoneName(std::move(value)); return *this;}
74 
78  inline AvailabilityZone& WithZoneName(const char* value) { SetZoneName(value); return *this;}
79 
80 
84  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
85 
89  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
90 
94  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
95 
99  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
100 
104  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
105 
109  inline AvailabilityZone& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
110 
114  inline AvailabilityZone& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
115 
119  inline AvailabilityZone& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
120 
121  private:
122 
123  Aws::String m_zoneName;
124  bool m_zoneNameHasBeenSet;
125 
126  Aws::String m_subnetId;
127  bool m_subnetIdHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SecurityHub
132 } // namespace Aws
Aws::SecurityHub::Model::AvailabilityZone::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: AvailabilityZone.h:99
Aws::SecurityHub::Model::AvailabilityZone::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: AvailabilityZone.h:94
Aws::SecurityHub::Model::AvailabilityZone::WithSubnetId
AvailabilityZone & WithSubnetId(const Aws::String &value)
Definition: AvailabilityZone.h:109
Aws::SecurityHub::Model::AvailabilityZone::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: AvailabilityZone.h:84
Aws::SecurityHub::Model::AvailabilityZone::WithZoneName
AvailabilityZone & WithZoneName(const Aws::String &value)
Definition: AvailabilityZone.h:68
Aws::SecurityHub::Model::AvailabilityZone::WithSubnetId
AvailabilityZone & WithSubnetId(Aws::String &&value)
Definition: AvailabilityZone.h:114
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AvailabilityZone
Definition: AvailabilityZone.h:32
Aws::SecurityHub::Model::AvailabilityZone::operator=
AvailabilityZone & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AvailabilityZone::SetZoneName
void SetZoneName(const Aws::String &value)
Definition: AvailabilityZone.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AvailabilityZone::AvailabilityZone
AvailabilityZone(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AvailabilityZone::SetZoneName
void SetZoneName(Aws::String &&value)
Definition: AvailabilityZone.h:58
Aws::SecurityHub::Model::AvailabilityZone::WithZoneName
AvailabilityZone & WithZoneName(Aws::String &&value)
Definition: AvailabilityZone.h:73
Aws::SecurityHub::Model::AvailabilityZone::WithSubnetId
AvailabilityZone & WithSubnetId(const char *value)
Definition: AvailabilityZone.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AvailabilityZone::ZoneNameHasBeenSet
bool ZoneNameHasBeenSet() const
Definition: AvailabilityZone.h:48
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AvailabilityZone::WithZoneName
AvailabilityZone & WithZoneName(const char *value)
Definition: AvailabilityZone.h:78
Aws::SecurityHub::Model::AvailabilityZone::AvailabilityZone
AvailabilityZone()
Aws::SecurityHub::Model::AvailabilityZone::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: AvailabilityZone.h:89
Aws::SecurityHub::Model::AvailabilityZone::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AvailabilityZone::SetSubnetId
void SetSubnetId(const char *value)
Definition: AvailabilityZone.h:104
Aws::SecurityHub::Model::AvailabilityZone::SetZoneName
void SetZoneName(const char *value)
Definition: AvailabilityZone.h:63
Aws::SecurityHub::Model::AvailabilityZone::GetZoneName
const Aws::String & GetZoneName() const
Definition: AvailabilityZone.h:43