AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeDefaultClusterParametersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeDefaultClusterParameters"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; }
46 
50  inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; }
51 
55  inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; }
56 
60  inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); }
61 
65  inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); }
66 
70  inline DescribeDefaultClusterParametersRequest& WithParameterGroupFamily(const Aws::String& value) { SetParameterGroupFamily(value); return *this;}
71 
75  inline DescribeDefaultClusterParametersRequest& WithParameterGroupFamily(Aws::String&& value) { SetParameterGroupFamily(std::move(value)); return *this;}
76 
80  inline DescribeDefaultClusterParametersRequest& WithParameterGroupFamily(const char* value) { SetParameterGroupFamily(value); return *this;}
81 
82 
91  inline int GetMaxRecords() const{ return m_maxRecords; }
92 
101  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
102 
111  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
112 
121  inline DescribeDefaultClusterParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
122 
123 
132  inline const Aws::String& GetMarker() const{ return m_marker; }
133 
142  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
143 
152  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
153 
162  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
163 
172  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
173 
182  inline DescribeDefaultClusterParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
183 
192  inline DescribeDefaultClusterParametersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
193 
202  inline DescribeDefaultClusterParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
203 
204  private:
205 
206  Aws::String m_parameterGroupFamily;
207  bool m_parameterGroupFamilyHasBeenSet;
208 
209  int m_maxRecords;
210  bool m_maxRecordsHasBeenSet;
211 
212  Aws::String m_marker;
213  bool m_markerHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace Redshift
218 } // namespace Aws
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::DescribeDefaultClusterParametersRequest
DescribeDefaultClusterParametersRequest()
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDefaultClusterParametersRequest.h:132
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDefaultClusterParametersRequest.h:162
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithParameterGroupFamily
DescribeDefaultClusterParametersRequest & WithParameterGroupFamily(const Aws::String &value)
Definition: DescribeDefaultClusterParametersRequest.h:70
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDefaultClusterParametersRequest.h:91
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::ParameterGroupFamilyHasBeenSet
bool ParameterGroupFamilyHasBeenSet() const
Definition: DescribeDefaultClusterParametersRequest.h:50
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetParameterGroupFamily
void SetParameterGroupFamily(const char *value)
Definition: DescribeDefaultClusterParametersRequest.h:65
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDefaultClusterParametersRequest.h:152
RedshiftRequest.h
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithMarker
DescribeDefaultClusterParametersRequest & WithMarker(const Aws::String &value)
Definition: DescribeDefaultClusterParametersRequest.h:182
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDefaultClusterParametersRequest.h:111
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDefaultClusterParametersRequest.h:33
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDefaultClusterParametersRequest.h:142
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::GetParameterGroupFamily
const Aws::String & GetParameterGroupFamily() const
Definition: DescribeDefaultClusterParametersRequest.h:45
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithMaxRecords
DescribeDefaultClusterParametersRequest & WithMaxRecords(int value)
Definition: DescribeDefaultClusterParametersRequest.h:121
AWSString.h
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDefaultClusterParametersRequest.h:172
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithMarker
DescribeDefaultClusterParametersRequest & WithMarker(const char *value)
Definition: DescribeDefaultClusterParametersRequest.h:202
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithParameterGroupFamily
DescribeDefaultClusterParametersRequest & WithParameterGroupFamily(const char *value)
Definition: DescribeDefaultClusterParametersRequest.h:80
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest
Definition: DescribeDefaultClusterParametersRequest.h:25
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithMarker
DescribeDefaultClusterParametersRequest & WithMarker(Aws::String &&value)
Definition: DescribeDefaultClusterParametersRequest.h:192
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::WithParameterGroupFamily
DescribeDefaultClusterParametersRequest & WithParameterGroupFamily(Aws::String &&value)
Definition: DescribeDefaultClusterParametersRequest.h:75
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDefaultClusterParametersRequest.h:101
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetParameterGroupFamily
void SetParameterGroupFamily(Aws::String &&value)
Definition: DescribeDefaultClusterParametersRequest.h:60
Aws::Redshift::Model::DescribeDefaultClusterParametersRequest::SetParameterGroupFamily
void SetParameterGroupFamily(const Aws::String &value)
Definition: DescribeDefaultClusterParametersRequest.h:55