AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContinentCode(const Aws::String& value) { m_continentCodeHasBeenSet = true; m_continentCode = value; }
49 inline void SetContinentCode(Aws::String&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::move(value); }
50 inline void SetContinentCode(const char* value) { m_continentCodeHasBeenSet = true; m_continentCode.assign(value); }
51 inline GeoLocationDetails& WithContinentCode(const Aws::String& value) { SetContinentCode(value); return *this;}
52 inline GeoLocationDetails& WithContinentCode(Aws::String&& value) { SetContinentCode(std::move(value)); return *this;}
53 inline GeoLocationDetails& WithContinentCode(const char* value) { SetContinentCode(value); return *this;}
55
57
60 inline const Aws::String& GetContinentName() const{ return m_continentName; }
61 inline bool ContinentNameHasBeenSet() const { return m_continentNameHasBeenSet; }
62 inline void SetContinentName(const Aws::String& value) { m_continentNameHasBeenSet = true; m_continentName = value; }
63 inline void SetContinentName(Aws::String&& value) { m_continentNameHasBeenSet = true; m_continentName = std::move(value); }
64 inline void SetContinentName(const char* value) { m_continentNameHasBeenSet = true; m_continentName.assign(value); }
65 inline GeoLocationDetails& WithContinentName(const Aws::String& value) { SetContinentName(value); return *this;}
66 inline GeoLocationDetails& WithContinentName(Aws::String&& value) { SetContinentName(std::move(value)); return *this;}
67 inline GeoLocationDetails& WithContinentName(const char* value) { SetContinentName(value); return *this;}
69
71
74 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
75 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
76 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
77 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
78 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
79 inline GeoLocationDetails& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
80 inline GeoLocationDetails& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
81 inline GeoLocationDetails& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
83
85
88 inline const Aws::String& GetCountryName() const{ return m_countryName; }
89 inline bool CountryNameHasBeenSet() const { return m_countryNameHasBeenSet; }
90 inline void SetCountryName(const Aws::String& value) { m_countryNameHasBeenSet = true; m_countryName = value; }
91 inline void SetCountryName(Aws::String&& value) { m_countryNameHasBeenSet = true; m_countryName = std::move(value); }
92 inline void SetCountryName(const char* value) { m_countryNameHasBeenSet = true; m_countryName.assign(value); }
93 inline GeoLocationDetails& WithCountryName(const Aws::String& value) { SetCountryName(value); return *this;}
94 inline GeoLocationDetails& WithCountryName(Aws::String&& value) { SetCountryName(std::move(value)); return *this;}
95 inline GeoLocationDetails& WithCountryName(const char* value) { SetCountryName(value); return *this;}
97
99
108 inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; }
109 inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
110 inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; }
111 inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); }
112 inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); }
113 inline GeoLocationDetails& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;}
114 inline GeoLocationDetails& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;}
115 inline GeoLocationDetails& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;}
117
119
123 inline const Aws::String& GetSubdivisionName() const{ return m_subdivisionName; }
124 inline bool SubdivisionNameHasBeenSet() const { return m_subdivisionNameHasBeenSet; }
125 inline void SetSubdivisionName(const Aws::String& value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName = value; }
126 inline void SetSubdivisionName(Aws::String&& value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName = std::move(value); }
127 inline void SetSubdivisionName(const char* value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName.assign(value); }
128 inline GeoLocationDetails& WithSubdivisionName(const Aws::String& value) { SetSubdivisionName(value); return *this;}
129 inline GeoLocationDetails& WithSubdivisionName(Aws::String&& value) { SetSubdivisionName(std::move(value)); return *this;}
130 inline GeoLocationDetails& WithSubdivisionName(const char* value) { SetSubdivisionName(value); return *this;}
132 private:
133
134 Aws::String m_continentCode;
135 bool m_continentCodeHasBeenSet = false;
136
137 Aws::String m_continentName;
138 bool m_continentNameHasBeenSet = false;
139
140 Aws::String m_countryCode;
141 bool m_countryCodeHasBeenSet = false;
142
143 Aws::String m_countryName;
144 bool m_countryNameHasBeenSet = false;
145
146 Aws::String m_subdivisionCode;
147 bool m_subdivisionCodeHasBeenSet = false;
148
149 Aws::String m_subdivisionName;
150 bool m_subdivisionNameHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Route53
155} // namespace Aws
GeoLocationDetails & WithCountryCode(const char *value)
GeoLocationDetails & WithSubdivisionCode(Aws::String &&value)
const Aws::String & GetCountryCode() const
GeoLocationDetails & WithSubdivisionCode(const Aws::String &value)
GeoLocationDetails & WithContinentCode(Aws::String &&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
GeoLocationDetails & WithSubdivisionCode(const char *value)
GeoLocationDetails & WithContinentCode(const Aws::String &value)
AWS_ROUTE53_API GeoLocationDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCountryCode(const Aws::String &value)
const Aws::String & GetContinentCode() const
GeoLocationDetails & WithCountryName(const char *value)
GeoLocationDetails & WithContinentCode(const char *value)
GeoLocationDetails & WithCountryName(Aws::String &&value)
GeoLocationDetails & WithContinentName(const char *value)
GeoLocationDetails & WithSubdivisionName(const Aws::String &value)
GeoLocationDetails & WithContinentName(const Aws::String &value)
void SetCountryName(const Aws::String &value)
void SetContinentName(const Aws::String &value)
void SetContinentCode(const Aws::String &value)
const Aws::String & GetSubdivisionCode() const
void SetSubdivisionName(const Aws::String &value)
GeoLocationDetails & WithSubdivisionName(const char *value)
GeoLocationDetails & WithContinentName(Aws::String &&value)
GeoLocationDetails & WithCountryCode(Aws::String &&value)
GeoLocationDetails & WithSubdivisionName(Aws::String &&value)
const Aws::String & GetContinentName() const
GeoLocationDetails & WithCountryName(const Aws::String &value)
GeoLocationDetails & WithCountryCode(const Aws::String &value)
void SetSubdivisionCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String