AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ZoneT = Aws::String>
48 void SetZone(ZoneT&& value) { m_zoneHasBeenSet = true; m_zone = std::forward<ZoneT>(value); }
49 template<typename ZoneT = Aws::String>
50 AWSLocation& WithZone(ZoneT&& value) { SetZone(std::forward<ZoneT>(value)); return *this;}
52
54
58 inline const Aws::String& GetSubnetArn() const { return m_subnetArn; }
59 inline bool SubnetArnHasBeenSet() const { return m_subnetArnHasBeenSet; }
60 template<typename SubnetArnT = Aws::String>
61 void SetSubnetArn(SubnetArnT&& value) { m_subnetArnHasBeenSet = true; m_subnetArn = std::forward<SubnetArnT>(value); }
62 template<typename SubnetArnT = Aws::String>
63 AWSLocation& WithSubnetArn(SubnetArnT&& value) { SetSubnetArn(std::forward<SubnetArnT>(value)); return *this;}
65 private:
66
67 Aws::String m_zone;
68 bool m_zoneHasBeenSet = false;
69
70 Aws::String m_subnetArn;
71 bool m_subnetArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace NetworkManager
76} // namespace Aws
AWS_NETWORKMANAGER_API AWSLocation()=default
void SetSubnetArn(SubnetArnT &&value)
Definition AWSLocation.h:61
const Aws::String & GetZone() const
Definition AWSLocation.h:45
AWSLocation & WithSubnetArn(SubnetArnT &&value)
Definition AWSLocation.h:63
AWS_NETWORKMANAGER_API AWSLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSLocation & WithZone(ZoneT &&value)
Definition AWSLocation.h:50
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API AWSLocation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubnetArn() const
Definition AWSLocation.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue