AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeReplicationGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElastiCache
15 {
16 namespace Model
17 {
18 
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 "DescribeReplicationGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
49 
55  inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
56 
62  inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
63 
69  inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
70 
76  inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
77 
83  inline DescribeReplicationGroupsRequest& WithReplicationGroupId(const Aws::String& value) { SetReplicationGroupId(value); return *this;}
84 
90  inline DescribeReplicationGroupsRequest& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
91 
97  inline DescribeReplicationGroupsRequest& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
98 
99 
106  inline int GetMaxRecords() const{ return m_maxRecords; }
107 
114  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
115 
122  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
123 
130  inline DescribeReplicationGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
131 
132 
139  inline const Aws::String& GetMarker() const{ return m_marker; }
140 
147  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
148 
155  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
156 
163  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
164 
171  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
172 
179  inline DescribeReplicationGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
180 
187  inline DescribeReplicationGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
188 
195  inline DescribeReplicationGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
196 
197  private:
198 
199  Aws::String m_replicationGroupId;
200  bool m_replicationGroupIdHasBeenSet;
201 
202  int m_maxRecords;
203  bool m_maxRecordsHasBeenSet;
204 
205  Aws::String m_marker;
206  bool m_markerHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace ElastiCache
211 } // namespace Aws
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeReplicationGroupsRequest.h:106
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReplicationGroupsRequest.h:34
Aws::Http::URI
Definition: URI.h:32
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest
Definition: DescribeReplicationGroupsRequest.h:26
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithMarker
DescribeReplicationGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeReplicationGroupsRequest.h:187
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::ReplicationGroupIdHasBeenSet
bool ReplicationGroupIdHasBeenSet() const
Definition: DescribeReplicationGroupsRequest.h:55
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeReplicationGroupsRequest.h:114
ElastiCacheRequest.h
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithReplicationGroupId
DescribeReplicationGroupsRequest & WithReplicationGroupId(const Aws::String &value)
Definition: DescribeReplicationGroupsRequest.h:83
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeReplicationGroupsRequest.h:147
ElastiCache_EXPORTS.h
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeReplicationGroupsRequest.h:139
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithMaxRecords
DescribeReplicationGroupsRequest & WithMaxRecords(int value)
Definition: DescribeReplicationGroupsRequest.h:130
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetReplicationGroupId
void SetReplicationGroupId(const char *value)
Definition: DescribeReplicationGroupsRequest.h:76
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeReplicationGroupsRequest.h:171
AWSString.h
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetReplicationGroupId
void SetReplicationGroupId(Aws::String &&value)
Definition: DescribeReplicationGroupsRequest.h:69
AWS_ELASTICACHE_API
#define AWS_ELASTICACHE_API
Definition: ElastiCache_EXPORTS.h:28
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithReplicationGroupId
DescribeReplicationGroupsRequest & WithReplicationGroupId(const char *value)
Definition: DescribeReplicationGroupsRequest.h:97
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::GetReplicationGroupId
const Aws::String & GetReplicationGroupId() const
Definition: DescribeReplicationGroupsRequest.h:48
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeReplicationGroupsRequest.h:163
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithMarker
DescribeReplicationGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeReplicationGroupsRequest.h:179
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeReplicationGroupsRequest.h:122
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElastiCache::ElastiCacheRequest
Definition: ElastiCacheRequest.h:17
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::DescribeReplicationGroupsRequest
DescribeReplicationGroupsRequest()
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetReplicationGroupId
void SetReplicationGroupId(const Aws::String &value)
Definition: DescribeReplicationGroupsRequest.h:62
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithReplicationGroupId
DescribeReplicationGroupsRequest & WithReplicationGroupId(Aws::String &&value)
Definition: DescribeReplicationGroupsRequest.h:90
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeReplicationGroupsRequest.h:155
Aws::ElastiCache::Model::DescribeReplicationGroupsRequest::WithMarker
DescribeReplicationGroupsRequest & WithMarker(const char *value)
Definition: DescribeReplicationGroupsRequest.h:195