AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
47 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
48 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
49 inline Location& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
50 inline Location& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
51 inline Location& WithAddress(const char* value) { SetAddress(value); return *this;}
53
55
58 inline const Aws::String& GetLatitude() const{ return m_latitude; }
59 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
60 inline void SetLatitude(const Aws::String& value) { m_latitudeHasBeenSet = true; m_latitude = value; }
61 inline void SetLatitude(Aws::String&& value) { m_latitudeHasBeenSet = true; m_latitude = std::move(value); }
62 inline void SetLatitude(const char* value) { m_latitudeHasBeenSet = true; m_latitude.assign(value); }
63 inline Location& WithLatitude(const Aws::String& value) { SetLatitude(value); return *this;}
64 inline Location& WithLatitude(Aws::String&& value) { SetLatitude(std::move(value)); return *this;}
65 inline Location& WithLatitude(const char* value) { SetLatitude(value); return *this;}
67
69
72 inline const Aws::String& GetLongitude() const{ return m_longitude; }
73 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
74 inline void SetLongitude(const Aws::String& value) { m_longitudeHasBeenSet = true; m_longitude = value; }
75 inline void SetLongitude(Aws::String&& value) { m_longitudeHasBeenSet = true; m_longitude = std::move(value); }
76 inline void SetLongitude(const char* value) { m_longitudeHasBeenSet = true; m_longitude.assign(value); }
77 inline Location& WithLongitude(const Aws::String& value) { SetLongitude(value); return *this;}
78 inline Location& WithLongitude(Aws::String&& value) { SetLongitude(std::move(value)); return *this;}
79 inline Location& WithLongitude(const char* value) { SetLongitude(value); return *this;}
81 private:
82
83 Aws::String m_address;
84 bool m_addressHasBeenSet = false;
85
86 Aws::String m_latitude;
87 bool m_latitudeHasBeenSet = false;
88
89 Aws::String m_longitude;
90 bool m_longitudeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace NetworkManager
95} // namespace Aws
Location & WithLatitude(Aws::String &&value)
Definition Location.h:64
void SetAddress(const Aws::String &value)
Definition Location.h:46
void SetLatitude(const Aws::String &value)
Definition Location.h:60
void SetLatitude(const char *value)
Definition Location.h:62
Location & WithAddress(Aws::String &&value)
Definition Location.h:50
void SetAddress(Aws::String &&value)
Definition Location.h:47
Location & WithLatitude(const Aws::String &value)
Definition Location.h:63
Location & WithLongitude(const char *value)
Definition Location.h:79
void SetAddress(const char *value)
Definition Location.h:48
const Aws::String & GetLatitude() const
Definition Location.h:58
void SetLongitude(const Aws::String &value)
Definition Location.h:74
AWS_NETWORKMANAGER_API Location()
void SetLatitude(Aws::String &&value)
Definition Location.h:61
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Location & WithLongitude(const Aws::String &value)
Definition Location.h:77
const Aws::String & GetLongitude() const
Definition Location.h:72
Location & WithLongitude(Aws::String &&value)
Definition Location.h:78
const Aws::String & GetAddress() const
Definition Location.h:44
AWS_NETWORKMANAGER_API Location(Aws::Utils::Json::JsonView jsonValue)
void SetLongitude(const char *value)
Definition Location.h:76
void SetLongitude(Aws::String &&value)
Definition Location.h:75
Location & WithLatitude(const char *value)
Definition Location.h:65
Location & WithAddress(const Aws::String &value)
Definition Location.h:49
Location & WithAddress(const char *value)
Definition Location.h:51
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