AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AWSLocation.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_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 NetworkManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NETWORKMANAGER_API AWSLocation();
35 AWS_NETWORKMANAGER_API AWSLocation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_NETWORKMANAGER_API AWSLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetZone() const{ return m_zone; }
46 inline bool ZoneHasBeenSet() const { return m_zoneHasBeenSet; }
47 inline void SetZone(const Aws::String& value) { m_zoneHasBeenSet = true; m_zone = value; }
48 inline void SetZone(Aws::String&& value) { m_zoneHasBeenSet = true; m_zone = std::move(value); }
49 inline void SetZone(const char* value) { m_zoneHasBeenSet = true; m_zone.assign(value); }
50 inline AWSLocation& WithZone(const Aws::String& value) { SetZone(value); return *this;}
51 inline AWSLocation& WithZone(Aws::String&& value) { SetZone(std::move(value)); return *this;}
52 inline AWSLocation& WithZone(const char* value) { SetZone(value); return *this;}
54
56
60 inline const Aws::String& GetSubnetArn() const{ return m_subnetArn; }
61 inline bool SubnetArnHasBeenSet() const { return m_subnetArnHasBeenSet; }
62 inline void SetSubnetArn(const Aws::String& value) { m_subnetArnHasBeenSet = true; m_subnetArn = value; }
63 inline void SetSubnetArn(Aws::String&& value) { m_subnetArnHasBeenSet = true; m_subnetArn = std::move(value); }
64 inline void SetSubnetArn(const char* value) { m_subnetArnHasBeenSet = true; m_subnetArn.assign(value); }
65 inline AWSLocation& WithSubnetArn(const Aws::String& value) { SetSubnetArn(value); return *this;}
66 inline AWSLocation& WithSubnetArn(Aws::String&& value) { SetSubnetArn(std::move(value)); return *this;}
67 inline AWSLocation& WithSubnetArn(const char* value) { SetSubnetArn(value); return *this;}
69 private:
70
71 Aws::String m_zone;
72 bool m_zoneHasBeenSet = false;
73
74 Aws::String m_subnetArn;
75 bool m_subnetArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace NetworkManager
80} // namespace Aws
void SetSubnetArn(const Aws::String &value)
Definition AWSLocation.h:62
const Aws::String & GetZone() const
Definition AWSLocation.h:45
void SetZone(Aws::String &&value)
Definition AWSLocation.h:48
AWS_NETWORKMANAGER_API AWSLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSLocation & WithSubnetArn(const Aws::String &value)
Definition AWSLocation.h:65
AWS_NETWORKMANAGER_API AWSLocation()
AWSLocation & WithZone(const char *value)
Definition AWSLocation.h:52
AWSLocation & WithZone(const Aws::String &value)
Definition AWSLocation.h:50
void SetZone(const Aws::String &value)
Definition AWSLocation.h:47
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubnetArn(Aws::String &&value)
Definition AWSLocation.h:63
void SetSubnetArn(const char *value)
Definition AWSLocation.h:64
AWS_NETWORKMANAGER_API AWSLocation(Aws::Utils::Json::JsonView jsonValue)
AWSLocation & WithSubnetArn(Aws::String &&value)
Definition AWSLocation.h:66
const Aws::String & GetSubnetArn() const
Definition AWSLocation.h:60
AWSLocation & WithSubnetArn(const char *value)
Definition AWSLocation.h:67
AWSLocation & WithZone(Aws::String &&value)
Definition AWSLocation.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue