AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStartContinentCode(const Aws::String& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = value; }
59 inline void SetStartContinentCode(Aws::String&& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = std::move(value); }
60 inline void SetStartContinentCode(const char* value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode.assign(value); }
62 inline ListGeoLocationsRequest& WithStartContinentCode(Aws::String&& value) { SetStartContinentCode(std::move(value)); return *this;}
63 inline ListGeoLocationsRequest& WithStartContinentCode(const char* value) { SetStartContinentCode(value); return *this;}
65
67
75 inline const Aws::String& GetStartCountryCode() const{ return m_startCountryCode; }
76 inline bool StartCountryCodeHasBeenSet() const { return m_startCountryCodeHasBeenSet; }
77 inline void SetStartCountryCode(const Aws::String& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = value; }
78 inline void SetStartCountryCode(Aws::String&& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = std::move(value); }
79 inline void SetStartCountryCode(const char* value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode.assign(value); }
80 inline ListGeoLocationsRequest& WithStartCountryCode(const Aws::String& value) { SetStartCountryCode(value); return *this;}
81 inline ListGeoLocationsRequest& WithStartCountryCode(Aws::String&& value) { SetStartCountryCode(std::move(value)); return *this;}
82 inline ListGeoLocationsRequest& WithStartCountryCode(const char* value) { SetStartCountryCode(value); return *this;}
84
86
96 inline const Aws::String& GetStartSubdivisionCode() const{ return m_startSubdivisionCode; }
97 inline bool StartSubdivisionCodeHasBeenSet() const { return m_startSubdivisionCodeHasBeenSet; }
98 inline void SetStartSubdivisionCode(const Aws::String& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = value; }
99 inline void SetStartSubdivisionCode(Aws::String&& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = std::move(value); }
100 inline void SetStartSubdivisionCode(const char* value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode.assign(value); }
102 inline ListGeoLocationsRequest& WithStartSubdivisionCode(Aws::String&& value) { SetStartSubdivisionCode(std::move(value)); return *this;}
103 inline ListGeoLocationsRequest& WithStartSubdivisionCode(const char* value) { SetStartSubdivisionCode(value); return *this;}
105
107
113 inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
114 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
115 inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
116 inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
117 inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
118 inline ListGeoLocationsRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
119 inline ListGeoLocationsRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
120 inline ListGeoLocationsRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
122 private:
123
124 Aws::String m_startContinentCode;
125 bool m_startContinentCodeHasBeenSet = false;
126
127 Aws::String m_startCountryCode;
128 bool m_startCountryCodeHasBeenSet = false;
129
130 Aws::String m_startSubdivisionCode;
131 bool m_startSubdivisionCodeHasBeenSet = false;
132
133 Aws::String m_maxItems;
134 bool m_maxItemsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Route53
139} // namespace Aws
ListGeoLocationsRequest & WithStartSubdivisionCode(Aws::String &&value)
ListGeoLocationsRequest & WithStartContinentCode(Aws::String &&value)
ListGeoLocationsRequest & WithStartCountryCode(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListGeoLocationsRequest & WithMaxItems(Aws::String &&value)
ListGeoLocationsRequest & WithStartContinentCode(const char *value)
ListGeoLocationsRequest & WithStartContinentCode(const Aws::String &value)
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGeoLocationsRequest & WithMaxItems(const char *value)
void SetStartSubdivisionCode(const Aws::String &value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
ListGeoLocationsRequest & WithStartCountryCode(const Aws::String &value)
ListGeoLocationsRequest & WithStartSubdivisionCode(const Aws::String &value)
ListGeoLocationsRequest & WithStartSubdivisionCode(const char *value)
ListGeoLocationsRequest & WithMaxItems(const Aws::String &value)
ListGeoLocationsRequest & WithStartCountryCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String