AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeoLocation.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 GeoLocation();
35 AWS_ROUTE53_API GeoLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ROUTE53_API GeoLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
52 inline const Aws::String& GetContinentCode() const{ return m_continentCode; }
53 inline bool ContinentCodeHasBeenSet() const { return m_continentCodeHasBeenSet; }
54 inline void SetContinentCode(const Aws::String& value) { m_continentCodeHasBeenSet = true; m_continentCode = value; }
55 inline void SetContinentCode(Aws::String&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::move(value); }
56 inline void SetContinentCode(const char* value) { m_continentCodeHasBeenSet = true; m_continentCode.assign(value); }
57 inline GeoLocation& WithContinentCode(const Aws::String& value) { SetContinentCode(value); return *this;}
58 inline GeoLocation& WithContinentCode(Aws::String&& value) { SetContinentCode(std::move(value)); return *this;}
59 inline GeoLocation& WithContinentCode(const char* value) { SetContinentCode(value); return *this;}
61
63
70 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
71 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
72 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
73 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
74 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
75 inline GeoLocation& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
76 inline GeoLocation& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
77 inline GeoLocation& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
79
81
90 inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; }
91 inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
92 inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; }
93 inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); }
94 inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); }
95 inline GeoLocation& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;}
96 inline GeoLocation& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;}
97 inline GeoLocation& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;}
99 private:
100
101 Aws::String m_continentCode;
102 bool m_continentCodeHasBeenSet = false;
103
104 Aws::String m_countryCode;
105 bool m_countryCodeHasBeenSet = false;
106
107 Aws::String m_subdivisionCode;
108 bool m_subdivisionCodeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Route53
113} // namespace Aws
GeoLocation & WithSubdivisionCode(const char *value)
Definition GeoLocation.h:97
AWS_ROUTE53_API GeoLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubdivisionCode(const Aws::String &value)
Definition GeoLocation.h:92
GeoLocation & WithSubdivisionCode(const Aws::String &value)
Definition GeoLocation.h:95
void SetCountryCode(Aws::String &&value)
Definition GeoLocation.h:73
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
GeoLocation & WithCountryCode(Aws::String &&value)
Definition GeoLocation.h:76
void SetContinentCode(const Aws::String &value)
Definition GeoLocation.h:54
void SetContinentCode(const char *value)
Definition GeoLocation.h:56
const Aws::String & GetContinentCode() const
Definition GeoLocation.h:52
void SetContinentCode(Aws::String &&value)
Definition GeoLocation.h:55
GeoLocation & WithContinentCode(const char *value)
Definition GeoLocation.h:59
AWS_ROUTE53_API GeoLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
GeoLocation & WithSubdivisionCode(Aws::String &&value)
Definition GeoLocation.h:96
GeoLocation & WithContinentCode(const Aws::String &value)
Definition GeoLocation.h:57
const Aws::String & GetSubdivisionCode() const
Definition GeoLocation.h:90
void SetSubdivisionCode(Aws::String &&value)
Definition GeoLocation.h:93
void SetCountryCode(const Aws::String &value)
Definition GeoLocation.h:72
GeoLocation & WithCountryCode(const char *value)
Definition GeoLocation.h:77
void SetCountryCode(const char *value)
Definition GeoLocation.h:74
GeoLocation & WithContinentCode(Aws::String &&value)
Definition GeoLocation.h:58
const Aws::String & GetCountryCode() const
Definition GeoLocation.h:70
void SetSubdivisionCode(const char *value)
Definition GeoLocation.h:94
GeoLocation & WithCountryCode(const Aws::String &value)
Definition GeoLocation.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String