AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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