AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeCacheParametersRequest.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 ElastiCache
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
39  inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
40 
44  inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
45 
49  inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
50 
54  inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
55 
59  inline DescribeCacheParametersRequest& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;}
60 
64  inline DescribeCacheParametersRequest& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(value); return *this;}
65 
69  inline DescribeCacheParametersRequest& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;}
70 
75  inline const Aws::String& GetSource() const{ return m_source; }
76 
81  inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
82 
87  inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = value; }
88 
93  inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
94 
99  inline DescribeCacheParametersRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
100 
105  inline DescribeCacheParametersRequest& WithSource(Aws::String&& value) { SetSource(value); return *this;}
106 
111  inline DescribeCacheParametersRequest& WithSource(const char* value) { SetSource(value); return *this;}
112 
119  inline int GetMaxRecords() const{ return m_maxRecords; }
120 
127  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
128 
135  inline DescribeCacheParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
136 
143  inline const Aws::String& GetMarker() const{ return m_marker; }
144 
151  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
152 
159  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
160 
167  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
168 
175  inline DescribeCacheParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
176 
183  inline DescribeCacheParametersRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
184 
191  inline DescribeCacheParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
192 
193  private:
194  Aws::String m_cacheParameterGroupName;
195  bool m_cacheParameterGroupNameHasBeenSet;
196  Aws::String m_source;
197  bool m_sourceHasBeenSet;
198  int m_maxRecords;
199  bool m_maxRecordsHasBeenSet;
200  Aws::String m_marker;
201  bool m_markerHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace ElastiCache
206 } // namespace Aws
DescribeCacheParametersRequest & WithMarker(const Aws::String &value)
DescribeCacheParametersRequest & WithSource(const char *value)
DescribeCacheParametersRequest & WithCacheParameterGroupName(const Aws::String &value)
DescribeCacheParametersRequest & WithSource(Aws::String &&value)
DescribeCacheParametersRequest & WithCacheParameterGroupName(Aws::String &&value)
DescribeCacheParametersRequest & WithSource(const Aws::String &value)
DescribeCacheParametersRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_ELASTICACHE_API
DescribeCacheParametersRequest & WithCacheParameterGroupName(const char *value)
DescribeCacheParametersRequest & WithMarker(const char *value)
JSON (JavaScript Object Notation).