AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeGlobalReplicationGroupsRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeGlobalReplicationGroups"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetGlobalReplicationGroupId() const{ return m_globalReplicationGroupId; }
43 
47  inline bool GlobalReplicationGroupIdHasBeenSet() const { return m_globalReplicationGroupIdHasBeenSet; }
48 
52  inline void SetGlobalReplicationGroupId(const Aws::String& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = value; }
53 
57  inline void SetGlobalReplicationGroupId(Aws::String&& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = std::move(value); }
58 
62  inline void SetGlobalReplicationGroupId(const char* value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId.assign(value); }
63 
67  inline DescribeGlobalReplicationGroupsRequest& WithGlobalReplicationGroupId(const Aws::String& value) { SetGlobalReplicationGroupId(value); return *this;}
68 
72  inline DescribeGlobalReplicationGroupsRequest& WithGlobalReplicationGroupId(Aws::String&& value) { SetGlobalReplicationGroupId(std::move(value)); return *this;}
73 
77  inline DescribeGlobalReplicationGroupsRequest& WithGlobalReplicationGroupId(const char* value) { SetGlobalReplicationGroupId(value); return *this;}
78 
79 
85  inline int GetMaxRecords() const{ return m_maxRecords; }
86 
92  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
93 
99  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
100 
106  inline DescribeGlobalReplicationGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
107 
108 
115  inline const Aws::String& GetMarker() const{ return m_marker; }
116 
123  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
124 
131  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
132 
139  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
140 
147  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
148 
155  inline DescribeGlobalReplicationGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
156 
163  inline DescribeGlobalReplicationGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
164 
171  inline DescribeGlobalReplicationGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
172 
173 
177  inline bool GetShowMemberInfo() const{ return m_showMemberInfo; }
178 
182  inline bool ShowMemberInfoHasBeenSet() const { return m_showMemberInfoHasBeenSet; }
183 
187  inline void SetShowMemberInfo(bool value) { m_showMemberInfoHasBeenSet = true; m_showMemberInfo = value; }
188 
192  inline DescribeGlobalReplicationGroupsRequest& WithShowMemberInfo(bool value) { SetShowMemberInfo(value); return *this;}
193 
194  private:
195 
196  Aws::String m_globalReplicationGroupId;
197  bool m_globalReplicationGroupIdHasBeenSet;
198 
199  int m_maxRecords;
200  bool m_maxRecordsHasBeenSet;
201 
202  Aws::String m_marker;
203  bool m_markerHasBeenSet;
204 
205  bool m_showMemberInfo;
206  bool m_showMemberInfoHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace ElastiCache
211 } // namespace Aws
DescribeGlobalReplicationGroupsRequest & WithGlobalReplicationGroupId(Aws::String &&value)
DescribeGlobalReplicationGroupsRequest & WithGlobalReplicationGroupId(const Aws::String &value)
DescribeGlobalReplicationGroupsRequest & WithMarker(Aws::String &&value)
DescribeGlobalReplicationGroupsRequest & WithMarker(const char *value)
DescribeGlobalReplicationGroupsRequest & WithGlobalReplicationGroupId(const char *value)
DescribeGlobalReplicationGroupsRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_ELASTICACHE_API