AWS SDK for C++  1.9.16
AWS SDK for C++
ListInvalidations2020_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 "ListInvalidations"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline const Aws::String& GetDistributionId() const{ return m_distributionId; }
48 
52  inline bool DistributionIdHasBeenSet() const { return m_distributionIdHasBeenSet; }
53 
57  inline void SetDistributionId(const Aws::String& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; }
58 
62  inline void SetDistributionId(Aws::String&& value) { m_distributionIdHasBeenSet = true; m_distributionId = std::move(value); }
63 
67  inline void SetDistributionId(const char* value) { m_distributionIdHasBeenSet = true; m_distributionId.assign(value); }
68 
72  inline ListInvalidations2020_05_31Request& WithDistributionId(const Aws::String& value) { SetDistributionId(value); return *this;}
73 
77  inline ListInvalidations2020_05_31Request& WithDistributionId(Aws::String&& value) { SetDistributionId(std::move(value)); return *this;}
78 
82  inline ListInvalidations2020_05_31Request& WithDistributionId(const char* value) { SetDistributionId(value); return *this;}
83 
84 
94  inline const Aws::String& GetMarker() const{ return m_marker; }
95 
105  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
106 
116  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
117 
127  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
128 
138  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
139 
149  inline ListInvalidations2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
150 
160  inline ListInvalidations2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
161 
171  inline ListInvalidations2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
172 
173 
178  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
179 
184  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
185 
190  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
191 
196  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
197 
202  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
203 
208  inline ListInvalidations2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
209 
214  inline ListInvalidations2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
215 
220  inline ListInvalidations2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
221 
222  private:
223 
224  Aws::String m_distributionId;
225  bool m_distributionIdHasBeenSet;
226 
227  Aws::String m_marker;
228  bool m_markerHasBeenSet;
229 
230  Aws::String m_maxItems;
231  bool m_maxItemsHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace CloudFront
236 } // namespace Aws
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithDistributionId
ListInvalidations2020_05_31Request & WithDistributionId(const Aws::String &value)
Definition: ListInvalidations2020_05_31Request.h:72
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListInvalidations2020_05_31Request.h:37
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListInvalidations2020_05_31Request.h:127
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithDistributionId
ListInvalidations2020_05_31Request & WithDistributionId(Aws::String &&value)
Definition: ListInvalidations2020_05_31Request.h:77
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithMarker
ListInvalidations2020_05_31Request & WithMarker(Aws::String &&value)
Definition: ListInvalidations2020_05_31Request.h:160
CloudFrontRequest.h
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithMarker
ListInvalidations2020_05_31Request & WithMarker(const char *value)
Definition: ListInvalidations2020_05_31Request.h:171
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListInvalidations2020_05_31Request.h:184
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithMaxItems
ListInvalidations2020_05_31Request & WithMaxItems(const char *value)
Definition: ListInvalidations2020_05_31Request.h:220
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListInvalidations2020_05_31Request.h:116
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::DistributionIdHasBeenSet
bool DistributionIdHasBeenSet() const
Definition: ListInvalidations2020_05_31Request.h:52
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::GetDistributionId
const Aws::String & GetDistributionId() const
Definition: ListInvalidations2020_05_31Request.h:47
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::GetMarker
const Aws::String & GetMarker() const
Definition: ListInvalidations2020_05_31Request.h:94
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetMaxItems
void SetMaxItems(Aws::String &&value)
Definition: ListInvalidations2020_05_31Request.h:196
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::ListInvalidations2020_05_31Request
ListInvalidations2020_05_31Request()
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetMaxItems
void SetMaxItems(const char *value)
Definition: ListInvalidations2020_05_31Request.h:202
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetMarker
void SetMarker(const char *value)
Definition: ListInvalidations2020_05_31Request.h:138
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetDistributionId
void SetDistributionId(Aws::String &&value)
Definition: ListInvalidations2020_05_31Request.h:62
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithMarker
ListInvalidations2020_05_31Request & WithMarker(const Aws::String &value)
Definition: ListInvalidations2020_05_31Request.h:149
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::GetMaxItems
const Aws::String & GetMaxItems() const
Definition: ListInvalidations2020_05_31Request.h:178
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListInvalidations2020_05_31Request
Definition: ListInvalidations2020_05_31Request.h:29
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithMaxItems
ListInvalidations2020_05_31Request & WithMaxItems(Aws::String &&value)
Definition: ListInvalidations2020_05_31Request.h:214
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetDistributionId
void SetDistributionId(const char *value)
Definition: ListInvalidations2020_05_31Request.h:67
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListInvalidations2020_05_31Request.h:105
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithMaxItems
ListInvalidations2020_05_31Request & WithMaxItems(const Aws::String &value)
Definition: ListInvalidations2020_05_31Request.h:208
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetMaxItems
void SetMaxItems(const Aws::String &value)
Definition: ListInvalidations2020_05_31Request.h:190
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SetDistributionId
void SetDistributionId(const Aws::String &value)
Definition: ListInvalidations2020_05_31Request.h:57
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::ListInvalidations2020_05_31Request::WithDistributionId
ListInvalidations2020_05_31Request & WithDistributionId(const char *value)
Definition: ListInvalidations2020_05_31Request.h:82