1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/cloudfront/CloudFront_EXPORTS.h> 8 #include <aws/cloudfront/CloudFrontRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 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 23 /** 24 */ 25 class AWS_CLOUDFRONT_API ListFieldLevelEncryptionProfiles2020_05_31Request : public CloudFrontRequest 26 { 27 public: 28 ListFieldLevelEncryptionProfiles2020_05_31Request(); 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. GetServiceRequestName()34 inline virtual const char* GetServiceRequestName() const override { return "ListFieldLevelEncryptionProfiles"; } 35 36 Aws::String SerializePayload() const override; 37 38 void AddQueryStringParameters(Aws::Http::URI& uri) const override; 39 40 41 /** 42 * <p>Use this when paginating results to indicate where to begin in your list of 43 * profiles. The results include profiles in the list that occur after the marker. 44 * To get the next page of results, set the <code>Marker</code> to the value of the 45 * <code>NextMarker</code> from the current page's response (which is also the ID 46 * of the last profile on that page). </p> 47 */ GetMarker()48 inline const Aws::String& GetMarker() const{ return m_marker; } 49 50 /** 51 * <p>Use this when paginating results to indicate where to begin in your list of 52 * profiles. The results include profiles in the list that occur after the marker. 53 * To get the next page of results, set the <code>Marker</code> to the value of the 54 * <code>NextMarker</code> from the current page's response (which is also the ID 55 * of the last profile on that page). </p> 56 */ MarkerHasBeenSet()57 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } 58 59 /** 60 * <p>Use this when paginating results to indicate where to begin in your list of 61 * profiles. The results include profiles in the list that occur after the marker. 62 * To get the next page of results, set the <code>Marker</code> to the value of the 63 * <code>NextMarker</code> from the current page's response (which is also the ID 64 * of the last profile on that page). </p> 65 */ SetMarker(const Aws::String & value)66 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } 67 68 /** 69 * <p>Use this when paginating results to indicate where to begin in your list of 70 * profiles. The results include profiles in the list that occur after the marker. 71 * To get the next page of results, set the <code>Marker</code> to the value of the 72 * <code>NextMarker</code> from the current page's response (which is also the ID 73 * of the last profile on that page). </p> 74 */ SetMarker(Aws::String && value)75 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } 76 77 /** 78 * <p>Use this when paginating results to indicate where to begin in your list of 79 * profiles. The results include profiles in the list that occur after the marker. 80 * To get the next page of results, set the <code>Marker</code> to the value of the 81 * <code>NextMarker</code> from the current page's response (which is also the ID 82 * of the last profile on that page). </p> 83 */ SetMarker(const char * value)84 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } 85 86 /** 87 * <p>Use this when paginating results to indicate where to begin in your list of 88 * profiles. The results include profiles in the list that occur after the marker. 89 * To get the next page of results, set the <code>Marker</code> to the value of the 90 * <code>NextMarker</code> from the current page's response (which is also the ID 91 * of the last profile on that page). </p> 92 */ WithMarker(const Aws::String & value)93 inline ListFieldLevelEncryptionProfiles2020_05_31Request& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} 94 95 /** 96 * <p>Use this when paginating results to indicate where to begin in your list of 97 * profiles. The results include profiles in the list that occur after the marker. 98 * To get the next page of results, set the <code>Marker</code> to the value of the 99 * <code>NextMarker</code> from the current page's response (which is also the ID 100 * of the last profile on that page). </p> 101 */ WithMarker(Aws::String && value)102 inline ListFieldLevelEncryptionProfiles2020_05_31Request& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} 103 104 /** 105 * <p>Use this when paginating results to indicate where to begin in your list of 106 * profiles. The results include profiles in the list that occur after the marker. 107 * To get the next page of results, set the <code>Marker</code> to the value of the 108 * <code>NextMarker</code> from the current page's response (which is also the ID 109 * of the last profile on that page). </p> 110 */ WithMarker(const char * value)111 inline ListFieldLevelEncryptionProfiles2020_05_31Request& WithMarker(const char* value) { SetMarker(value); return *this;} 112 113 114 /** 115 * <p>The maximum number of field-level encryption profiles you want in the 116 * response body. </p> 117 */ GetMaxItems()118 inline const Aws::String& GetMaxItems() const{ return m_maxItems; } 119 120 /** 121 * <p>The maximum number of field-level encryption profiles you want in the 122 * response body. </p> 123 */ MaxItemsHasBeenSet()124 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } 125 126 /** 127 * <p>The maximum number of field-level encryption profiles you want in the 128 * response body. </p> 129 */ SetMaxItems(const Aws::String & value)130 inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } 131 132 /** 133 * <p>The maximum number of field-level encryption profiles you want in the 134 * response body. </p> 135 */ SetMaxItems(Aws::String && value)136 inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); } 137 138 /** 139 * <p>The maximum number of field-level encryption profiles you want in the 140 * response body. </p> 141 */ SetMaxItems(const char * value)142 inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); } 143 144 /** 145 * <p>The maximum number of field-level encryption profiles you want in the 146 * response body. </p> 147 */ WithMaxItems(const Aws::String & value)148 inline ListFieldLevelEncryptionProfiles2020_05_31Request& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;} 149 150 /** 151 * <p>The maximum number of field-level encryption profiles you want in the 152 * response body. </p> 153 */ WithMaxItems(Aws::String && value)154 inline ListFieldLevelEncryptionProfiles2020_05_31Request& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;} 155 156 /** 157 * <p>The maximum number of field-level encryption profiles you want in the 158 * response body. </p> 159 */ WithMaxItems(const char * value)160 inline ListFieldLevelEncryptionProfiles2020_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 174