AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListGeoLocationsRequest.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
30 {
31 public:
32 AWS_ROUTE53_API ListGeoLocationsRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListGeoLocations"; }
39
40 AWS_ROUTE53_API Aws::String SerializePayload() const override;
41
42 AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
56 inline const Aws::String& GetStartContinentCode() const { return m_startContinentCode; }
57 inline bool StartContinentCodeHasBeenSet() const { return m_startContinentCodeHasBeenSet; }
58 template<typename StartContinentCodeT = Aws::String>
59 void SetStartContinentCode(StartContinentCodeT&& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = std::forward<StartContinentCodeT>(value); }
60 template<typename StartContinentCodeT = Aws::String>
61 ListGeoLocationsRequest& WithStartContinentCode(StartContinentCodeT&& value) { SetStartContinentCode(std::forward<StartContinentCodeT>(value)); return *this;}
63
65
73 inline const Aws::String& GetStartCountryCode() const { return m_startCountryCode; }
74 inline bool StartCountryCodeHasBeenSet() const { return m_startCountryCodeHasBeenSet; }
75 template<typename StartCountryCodeT = Aws::String>
76 void SetStartCountryCode(StartCountryCodeT&& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = std::forward<StartCountryCodeT>(value); }
77 template<typename StartCountryCodeT = Aws::String>
78 ListGeoLocationsRequest& WithStartCountryCode(StartCountryCodeT&& value) { SetStartCountryCode(std::forward<StartCountryCodeT>(value)); return *this;}
80
82
92 inline const Aws::String& GetStartSubdivisionCode() const { return m_startSubdivisionCode; }
93 inline bool StartSubdivisionCodeHasBeenSet() const { return m_startSubdivisionCodeHasBeenSet; }
94 template<typename StartSubdivisionCodeT = Aws::String>
95 void SetStartSubdivisionCode(StartSubdivisionCodeT&& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = std::forward<StartSubdivisionCodeT>(value); }
96 template<typename StartSubdivisionCodeT = Aws::String>
97 ListGeoLocationsRequest& WithStartSubdivisionCode(StartSubdivisionCodeT&& value) { SetStartSubdivisionCode(std::forward<StartSubdivisionCodeT>(value)); return *this;}
99
101
107 inline const Aws::String& GetMaxItems() const { return m_maxItems; }
108 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
109 template<typename MaxItemsT = Aws::String>
110 void SetMaxItems(MaxItemsT&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::forward<MaxItemsT>(value); }
111 template<typename MaxItemsT = Aws::String>
112 ListGeoLocationsRequest& WithMaxItems(MaxItemsT&& value) { SetMaxItems(std::forward<MaxItemsT>(value)); return *this;}
114 private:
115
116 Aws::String m_startContinentCode;
117 bool m_startContinentCodeHasBeenSet = false;
118
119 Aws::String m_startCountryCode;
120 bool m_startCountryCodeHasBeenSet = false;
121
122 Aws::String m_startSubdivisionCode;
123 bool m_startSubdivisionCodeHasBeenSet = false;
124
125 Aws::String m_maxItems;
126 bool m_maxItemsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Route53
131} // namespace Aws
void SetStartContinentCode(StartContinentCodeT &&value)
void SetStartSubdivisionCode(StartSubdivisionCodeT &&value)
void SetStartCountryCode(StartCountryCodeT &&value)
virtual const char * GetServiceRequestName() const override
ListGeoLocationsRequest & WithMaxItems(MaxItemsT &&value)
ListGeoLocationsRequest & WithStartSubdivisionCode(StartSubdivisionCodeT &&value)
ListGeoLocationsRequest & WithStartCountryCode(StartCountryCodeT &&value)
AWS_ROUTE53_API ListGeoLocationsRequest()=default
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGeoLocationsRequest & WithStartContinentCode(StartContinentCodeT &&value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String