AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GeoLocationDetails.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
33 {
34 public:
35 AWS_ROUTE53_API GeoLocationDetails() = default;
36 AWS_ROUTE53_API GeoLocationDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ROUTE53_API GeoLocationDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetContinentCode() const { return m_continentCode; }
47 inline bool ContinentCodeHasBeenSet() const { return m_continentCodeHasBeenSet; }
48 template<typename ContinentCodeT = Aws::String>
49 void SetContinentCode(ContinentCodeT&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::forward<ContinentCodeT>(value); }
50 template<typename ContinentCodeT = Aws::String>
51 GeoLocationDetails& WithContinentCode(ContinentCodeT&& value) { SetContinentCode(std::forward<ContinentCodeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetContinentName() const { return m_continentName; }
59 inline bool ContinentNameHasBeenSet() const { return m_continentNameHasBeenSet; }
60 template<typename ContinentNameT = Aws::String>
61 void SetContinentName(ContinentNameT&& value) { m_continentNameHasBeenSet = true; m_continentName = std::forward<ContinentNameT>(value); }
62 template<typename ContinentNameT = Aws::String>
63 GeoLocationDetails& WithContinentName(ContinentNameT&& value) { SetContinentName(std::forward<ContinentNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetCountryCode() const { return m_countryCode; }
71 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
72 template<typename CountryCodeT = Aws::String>
73 void SetCountryCode(CountryCodeT&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::forward<CountryCodeT>(value); }
74 template<typename CountryCodeT = Aws::String>
75 GeoLocationDetails& WithCountryCode(CountryCodeT&& value) { SetCountryCode(std::forward<CountryCodeT>(value)); return *this;}
77
79
82 inline const Aws::String& GetCountryName() const { return m_countryName; }
83 inline bool CountryNameHasBeenSet() const { return m_countryNameHasBeenSet; }
84 template<typename CountryNameT = Aws::String>
85 void SetCountryName(CountryNameT&& value) { m_countryNameHasBeenSet = true; m_countryName = std::forward<CountryNameT>(value); }
86 template<typename CountryNameT = Aws::String>
87 GeoLocationDetails& WithCountryName(CountryNameT&& value) { SetCountryName(std::forward<CountryNameT>(value)); return *this;}
89
91
100 inline const Aws::String& GetSubdivisionCode() const { return m_subdivisionCode; }
101 inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
102 template<typename SubdivisionCodeT = Aws::String>
103 void SetSubdivisionCode(SubdivisionCodeT&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::forward<SubdivisionCodeT>(value); }
104 template<typename SubdivisionCodeT = Aws::String>
105 GeoLocationDetails& WithSubdivisionCode(SubdivisionCodeT&& value) { SetSubdivisionCode(std::forward<SubdivisionCodeT>(value)); return *this;}
107
109
113 inline const Aws::String& GetSubdivisionName() const { return m_subdivisionName; }
114 inline bool SubdivisionNameHasBeenSet() const { return m_subdivisionNameHasBeenSet; }
115 template<typename SubdivisionNameT = Aws::String>
116 void SetSubdivisionName(SubdivisionNameT&& value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName = std::forward<SubdivisionNameT>(value); }
117 template<typename SubdivisionNameT = Aws::String>
118 GeoLocationDetails& WithSubdivisionName(SubdivisionNameT&& value) { SetSubdivisionName(std::forward<SubdivisionNameT>(value)); return *this;}
120 private:
121
122 Aws::String m_continentCode;
123 bool m_continentCodeHasBeenSet = false;
124
125 Aws::String m_continentName;
126 bool m_continentNameHasBeenSet = false;
127
128 Aws::String m_countryCode;
129 bool m_countryCodeHasBeenSet = false;
130
131 Aws::String m_countryName;
132 bool m_countryNameHasBeenSet = false;
133
134 Aws::String m_subdivisionCode;
135 bool m_subdivisionCodeHasBeenSet = false;
136
137 Aws::String m_subdivisionName;
138 bool m_subdivisionNameHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Route53
143} // namespace Aws
const Aws::String & GetCountryCode() const
GeoLocationDetails & WithContinentName(ContinentNameT &&value)
GeoLocationDetails & WithSubdivisionName(SubdivisionNameT &&value)
GeoLocationDetails & WithCountryName(CountryNameT &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetSubdivisionName() const
AWS_ROUTE53_API GeoLocationDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCountryName() const
void SetContinentCode(ContinentCodeT &&value)
void SetSubdivisionCode(SubdivisionCodeT &&value)
void SetContinentName(ContinentNameT &&value)
AWS_ROUTE53_API GeoLocationDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetContinentCode() const
void SetSubdivisionName(SubdivisionNameT &&value)
GeoLocationDetails & WithCountryCode(CountryCodeT &&value)
GeoLocationDetails & WithSubdivisionCode(SubdivisionCodeT &&value)
const Aws::String & GetSubdivisionCode() const
GeoLocationDetails & WithContinentCode(ContinentCodeT &&value)
AWS_ROUTE53_API GeoLocationDetails()=default
const Aws::String & GetContinentName() const
void SetCountryName(CountryNameT &&value)
void SetCountryCode(CountryCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String