AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeSubnetGroupsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dax/DAXRequest.h>
10#include <aws/dax/DAX_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DAX {
16namespace Model {
17
21 public:
22 AWS_DAX_API DescribeSubnetGroupsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeSubnetGroups"; }
29
30 AWS_DAX_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::Vector<Aws::String>& GetSubnetGroupNames() const { return m_subnetGroupNames; }
39 inline bool SubnetGroupNamesHasBeenSet() const { return m_subnetGroupNamesHasBeenSet; }
40 template <typename SubnetGroupNamesT = Aws::Vector<Aws::String>>
41 void SetSubnetGroupNames(SubnetGroupNamesT&& value) {
42 m_subnetGroupNamesHasBeenSet = true;
43 m_subnetGroupNames = std::forward<SubnetGroupNamesT>(value);
44 }
45 template <typename SubnetGroupNamesT = Aws::Vector<Aws::String>>
47 SetSubnetGroupNames(std::forward<SubnetGroupNamesT>(value));
48 return *this;
49 }
50 template <typename SubnetGroupNamesT = Aws::String>
52 m_subnetGroupNamesHasBeenSet = true;
53 m_subnetGroupNames.emplace_back(std::forward<SubnetGroupNamesT>(value));
54 return *this;
55 }
57
59
65 inline int GetMaxResults() const { return m_maxResults; }
66 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
67 inline void SetMaxResults(int value) {
68 m_maxResultsHasBeenSet = true;
69 m_maxResults = value;
70 }
72 SetMaxResults(value);
73 return *this;
74 }
76
78
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template <typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) {
88 m_nextTokenHasBeenSet = true;
89 m_nextToken = std::forward<NextTokenT>(value);
90 }
91 template <typename NextTokenT = Aws::String>
93 SetNextToken(std::forward<NextTokenT>(value));
94 return *this;
95 }
97 private:
98 Aws::Vector<Aws::String> m_subnetGroupNames;
99
100 int m_maxResults{0};
101
102 Aws::String m_nextToken;
103 bool m_subnetGroupNamesHasBeenSet = false;
104 bool m_maxResultsHasBeenSet = false;
105 bool m_nextTokenHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace DAX
110} // namespace Aws
AWS_DAX_API Aws::String SerializePayload() const override
AWS_DAX_API DescribeSubnetGroupsRequest()=default
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetSubnetGroupNames() const
DescribeSubnetGroupsRequest & WithNextToken(NextTokenT &&value)
DescribeSubnetGroupsRequest & AddSubnetGroupNames(SubnetGroupNamesT &&value)
virtual const char * GetServiceRequestName() const override
DescribeSubnetGroupsRequest & WithSubnetGroupNames(SubnetGroupNamesT &&value)
DescribeSubnetGroupsRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector