AWS SDK for C++  1.9.14
AWS SDK for C++
ListStreamingDistributions2020_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 "ListStreamingDistributions"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
49  inline const Aws::String& GetMarker() const{ return m_marker; }
50 
55  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
56 
61  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
62 
67  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
68 
73  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
74 
79  inline ListStreamingDistributions2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
80 
85  inline ListStreamingDistributions2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
86 
91  inline ListStreamingDistributions2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
92 
93 
98  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
99 
104  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
105 
110  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
111 
116  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
117 
122  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
123 
128  inline ListStreamingDistributions2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
129 
134  inline ListStreamingDistributions2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
135 
140  inline ListStreamingDistributions2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
141 
142  private:
143 
144  Aws::String m_marker;
145  bool m_markerHasBeenSet;
146 
147  Aws::String m_maxItems;
148  bool m_maxItemsHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace CloudFront
153 } // namespace Aws
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListStreamingDistributions2020_05_31Request.h:61
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::WithMaxItems
ListStreamingDistributions2020_05_31Request & WithMaxItems(const Aws::String &value)
Definition: ListStreamingDistributions2020_05_31Request.h:128
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SetMaxItems
void SetMaxItems(const Aws::String &value)
Definition: ListStreamingDistributions2020_05_31Request.h:110
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SetMaxItems
void SetMaxItems(const char *value)
Definition: ListStreamingDistributions2020_05_31Request.h:122
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::ListStreamingDistributions2020_05_31Request
ListStreamingDistributions2020_05_31Request()
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListStreamingDistributions2020_05_31Request.h:55
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request
Definition: ListStreamingDistributions2020_05_31Request.h:30
CloudFrontRequest.h
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStreamingDistributions2020_05_31Request.h:38
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::WithMaxItems
ListStreamingDistributions2020_05_31Request & WithMaxItems(Aws::String &&value)
Definition: ListStreamingDistributions2020_05_31Request.h:134
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::GetMaxItems
const Aws::String & GetMaxItems() const
Definition: ListStreamingDistributions2020_05_31Request.h:98
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::WithMarker
ListStreamingDistributions2020_05_31Request & WithMarker(Aws::String &&value)
Definition: ListStreamingDistributions2020_05_31Request.h:85
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListStreamingDistributions2020_05_31Request.h:67
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::GetMarker
const Aws::String & GetMarker() const
Definition: ListStreamingDistributions2020_05_31Request.h:49
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SetMarker
void SetMarker(const char *value)
Definition: ListStreamingDistributions2020_05_31Request.h:73
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
CloudFront_EXPORTS.h
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::ListStreamingDistributions2020_05_31Request::WithMaxItems
ListStreamingDistributions2020_05_31Request & WithMaxItems(const char *value)
Definition: ListStreamingDistributions2020_05_31Request.h:140
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::WithMarker
ListStreamingDistributions2020_05_31Request & WithMarker(const char *value)
Definition: ListStreamingDistributions2020_05_31Request.h:91
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListStreamingDistributions2020_05_31Request.h:104
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::WithMarker
ListStreamingDistributions2020_05_31Request & WithMarker(const Aws::String &value)
Definition: ListStreamingDistributions2020_05_31Request.h:79
Aws::CloudFront::Model::ListStreamingDistributions2020_05_31Request::SetMaxItems
void SetMaxItems(Aws::String &&value)
Definition: ListStreamingDistributions2020_05_31Request.h:116