AWS SDK for C++  1.9.21
AWS SDK for C++
ListDistributionsByWebACLId2020_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 
30  {
31  public:
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 "ListDistributionsByWebACLId"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
53  inline const Aws::String& GetMarker() const{ return m_marker; }
54 
63  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
64 
73  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
74 
83  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
84 
93  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
94 
103  inline ListDistributionsByWebACLId2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
104 
113  inline ListDistributionsByWebACLId2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
114 
123  inline ListDistributionsByWebACLId2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
124 
125 
130  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
131 
136  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
137 
142  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
143 
148  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
149 
154  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
155 
160  inline ListDistributionsByWebACLId2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
161 
166  inline ListDistributionsByWebACLId2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
167 
172  inline ListDistributionsByWebACLId2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
173 
174 
180  inline const Aws::String& GetWebACLId() const{ return m_webACLId; }
181 
187  inline bool WebACLIdHasBeenSet() const { return m_webACLIdHasBeenSet; }
188 
194  inline void SetWebACLId(const Aws::String& value) { m_webACLIdHasBeenSet = true; m_webACLId = value; }
195 
201  inline void SetWebACLId(Aws::String&& value) { m_webACLIdHasBeenSet = true; m_webACLId = std::move(value); }
202 
208  inline void SetWebACLId(const char* value) { m_webACLIdHasBeenSet = true; m_webACLId.assign(value); }
209 
215  inline ListDistributionsByWebACLId2020_05_31Request& WithWebACLId(const Aws::String& value) { SetWebACLId(value); return *this;}
216 
222  inline ListDistributionsByWebACLId2020_05_31Request& WithWebACLId(Aws::String&& value) { SetWebACLId(std::move(value)); return *this;}
223 
229  inline ListDistributionsByWebACLId2020_05_31Request& WithWebACLId(const char* value) { SetWebACLId(value); return *this;}
230 
231  private:
232 
233  Aws::String m_marker;
234  bool m_markerHasBeenSet;
235 
236  Aws::String m_maxItems;
237  bool m_maxItemsHasBeenSet;
238 
239  Aws::String m_webACLId;
240  bool m_webACLIdHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace CloudFront
245 } // namespace Aws
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetWebACLId
void SetWebACLId(const Aws::String &value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:194
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetMaxItems
void SetMaxItems(const Aws::String &value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:142
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::ListDistributionsByWebACLId2020_05_31Request
ListDistributionsByWebACLId2020_05_31Request()
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithMaxItems
ListDistributionsByWebACLId2020_05_31Request & WithMaxItems(const Aws::String &value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:160
CloudFrontRequest.h
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::GetWebACLId
const Aws::String & GetWebACLId() const
Definition: ListDistributionsByWebACLId2020_05_31Request.h:180
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithWebACLId
ListDistributionsByWebACLId2020_05_31Request & WithWebACLId(Aws::String &&value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:222
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithMarker
ListDistributionsByWebACLId2020_05_31Request & WithMarker(Aws::String &&value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:113
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithWebACLId
ListDistributionsByWebACLId2020_05_31Request & WithWebACLId(const Aws::String &value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:215
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::GetMarker
const Aws::String & GetMarker() const
Definition: ListDistributionsByWebACLId2020_05_31Request.h:53
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithMarker
ListDistributionsByWebACLId2020_05_31Request & WithMarker(const Aws::String &value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:103
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetMarker
void SetMarker(const char *value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:93
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDistributionsByWebACLId2020_05_31Request.h:38
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::GetMaxItems
const Aws::String & GetMaxItems() const
Definition: ListDistributionsByWebACLId2020_05_31Request.h:130
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:83
AWSString.h
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WebACLIdHasBeenSet
bool WebACLIdHasBeenSet() const
Definition: ListDistributionsByWebACLId2020_05_31Request.h:187
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetMaxItems
void SetMaxItems(Aws::String &&value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:148
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithMarker
ListDistributionsByWebACLId2020_05_31Request & WithMarker(const char *value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:123
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithMaxItems
ListDistributionsByWebACLId2020_05_31Request & WithMaxItems(Aws::String &&value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:166
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:73
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListDistributionsByWebACLId2020_05_31Request.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithWebACLId
ListDistributionsByWebACLId2020_05_31Request & WithWebACLId(const char *value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:229
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListDistributionsByWebACLId2020_05_31Request.h:136
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request
Definition: ListDistributionsByWebACLId2020_05_31Request.h:30
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetMaxItems
void SetMaxItems(const char *value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:154
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetWebACLId
void SetWebACLId(Aws::String &&value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:201
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::WithMaxItems
ListDistributionsByWebACLId2020_05_31Request & WithMaxItems(const char *value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:172
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Request::SetWebACLId
void SetWebACLId(const char *value)
Definition: ListDistributionsByWebACLId2020_05_31Request.h:208