AWS SDK for C++  1.8.71
AWS SDK for C++
ListFieldLevelEncryptionConfigs2020_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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListFieldLevelEncryptionConfigs"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
48  inline const Aws::String& GetMarker() const{ return m_marker; }
49 
57  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
58 
66  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
67 
75  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
76 
84  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
85 
93  inline ListFieldLevelEncryptionConfigs2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
94 
102  inline ListFieldLevelEncryptionConfigs2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
103 
111  inline ListFieldLevelEncryptionConfigs2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
118  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
119 
124  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
125 
130  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
131 
136  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
137 
142  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
143 
148  inline ListFieldLevelEncryptionConfigs2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
149 
154  inline ListFieldLevelEncryptionConfigs2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
155 
160  inline ListFieldLevelEncryptionConfigs2020_05_31Request& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
161 
162  private:
163 
164  Aws::String m_marker;
165  bool m_markerHasBeenSet;
166 
167  Aws::String m_maxItems;
168  bool m_maxItemsHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace CloudFront
173 } // namespace Aws
ListFieldLevelEncryptionConfigs2020_05_31Request & WithMaxItems(const Aws::String &value)
ListFieldLevelEncryptionConfigs2020_05_31Request & WithMarker(const Aws::String &value)
#define AWS_CLOUDFRONT_API
ListFieldLevelEncryptionConfigs2020_05_31Request & WithMaxItems(Aws::String &&value)
ListFieldLevelEncryptionConfigs2020_05_31Request & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListFieldLevelEncryptionConfigs2020_05_31Request & WithMaxItems(const char *value)
ListFieldLevelEncryptionConfigs2020_05_31Request & WithMarker(Aws::String &&value)