AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClusterParameterGroupsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/ClusterParameterGroup.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Redshift
27{
28namespace Model
29{
37 {
38 public:
39 AWS_REDSHIFT_API DescribeClusterParameterGroupsResult() = default;
42
43
45
53 inline const Aws::String& GetMarker() const { return m_marker; }
54 template<typename MarkerT = Aws::String>
55 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
56 template<typename MarkerT = Aws::String>
57 DescribeClusterParameterGroupsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
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) { m_parameterGroupsHasBeenSet = true; m_parameterGroups = std::forward<ParameterGroupsT>(value); }
68 template<typename ParameterGroupsT = Aws::Vector<ClusterParameterGroup>>
69 DescribeClusterParameterGroupsResult& WithParameterGroups(ParameterGroupsT&& value) { SetParameterGroups(std::forward<ParameterGroupsT>(value)); return *this;}
70 template<typename ParameterGroupsT = ClusterParameterGroup>
71 DescribeClusterParameterGroupsResult& AddParameterGroups(ParameterGroupsT&& value) { m_parameterGroupsHasBeenSet = true; m_parameterGroups.emplace_back(std::forward<ParameterGroupsT>(value)); return *this; }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
77 template<typename ResponseMetadataT = ResponseMetadata>
78 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
79 template<typename ResponseMetadataT = ResponseMetadata>
80 DescribeClusterParameterGroupsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
82 private:
83
84 Aws::String m_marker;
85 bool m_markerHasBeenSet = false;
86
87 Aws::Vector<ClusterParameterGroup> m_parameterGroups;
88 bool m_parameterGroupsHasBeenSet = false;
89
90 ResponseMetadata m_responseMetadata;
91 bool m_responseMetadataHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Redshift
96} // 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