AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeNodeConfigurationOptionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/NodeConfigurationOption.h>
12#include <aws/redshift/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift {
26namespace Model {
28 public:
29 AWS_REDSHIFT_API DescribeNodeConfigurationOptionsResult() = default;
33
35
38 inline const Aws::Vector<NodeConfigurationOption>& GetNodeConfigurationOptionList() const { return m_nodeConfigurationOptionList; }
39 template <typename NodeConfigurationOptionListT = Aws::Vector<NodeConfigurationOption>>
40 void SetNodeConfigurationOptionList(NodeConfigurationOptionListT&& value) {
41 m_nodeConfigurationOptionListHasBeenSet = true;
42 m_nodeConfigurationOptionList = std::forward<NodeConfigurationOptionListT>(value);
43 }
44 template <typename NodeConfigurationOptionListT = Aws::Vector<NodeConfigurationOption>>
46 SetNodeConfigurationOptionList(std::forward<NodeConfigurationOptionListT>(value));
47 return *this;
48 }
49 template <typename NodeConfigurationOptionListT = NodeConfigurationOption>
51 m_nodeConfigurationOptionListHasBeenSet = true;
52 m_nodeConfigurationOptionList.emplace_back(std::forward<NodeConfigurationOptionListT>(value));
53 return *this;
54 }
56
58
66 inline const Aws::String& GetMarker() const { return m_marker; }
67 template <typename MarkerT = Aws::String>
68 void SetMarker(MarkerT&& value) {
69 m_markerHasBeenSet = true;
70 m_marker = std::forward<MarkerT>(value);
71 }
72 template <typename MarkerT = Aws::String>
74 SetMarker(std::forward<MarkerT>(value));
75 return *this;
76 }
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
82 template <typename ResponseMetadataT = ResponseMetadata>
83 void SetResponseMetadata(ResponseMetadataT&& value) {
84 m_responseMetadataHasBeenSet = true;
85 m_responseMetadata = std::forward<ResponseMetadataT>(value);
86 }
87 template <typename ResponseMetadataT = ResponseMetadata>
89 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 Aws::Vector<NodeConfigurationOption> m_nodeConfigurationOptionList;
97
98 Aws::String m_marker;
99
100 ResponseMetadata m_responseMetadata;
101 Aws::Http::HttpResponseCode m_HttpResponseCode;
102 bool m_nodeConfigurationOptionListHasBeenSet = false;
103 bool m_markerHasBeenSet = false;
104 bool m_responseMetadataHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Redshift
109} // namespace Aws
DescribeNodeConfigurationOptionsResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< NodeConfigurationOption > & GetNodeConfigurationOptionList() const
AWS_REDSHIFT_API DescribeNodeConfigurationOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeNodeConfigurationOptionsResult & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API DescribeNodeConfigurationOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeNodeConfigurationOptionsResult & WithNodeConfigurationOptionList(NodeConfigurationOptionListT &&value)
DescribeNodeConfigurationOptionsResult & AddNodeConfigurationOptionList(NodeConfigurationOptionListT &&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