AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeParameterGroupsResult.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/DAX_EXPORTS.h>
10#include <aws/dax/model/ParameterGroup.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DAX {
24namespace Model {
26 public:
27 AWS_DAX_API DescribeParameterGroupsResult() = default;
30
32
35 inline const Aws::String& GetNextToken() const { return m_nextToken; }
36 template <typename NextTokenT = Aws::String>
37 void SetNextToken(NextTokenT&& value) {
38 m_nextTokenHasBeenSet = true;
39 m_nextToken = std::forward<NextTokenT>(value);
40 }
41 template <typename NextTokenT = Aws::String>
43 SetNextToken(std::forward<NextTokenT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::Vector<ParameterGroup>& GetParameterGroups() const { return m_parameterGroups; }
54 template <typename ParameterGroupsT = Aws::Vector<ParameterGroup>>
55 void SetParameterGroups(ParameterGroupsT&& value) {
56 m_parameterGroupsHasBeenSet = true;
57 m_parameterGroups = std::forward<ParameterGroupsT>(value);
58 }
59 template <typename ParameterGroupsT = Aws::Vector<ParameterGroup>>
61 SetParameterGroups(std::forward<ParameterGroupsT>(value));
62 return *this;
63 }
64 template <typename ParameterGroupsT = ParameterGroup>
66 m_parameterGroupsHasBeenSet = true;
67 m_parameterGroups.emplace_back(std::forward<ParameterGroupsT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_nextToken;
88
89 Aws::Vector<ParameterGroup> m_parameterGroups;
90
91 Aws::String m_requestId;
92 bool m_nextTokenHasBeenSet = false;
93 bool m_parameterGroupsHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace DAX
99} // namespace Aws
AWS_DAX_API DescribeParameterGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeParameterGroupsResult & WithRequestId(RequestIdT &&value)
DescribeParameterGroupsResult & WithNextToken(NextTokenT &&value)
DescribeParameterGroupsResult & WithParameterGroups(ParameterGroupsT &&value)
const Aws::Vector< ParameterGroup > & GetParameterGroups() const
AWS_DAX_API DescribeParameterGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeParameterGroupsResult & AddParameterGroups(ParameterGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue