AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeReplicationGroupsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElastiCache {
15namespace Model {
16
24 public:
25 AWS_ELASTICACHE_API DescribeReplicationGroupsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeReplicationGroups"; }
32
33 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
45 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
46 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
47 template <typename ReplicationGroupIdT = Aws::String>
48 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
49 m_replicationGroupIdHasBeenSet = true;
50 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
51 }
52 template <typename ReplicationGroupIdT = Aws::String>
54 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
55 return *this;
56 }
58
60
66 inline int GetMaxRecords() const { return m_maxRecords; }
67 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
68 inline void SetMaxRecords(int value) {
69 m_maxRecordsHasBeenSet = true;
70 m_maxRecords = value;
71 }
73 SetMaxRecords(value);
74 return *this;
75 }
77
79
85 inline const Aws::String& GetMarker() const { return m_marker; }
86 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
87 template <typename MarkerT = Aws::String>
88 void SetMarker(MarkerT&& value) {
89 m_markerHasBeenSet = true;
90 m_marker = std::forward<MarkerT>(value);
91 }
92 template <typename MarkerT = Aws::String>
94 SetMarker(std::forward<MarkerT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_replicationGroupId;
100
101 int m_maxRecords{0};
102
103 Aws::String m_marker;
104 bool m_replicationGroupIdHasBeenSet = false;
105 bool m_maxRecordsHasBeenSet = false;
106 bool m_markerHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace ElastiCache
111} // namespace Aws
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeReplicationGroupsRequest & WithMarker(MarkerT &&value)
AWS_ELASTICACHE_API DescribeReplicationGroupsRequest()=default
DescribeReplicationGroupsRequest & WithReplicationGroupId(ReplicationGroupIdT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String