AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCacheSubnetGroupsRequest.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 DescribeCacheSubnetGroupsRequest() = 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 "DescribeCacheSubnetGroups"; }
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
43 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
44 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
45 template <typename CacheSubnetGroupNameT = Aws::String>
46 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
47 m_cacheSubnetGroupNameHasBeenSet = true;
48 m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value);
49 }
50 template <typename CacheSubnetGroupNameT = Aws::String>
52 SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value));
53 return *this;
54 }
56
58
64 inline int GetMaxRecords() const { return m_maxRecords; }
65 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
66 inline void SetMaxRecords(int value) {
67 m_maxRecordsHasBeenSet = true;
68 m_maxRecords = value;
69 }
71 SetMaxRecords(value);
72 return *this;
73 }
75
77
83 inline const Aws::String& GetMarker() const { return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 template <typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) {
87 m_markerHasBeenSet = true;
88 m_marker = std::forward<MarkerT>(value);
89 }
90 template <typename MarkerT = Aws::String>
92 SetMarker(std::forward<MarkerT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_cacheSubnetGroupName;
98
99 int m_maxRecords{0};
100
101 Aws::String m_marker;
102 bool m_cacheSubnetGroupNameHasBeenSet = false;
103 bool m_maxRecordsHasBeenSet = false;
104 bool m_markerHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace ElastiCache
109} // namespace Aws
AWS_ELASTICACHE_API DescribeCacheSubnetGroupsRequest()=default
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeCacheSubnetGroupsRequest & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
DescribeCacheSubnetGroupsRequest & WithMarker(MarkerT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String