AWS SDK for C++  1.9.103
AWS SDK for C++
ListOriginRequestPolicies2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace CloudFront
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListOriginRequestPolicies"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
48  inline const OriginRequestPolicyType& GetType() const{ return m_type; }
49 
56  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 
64  inline void SetType(const OriginRequestPolicyType& value) { m_typeHasBeenSet = true; m_type = value; }
65 
72  inline void SetType(OriginRequestPolicyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
73 
80  inline ListOriginRequestPolicies2020_05_31Request& WithType(const OriginRequestPolicyType& value) { SetType(value); return *this;}
81 
88  inline ListOriginRequestPolicies2020_05_31Request& WithType(OriginRequestPolicyType&& value) { SetType(std::move(value)); return *this;}
89 
90 
98  inline const Aws::String& GetMarker() const{ return m_marker; }
99 
107  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
108 
116  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
117 
125  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
126 
134  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
135 
143  inline ListOriginRequestPolicies2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
144 
152  inline ListOriginRequestPolicies2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
153 
161  inline ListOriginRequestPolicies2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
162 
163 
168  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
169 
174  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
175 
180  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
181 
186  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
187 
192  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
193 
198  inline ListOriginRequestPolicies2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
199 
204  inline ListOriginRequestPolicies2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
205 
210  inline ListOriginRequestPolicies2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
211 
212  private:
213 
215  bool m_typeHasBeenSet;
216 
217  Aws::String m_marker;
218  bool m_markerHasBeenSet;
219 
220  Aws::String m_maxItems;
221  bool m_maxItemsHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace CloudFront
226 } // namespace Aws
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::GetType
const OriginRequestPolicyType & GetType() const
Definition: ListOriginRequestPolicies2020_05_31Request.h:48
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetType
void SetType(const OriginRequestPolicyType &value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:64
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithMarker
ListOriginRequestPolicies2020_05_31Request & WithMarker(Aws::String &&value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:152
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithMaxItems
ListOriginRequestPolicies2020_05_31Request & WithMaxItems(const char *value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:210
CloudFrontRequest.h
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithMarker
ListOriginRequestPolicies2020_05_31Request & WithMarker(const char *value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:161
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:125
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetMaxItems
void SetMaxItems(const char *value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:192
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithMarker
ListOriginRequestPolicies2020_05_31Request & WithMarker(const Aws::String &value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:143
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithMaxItems
ListOriginRequestPolicies2020_05_31Request & WithMaxItems(Aws::String &&value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:204
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithMaxItems
ListOriginRequestPolicies2020_05_31Request & WithMaxItems(const Aws::String &value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:198
Aws::CloudFront::Model::OriginRequestPolicyType
OriginRequestPolicyType
Definition: OriginRequestPolicyType.h:17
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::GetMaxItems
const Aws::String & GetMaxItems() const
Definition: ListOriginRequestPolicies2020_05_31Request.h:168
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetType
void SetType(OriginRequestPolicyType &&value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:72
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
OriginRequestPolicyType.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::ListOriginRequestPolicies2020_05_31Request
ListOriginRequestPolicies2020_05_31Request()
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request
Definition: ListOriginRequestPolicies2020_05_31Request.h:27
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListOriginRequestPolicies2020_05_31Request.h:107
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetMarker
void SetMarker(const char *value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:134
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithType
ListOriginRequestPolicies2020_05_31Request & WithType(const OriginRequestPolicyType &value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:80
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:116
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetMaxItems
void SetMaxItems(Aws::String &&value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:186
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ListOriginRequestPolicies2020_05_31Request.h:56
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::WithType
ListOriginRequestPolicies2020_05_31Request & WithType(OriginRequestPolicyType &&value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:88
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListOriginRequestPolicies2020_05_31Request.h:174
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListOriginRequestPolicies2020_05_31Request.h:35
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::GetMarker
const Aws::String & GetMarker() const
Definition: ListOriginRequestPolicies2020_05_31Request.h:98
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Request::SetMaxItems
void SetMaxItems(const Aws::String &value)
Definition: ListOriginRequestPolicies2020_05_31Request.h:180