AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Coordinates.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ROUTE53_API Coordinates();
35 AWS_ROUTE53_API Coordinates(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ROUTE53_API Coordinates& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetLatitude() const{ return m_latitude; }
47 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
48 inline void SetLatitude(const Aws::String& value) { m_latitudeHasBeenSet = true; m_latitude = value; }
49 inline void SetLatitude(Aws::String&& value) { m_latitudeHasBeenSet = true; m_latitude = std::move(value); }
50 inline void SetLatitude(const char* value) { m_latitudeHasBeenSet = true; m_latitude.assign(value); }
51 inline Coordinates& WithLatitude(const Aws::String& value) { SetLatitude(value); return *this;}
52 inline Coordinates& WithLatitude(Aws::String&& value) { SetLatitude(std::move(value)); return *this;}
53 inline Coordinates& WithLatitude(const char* value) { SetLatitude(value); return *this;}
55
57
61 inline const Aws::String& GetLongitude() const{ return m_longitude; }
62 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
63 inline void SetLongitude(const Aws::String& value) { m_longitudeHasBeenSet = true; m_longitude = value; }
64 inline void SetLongitude(Aws::String&& value) { m_longitudeHasBeenSet = true; m_longitude = std::move(value); }
65 inline void SetLongitude(const char* value) { m_longitudeHasBeenSet = true; m_longitude.assign(value); }
66 inline Coordinates& WithLongitude(const Aws::String& value) { SetLongitude(value); return *this;}
67 inline Coordinates& WithLongitude(Aws::String&& value) { SetLongitude(std::move(value)); return *this;}
68 inline Coordinates& WithLongitude(const char* value) { SetLongitude(value); return *this;}
70 private:
71
72 Aws::String m_latitude;
73 bool m_latitudeHasBeenSet = false;
74
75 Aws::String m_longitude;
76 bool m_longitudeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Route53
81} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLongitude(const Aws::String &value)
Definition Coordinates.h:63
void SetLatitude(const Aws::String &value)
Definition Coordinates.h:48
AWS_ROUTE53_API Coordinates & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Coordinates & WithLongitude(const Aws::String &value)
Definition Coordinates.h:66
void SetLongitude(const char *value)
Definition Coordinates.h:65
Coordinates & WithLatitude(const char *value)
Definition Coordinates.h:53
Coordinates & WithLatitude(const Aws::String &value)
Definition Coordinates.h:51
void SetLongitude(Aws::String &&value)
Definition Coordinates.h:64
void SetLatitude(Aws::String &&value)
Definition Coordinates.h:49
AWS_ROUTE53_API Coordinates(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLatitude(const char *value)
Definition Coordinates.h:50
const Aws::String & GetLongitude() const
Definition Coordinates.h:61
const Aws::String & GetLatitude() const
Definition Coordinates.h:46
Coordinates & WithLongitude(Aws::String &&value)
Definition Coordinates.h:67
Coordinates & WithLongitude(const char *value)
Definition Coordinates.h:68
Coordinates & WithLatitude(Aws::String &&value)
Definition Coordinates.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String