AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeClusterParameterGroupsResult.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/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ClusterParameterGroup.h>
11#include <aws/redshift/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift {
25namespace Model {
33 public:
34 AWS_REDSHIFT_API DescribeClusterParameterGroupsResult() = default;
37
39
47 inline const Aws::String& GetMarker() const { return m_marker; }
48 template <typename MarkerT = Aws::String>
49 void SetMarker(MarkerT&& value) {
50 m_markerHasBeenSet = true;
51 m_marker = std::forward<MarkerT>(value);
52 }
53 template <typename MarkerT = Aws::String>
55 SetMarker(std::forward<MarkerT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::Vector<ClusterParameterGroup>& GetParameterGroups() const { return m_parameterGroups; }
66 template <typename ParameterGroupsT = Aws::Vector<ClusterParameterGroup>>
67 void SetParameterGroups(ParameterGroupsT&& value) {
68 m_parameterGroupsHasBeenSet = true;
69 m_parameterGroups = std::forward<ParameterGroupsT>(value);
70 }
71 template <typename ParameterGroupsT = Aws::Vector<ClusterParameterGroup>>
73 SetParameterGroups(std::forward<ParameterGroupsT>(value));
74 return *this;
75 }
76 template <typename ParameterGroupsT = ClusterParameterGroup>
78 m_parameterGroupsHasBeenSet = true;
79 m_parameterGroups.emplace_back(std::forward<ParameterGroupsT>(value));
80 return *this;
81 }
83
85
86 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
87 template <typename ResponseMetadataT = ResponseMetadata>
88 void SetResponseMetadata(ResponseMetadataT&& value) {
89 m_responseMetadataHasBeenSet = true;
90 m_responseMetadata = std::forward<ResponseMetadataT>(value);
91 }
92 template <typename ResponseMetadataT = ResponseMetadata>
94 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_marker;
100
101 Aws::Vector<ClusterParameterGroup> m_parameterGroups;
102
103 ResponseMetadata m_responseMetadata;
104 bool m_markerHasBeenSet = false;
105 bool m_parameterGroupsHasBeenSet = false;
106 bool m_responseMetadataHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Redshift
111} // namespace Aws
const Aws::Vector< ClusterParameterGroup > & GetParameterGroups() const
AWS_REDSHIFT_API DescribeClusterParameterGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API DescribeClusterParameterGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterParameterGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeClusterParameterGroupsResult & AddParameterGroups(ParameterGroupsT &&value)
DescribeClusterParameterGroupsResult & WithMarker(MarkerT &&value)
DescribeClusterParameterGroupsResult & WithParameterGroups(ParameterGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument