AWS SDK for C++  1.9.20
AWS SDK for C++
ListKeyGroups2020_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 "ListKeyGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
47  inline const Aws::String& GetMarker() const{ return m_marker; }
48 
55  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
56 
63  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
64 
71  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
72 
79  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
80 
87  inline ListKeyGroups2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
88 
95  inline ListKeyGroups2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
96 
103  inline ListKeyGroups2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
104 
105 
109  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
110 
114  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
115 
119  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
120 
124  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
125 
129  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
130 
134  inline ListKeyGroups2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
135 
139  inline ListKeyGroups2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
140 
144  inline ListKeyGroups2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
145 
146  private:
147 
148  Aws::String m_marker;
149  bool m_markerHasBeenSet;
150 
151  Aws::String m_maxItems;
152  bool m_maxItemsHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace CloudFront
157 } // namespace Aws
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::WithMarker
ListKeyGroups2020_05_31Request & WithMarker(Aws::String &&value)
Definition: ListKeyGroups2020_05_31Request.h:95
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SetMaxItems
void SetMaxItems(const Aws::String &value)
Definition: ListKeyGroups2020_05_31Request.h:119
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SetMaxItems
void SetMaxItems(Aws::String &&value)
Definition: ListKeyGroups2020_05_31Request.h:124
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::GetMaxItems
const Aws::String & GetMaxItems() const
Definition: ListKeyGroups2020_05_31Request.h:109
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
CloudFrontRequest.h
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::WithMarker
ListKeyGroups2020_05_31Request & WithMarker(const Aws::String &value)
Definition: ListKeyGroups2020_05_31Request.h:87
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::GetMarker
const Aws::String & GetMarker() const
Definition: ListKeyGroups2020_05_31Request.h:47
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::ListKeyGroups2020_05_31Request
ListKeyGroups2020_05_31Request()
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListKeyGroups2020_05_31Request.h:34
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::WithMaxItems
ListKeyGroups2020_05_31Request & WithMaxItems(const Aws::String &value)
Definition: ListKeyGroups2020_05_31Request.h:134
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::WithMarker
ListKeyGroups2020_05_31Request & WithMarker(const char *value)
Definition: ListKeyGroups2020_05_31Request.h:103
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::WithMaxItems
ListKeyGroups2020_05_31Request & WithMaxItems(Aws::String &&value)
Definition: ListKeyGroups2020_05_31Request.h:139
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListKeyGroups2020_05_31Request.h:63
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListKeyGroups2020_05_31Request.h:114
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::WithMaxItems
ListKeyGroups2020_05_31Request & WithMaxItems(const char *value)
Definition: ListKeyGroups2020_05_31Request.h:144
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SetMaxItems
void SetMaxItems(const char *value)
Definition: ListKeyGroups2020_05_31Request.h:129
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListKeyGroups2020_05_31Request.h:55
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request
Definition: ListKeyGroups2020_05_31Request.h:26
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SetMarker
void SetMarker(const char *value)
Definition: ListKeyGroups2020_05_31Request.h:79
Aws::CloudFront::Model::ListKeyGroups2020_05_31Request::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListKeyGroups2020_05_31Request.h:71