AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Location.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 Location() = default;
35 AWS_NETWORKMANAGER_API Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_NETWORKMANAGER_API Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAddress() const { return m_address; }
45 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
46 template<typename AddressT = Aws::String>
47 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
48 template<typename AddressT = Aws::String>
49 Location& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
51
53
56 inline const Aws::String& GetLatitude() const { return m_latitude; }
57 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
58 template<typename LatitudeT = Aws::String>
59 void SetLatitude(LatitudeT&& value) { m_latitudeHasBeenSet = true; m_latitude = std::forward<LatitudeT>(value); }
60 template<typename LatitudeT = Aws::String>
61 Location& WithLatitude(LatitudeT&& value) { SetLatitude(std::forward<LatitudeT>(value)); return *this;}
63
65
68 inline const Aws::String& GetLongitude() const { return m_longitude; }
69 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
70 template<typename LongitudeT = Aws::String>
71 void SetLongitude(LongitudeT&& value) { m_longitudeHasBeenSet = true; m_longitude = std::forward<LongitudeT>(value); }
72 template<typename LongitudeT = Aws::String>
73 Location& WithLongitude(LongitudeT&& value) { SetLongitude(std::forward<LongitudeT>(value)); return *this;}
75 private:
76
77 Aws::String m_address;
78 bool m_addressHasBeenSet = false;
79
80 Aws::String m_latitude;
81 bool m_latitudeHasBeenSet = false;
82
83 Aws::String m_longitude;
84 bool m_longitudeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace NetworkManager
89} // namespace Aws
void SetLongitude(LongitudeT &&value)
Definition Location.h:71
const Aws::String & GetLatitude() const
Definition Location.h:56
Location & WithAddress(AddressT &&value)
Definition Location.h:49
Location & WithLatitude(LatitudeT &&value)
Definition Location.h:61
void SetLatitude(LatitudeT &&value)
Definition Location.h:59
void SetAddress(AddressT &&value)
Definition Location.h:47
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLongitude() const
Definition Location.h:68
AWS_NETWORKMANAGER_API Location()=default
Location & WithLongitude(LongitudeT &&value)
Definition Location.h:73
const Aws::String & GetAddress() const
Definition Location.h:44
AWS_NETWORKMANAGER_API Location(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue