AWS SDK for C++  0.14.3
AWS SDK for C++
ListInvalidations2016_01_28Request.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Http
23 {
24  class URI;
25 } //namespace Http
26 namespace CloudFront
27 {
28 namespace Model
29 {
30 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
45  inline const Aws::String& GetDistributionId() const{ return m_distributionId; }
46 
50  inline void SetDistributionId(const Aws::String& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; }
51 
55  inline void SetDistributionId(Aws::String&& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; }
56 
60  inline void SetDistributionId(const char* value) { m_distributionIdHasBeenSet = true; m_distributionId.assign(value); }
61 
65  inline ListInvalidations2016_01_28Request& WithDistributionId(const Aws::String& value) { SetDistributionId(value); return *this;}
66 
70  inline ListInvalidations2016_01_28Request& WithDistributionId(Aws::String&& value) { SetDistributionId(value); return *this;}
71 
75  inline ListInvalidations2016_01_28Request& WithDistributionId(const char* value) { SetDistributionId(value); return *this;}
76 
86  inline const Aws::String& GetMarker() const{ return m_marker; }
87 
97  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
98 
108  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
109 
119  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
120 
130  inline ListInvalidations2016_01_28Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
131 
141  inline ListInvalidations2016_01_28Request& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
142 
152  inline ListInvalidations2016_01_28Request& WithMarker(const char* value) { SetMarker(value); return *this;}
153 
157  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
158 
162  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
163 
167  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
168 
172  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
173 
177  inline ListInvalidations2016_01_28Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
178 
182  inline ListInvalidations2016_01_28Request& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
183 
187  inline ListInvalidations2016_01_28Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
188 
189  private:
190  Aws::String m_distributionId;
191  bool m_distributionIdHasBeenSet;
192  Aws::String m_marker;
193  bool m_markerHasBeenSet;
194  Aws::String m_maxItems;
195  bool m_maxItemsHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace CloudFront
200 } // namespace Aws
ListInvalidations2016_01_28Request & WithMarker(Aws::String &&value)
ListInvalidations2016_01_28Request & WithDistributionId(const char *value)
ListInvalidations2016_01_28Request & WithDistributionId(Aws::String &&value)
ListInvalidations2016_01_28Request & WithMaxItems(const Aws::String &value)
ListInvalidations2016_01_28Request & WithMarker(const char *value)
ListInvalidations2016_01_28Request & WithMaxItems(Aws::String &&value)
#define AWS_CLOUDFRONT_API
ListInvalidations2016_01_28Request & WithDistributionId(const Aws::String &value)
ListInvalidations2016_01_28Request & WithMaxItems(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListInvalidations2016_01_28Request & WithMarker(const Aws::String &value)
JSON (JavaScript Object Notation).