AWS SDK for C++  1.8.71
AWS SDK for C++
ListPublicKeys2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CloudFront
19 {
20 namespace Model
21 {
22 
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 "ListPublicKeys"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
48  inline const Aws::String& GetMarker() const{ return m_marker; }
49 
57  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
58 
66  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
67 
75  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
76 
84  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
85 
93  inline ListPublicKeys2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
94 
102  inline ListPublicKeys2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
103 
111  inline ListPublicKeys2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
117  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
118 
122  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
123 
127  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
128 
132  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
133 
137  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
138 
142  inline ListPublicKeys2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
143 
147  inline ListPublicKeys2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
148 
152  inline ListPublicKeys2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
153 
154  private:
155 
156  Aws::String m_marker;
157  bool m_markerHasBeenSet;
158 
159  Aws::String m_maxItems;
160  bool m_maxItemsHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace CloudFront
165 } // namespace Aws
ListPublicKeys2020_05_31Request & WithMarker(const char *value)
ListPublicKeys2020_05_31Request & WithMaxItems(const char *value)
ListPublicKeys2020_05_31Request & WithMaxItems(const Aws::String &value)
ListPublicKeys2020_05_31Request & WithMaxItems(Aws::String &&value)
ListPublicKeys2020_05_31Request & WithMarker(Aws::String &&value)
ListPublicKeys2020_05_31Request & WithMarker(const Aws::String &value)
#define AWS_CLOUDFRONT_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97