AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ContinentCodeT = Aws::String>
58 void SetContinentCode(ContinentCodeT&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::forward<ContinentCodeT>(value); }
59 template<typename ContinentCodeT = Aws::String>
60 GetGeoLocationRequest& WithContinentCode(ContinentCodeT&& value) { SetContinentCode(std::forward<ContinentCodeT>(value)); return *this;}
62
64
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 GetGeoLocationRequest& WithCountryCode(CountryCodeT&& value) { SetCountryCode(std::forward<CountryCodeT>(value)); return *this;}
77
79
88 inline const Aws::String& GetSubdivisionCode() const { return m_subdivisionCode; }
89 inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
90 template<typename SubdivisionCodeT = Aws::String>
91 void SetSubdivisionCode(SubdivisionCodeT&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::forward<SubdivisionCodeT>(value); }
92 template<typename SubdivisionCodeT = Aws::String>
93 GetGeoLocationRequest& WithSubdivisionCode(SubdivisionCodeT&& value) { SetSubdivisionCode(std::forward<SubdivisionCodeT>(value)); return *this;}
95 private:
96
97 Aws::String m_continentCode;
98 bool m_continentCodeHasBeenSet = false;
99
100 Aws::String m_countryCode;
101 bool m_countryCodeHasBeenSet = false;
102
103 Aws::String m_subdivisionCode;
104 bool m_subdivisionCodeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Route53
109} // namespace Aws
GetGeoLocationRequest & WithContinentCode(ContinentCodeT &&value)
void SetSubdivisionCode(SubdivisionCodeT &&value)
AWS_ROUTE53_API GetGeoLocationRequest()=default
AWS_ROUTE53_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetGeoLocationRequest & WithCountryCode(CountryCodeT &&value)
GetGeoLocationRequest & WithSubdivisionCode(SubdivisionCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String