AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LatitudeT = Aws::String>
49 void SetLatitude(LatitudeT&& value) { m_latitudeHasBeenSet = true; m_latitude = std::forward<LatitudeT>(value); }
50 template<typename LatitudeT = Aws::String>
51 Coordinates& WithLatitude(LatitudeT&& value) { SetLatitude(std::forward<LatitudeT>(value)); return *this;}
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) { m_longitudeHasBeenSet = true; m_longitude = std::forward<LongitudeT>(value); }
63 template<typename LongitudeT = Aws::String>
64 Coordinates& WithLongitude(LongitudeT&& value) { SetLongitude(std::forward<LongitudeT>(value)); return *this;}
66 private:
67
68 Aws::String m_latitude;
69 bool m_latitudeHasBeenSet = false;
70
71 Aws::String m_longitude;
72 bool m_longitudeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Route53
77} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Coordinates & WithLongitude(LongitudeT &&value)
Definition Coordinates.h:64
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:51
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:46
void SetLatitude(LatitudeT &&value)
Definition Coordinates.h:49
AWS_ROUTE53_API Coordinates()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String