AWS SDK for C++  1.8.71
AWS SDK for C++
ListDomainsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53Domains
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListDomains"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
63  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
64 
75  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
76 
87  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
88 
99  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
100 
111  inline ListDomainsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
112 
123  inline ListDomainsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
124 
135  inline ListDomainsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
136 
137 
141  inline int GetMaxItems() const{ return m_maxItems; }
142 
146  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
147 
151  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
152 
156  inline ListDomainsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
157 
158  private:
159 
160  Aws::String m_marker;
161  bool m_markerHasBeenSet;
162 
163  int m_maxItems;
164  bool m_maxItemsHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace Route53Domains
169 } // namespace Aws
ListDomainsRequest & WithMarker(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
#define AWS_ROUTE53DOMAINS_API
ListDomainsRequest & WithMarker(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListDomainsRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListDomainsRequest & WithMaxItems(int value)