AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeHsmConfigurationsResult.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/HsmConfiguration.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 {
33 public:
34 AWS_REDSHIFT_API DescribeHsmConfigurationsResult() = 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
64 inline const Aws::Vector<HsmConfiguration>& GetHsmConfigurations() const { return m_hsmConfigurations; }
65 template <typename HsmConfigurationsT = Aws::Vector<HsmConfiguration>>
66 void SetHsmConfigurations(HsmConfigurationsT&& value) {
67 m_hsmConfigurationsHasBeenSet = true;
68 m_hsmConfigurations = std::forward<HsmConfigurationsT>(value);
69 }
70 template <typename HsmConfigurationsT = Aws::Vector<HsmConfiguration>>
72 SetHsmConfigurations(std::forward<HsmConfigurationsT>(value));
73 return *this;
74 }
75 template <typename HsmConfigurationsT = HsmConfiguration>
77 m_hsmConfigurationsHasBeenSet = true;
78 m_hsmConfigurations.emplace_back(std::forward<HsmConfigurationsT>(value));
79 return *this;
80 }
82
84
85 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
86 template <typename ResponseMetadataT = ResponseMetadata>
87 void SetResponseMetadata(ResponseMetadataT&& value) {
88 m_responseMetadataHasBeenSet = true;
89 m_responseMetadata = std::forward<ResponseMetadataT>(value);
90 }
91 template <typename ResponseMetadataT = ResponseMetadata>
93 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_marker;
101
102 Aws::Vector<HsmConfiguration> m_hsmConfigurations;
103
104 ResponseMetadata m_responseMetadata;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_markerHasBeenSet = false;
107 bool m_hsmConfigurationsHasBeenSet = false;
108 bool m_responseMetadataHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Redshift
113} // namespace Aws
AWS_REDSHIFT_API DescribeHsmConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< HsmConfiguration > & GetHsmConfigurations() const
DescribeHsmConfigurationsResult & WithHsmConfigurations(HsmConfigurationsT &&value)
DescribeHsmConfigurationsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeHsmConfigurationsResult & WithMarker(MarkerT &&value)
DescribeHsmConfigurationsResult & AddHsmConfigurations(HsmConfigurationsT &&value)
AWS_REDSHIFT_API DescribeHsmConfigurationsResult()=default
AWS_REDSHIFT_API DescribeHsmConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument