AWS SDK for C++  1.9.18
AWS SDK for C++
ListCloudFrontOriginAccessIdentities2020_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 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListCloudFrontOriginAccessIdentities"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
60  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
61 
69  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
70 
78  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
79 
87  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
88 
96  inline ListCloudFrontOriginAccessIdentities2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
97 
105  inline ListCloudFrontOriginAccessIdentities2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
106 
114  inline ListCloudFrontOriginAccessIdentities2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
115 
116 
121  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
122 
127  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
128 
133  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
134 
139  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
140 
145  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
146 
151  inline ListCloudFrontOriginAccessIdentities2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
152 
157  inline ListCloudFrontOriginAccessIdentities2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
158 
163  inline ListCloudFrontOriginAccessIdentities2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
164 
165  private:
166 
167  Aws::String m_marker;
168  bool m_markerHasBeenSet;
169 
170  Aws::String m_maxItems;
171  bool m_maxItemsHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace CloudFront
176 } // namespace Aws
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SetMaxItems
void SetMaxItems(Aws::String &&value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:139
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::WithMarker
ListCloudFrontOriginAccessIdentities2020_05_31Request & WithMarker(const Aws::String &value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:96
CloudFrontRequest.h
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:127
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::WithMarker
ListCloudFrontOriginAccessIdentities2020_05_31Request & WithMarker(const char *value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:114
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:69
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SetMaxItems
void SetMaxItems(const Aws::String &value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:133
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::WithMaxItems
ListCloudFrontOriginAccessIdentities2020_05_31Request & WithMaxItems(const Aws::String &value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:151
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SetMaxItems
void SetMaxItems(const char *value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:145
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::ListCloudFrontOriginAccessIdentities2020_05_31Request
ListCloudFrontOriginAccessIdentities2020_05_31Request()
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::WithMaxItems
ListCloudFrontOriginAccessIdentities2020_05_31Request & WithMaxItems(Aws::String &&value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:157
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:37
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::ListCloudFrontOriginAccessIdentities2020_05_31Request::GetMarker
const Aws::String & GetMarker() const
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:51
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:29
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::WithMaxItems
ListCloudFrontOriginAccessIdentities2020_05_31Request & WithMaxItems(const char *value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:163
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:60
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SetMarker
void SetMarker(const char *value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:87
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::WithMarker
ListCloudFrontOriginAccessIdentities2020_05_31Request & WithMarker(Aws::String &&value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:105
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:78
Aws::CloudFront::Model::ListCloudFrontOriginAccessIdentities2020_05_31Request::GetMaxItems
const Aws::String & GetMaxItems() const
Definition: ListCloudFrontOriginAccessIdentities2020_05_31Request.h:121