AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGeoLocationRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Route53
19{
20namespace Model
21{
22
31 {
32 public:
33 AWS_ROUTE53_API GetGeoLocationRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "GetGeoLocation"; }
40
41 AWS_ROUTE53_API Aws::String SerializePayload() const override;
42
43 AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
55 inline const Aws::String& GetContinentCode() const{ return m_continentCode; }
56 inline bool ContinentCodeHasBeenSet() const { return m_continentCodeHasBeenSet; }
57 inline void SetContinentCode(const Aws::String& value) { m_continentCodeHasBeenSet = true; m_continentCode = value; }
58 inline void SetContinentCode(Aws::String&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::move(value); }
59 inline void SetContinentCode(const char* value) { m_continentCodeHasBeenSet = true; m_continentCode.assign(value); }
60 inline GetGeoLocationRequest& WithContinentCode(const Aws::String& value) { SetContinentCode(value); return *this;}
61 inline GetGeoLocationRequest& WithContinentCode(Aws::String&& value) { SetContinentCode(std::move(value)); return *this;}
62 inline GetGeoLocationRequest& WithContinentCode(const char* value) { SetContinentCode(value); return *this;}
64
66
72 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
73 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
74 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
75 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
76 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
77 inline GetGeoLocationRequest& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
78 inline GetGeoLocationRequest& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
79 inline GetGeoLocationRequest& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
81
83
92 inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; }
93 inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
94 inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; }
95 inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); }
96 inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); }
97 inline GetGeoLocationRequest& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;}
98 inline GetGeoLocationRequest& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;}
99 inline GetGeoLocationRequest& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;}
101 private:
102
103 Aws::String m_continentCode;
104 bool m_continentCodeHasBeenSet = false;
105
106 Aws::String m_countryCode;
107 bool m_countryCodeHasBeenSet = false;
108
109 Aws::String m_subdivisionCode;
110 bool m_subdivisionCodeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Route53
115} // namespace Aws
void SetCountryCode(const Aws::String &value)
GetGeoLocationRequest & WithCountryCode(const Aws::String &value)
void SetSubdivisionCode(const Aws::String &value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
GetGeoLocationRequest & WithCountryCode(Aws::String &&value)
GetGeoLocationRequest & WithSubdivisionCode(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetGeoLocationRequest & WithSubdivisionCode(const char *value)
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetGeoLocationRequest & WithCountryCode(const char *value)
void SetContinentCode(const Aws::String &value)
GetGeoLocationRequest & WithContinentCode(const char *value)
GetGeoLocationRequest & WithContinentCode(Aws::String &&value)
GetGeoLocationRequest & WithContinentCode(const Aws::String &value)
GetGeoLocationRequest & WithSubdivisionCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String