AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DescribeNodeConfigurationOptionsResult.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/NodeConfigurationOption.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 {
27 public:
28 AWS_REDSHIFT_API DescribeNodeConfigurationOptionsResult() = default;
32
34
37 inline const Aws::Vector<NodeConfigurationOption>& GetNodeConfigurationOptionList() const { return m_nodeConfigurationOptionList; }
38 template <typename NodeConfigurationOptionListT = Aws::Vector<NodeConfigurationOption>>
39 void SetNodeConfigurationOptionList(NodeConfigurationOptionListT&& value) {
40 m_nodeConfigurationOptionListHasBeenSet = true;
41 m_nodeConfigurationOptionList = std::forward<NodeConfigurationOptionListT>(value);
42 }
43 template <typename NodeConfigurationOptionListT = Aws::Vector<NodeConfigurationOption>>
45 SetNodeConfigurationOptionList(std::forward<NodeConfigurationOptionListT>(value));
46 return *this;
47 }
48 template <typename NodeConfigurationOptionListT = NodeConfigurationOption>
50 m_nodeConfigurationOptionListHasBeenSet = true;
51 m_nodeConfigurationOptionList.emplace_back(std::forward<NodeConfigurationOptionListT>(value));
52 return *this;
53 }
55
57
65 inline const Aws::String& GetMarker() const { return m_marker; }
66 template <typename MarkerT = Aws::String>
67 void SetMarker(MarkerT&& value) {
68 m_markerHasBeenSet = true;
69 m_marker = std::forward<MarkerT>(value);
70 }
71 template <typename MarkerT = Aws::String>
73 SetMarker(std::forward<MarkerT>(value));
74 return *this;
75 }
77
79
80 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
81 template <typename ResponseMetadataT = ResponseMetadata>
82 void SetResponseMetadata(ResponseMetadataT&& value) {
83 m_responseMetadataHasBeenSet = true;
84 m_responseMetadata = std::forward<ResponseMetadataT>(value);
85 }
86 template <typename ResponseMetadataT = ResponseMetadata>
88 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<NodeConfigurationOption> m_nodeConfigurationOptionList;
94 bool m_nodeConfigurationOptionListHasBeenSet = false;
95
96 Aws::String m_marker;
97 bool m_markerHasBeenSet = false;
98
99 ResponseMetadata m_responseMetadata;
100 bool m_responseMetadataHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Redshift
105} // 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