AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeHsmConfigurationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace Redshift
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
61  inline void SetMarker(const Aws::String& value) { m_marker = value; }
62 
71  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
72 
81  inline void SetMarker(const char* value) { m_marker.assign(value); }
82 
91  inline DescribeHsmConfigurationsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 
101  inline DescribeHsmConfigurationsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
111  inline DescribeHsmConfigurationsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
117  inline const Aws::Vector<HsmConfiguration>& GetHsmConfigurations() const{ return m_hsmConfigurations; }
118 
122  inline void SetHsmConfigurations(const Aws::Vector<HsmConfiguration>& value) { m_hsmConfigurations = value; }
123 
127  inline void SetHsmConfigurations(Aws::Vector<HsmConfiguration>&& value) { m_hsmConfigurations = std::move(value); }
128 
132  inline DescribeHsmConfigurationsResult& WithHsmConfigurations(const Aws::Vector<HsmConfiguration>& value) { SetHsmConfigurations(value); return *this;}
133 
137  inline DescribeHsmConfigurationsResult& WithHsmConfigurations(Aws::Vector<HsmConfiguration>&& value) { SetHsmConfigurations(std::move(value)); return *this;}
138 
142  inline DescribeHsmConfigurationsResult& AddHsmConfigurations(const HsmConfiguration& value) { m_hsmConfigurations.push_back(value); return *this; }
143 
147  inline DescribeHsmConfigurationsResult& AddHsmConfigurations(HsmConfiguration&& value) { m_hsmConfigurations.push_back(std::move(value)); return *this; }
148 
149 
150 
151  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
152 
153 
154  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
155 
156 
157  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
158 
159 
160  inline DescribeHsmConfigurationsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
161 
162 
163  inline DescribeHsmConfigurationsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
164 
165  private:
166 
167  Aws::String m_marker;
168 
169  Aws::Vector<HsmConfiguration> m_hsmConfigurations;
170 
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace Redshift
176 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
HsmConfiguration.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeHsmConfigurationsResult::AddHsmConfigurations
DescribeHsmConfigurationsResult & AddHsmConfigurations(HsmConfiguration &&value)
Definition: DescribeHsmConfigurationsResult.h:147
Aws::Redshift::Model::DescribeHsmConfigurationsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeHsmConfigurationsResult.h:51
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeHsmConfigurationsResult.h:71
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithMarker
DescribeHsmConfigurationsResult & WithMarker(Aws::String &&value)
Definition: DescribeHsmConfigurationsResult.h:101
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetHsmConfigurations
void SetHsmConfigurations(const Aws::Vector< HsmConfiguration > &value)
Definition: DescribeHsmConfigurationsResult.h:122
Aws::Redshift::Model::DescribeHsmConfigurationsResult::DescribeHsmConfigurationsResult
DescribeHsmConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeHsmConfigurationsResult.h:157
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeHsmConfigurationsResult.h:61
Aws::Redshift::Model::DescribeHsmConfigurationsResult::GetHsmConfigurations
const Aws::Vector< HsmConfiguration > & GetHsmConfigurations() const
Definition: DescribeHsmConfigurationsResult.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithResponseMetadata
DescribeHsmConfigurationsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeHsmConfigurationsResult.h:163
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithMarker
DescribeHsmConfigurationsResult & WithMarker(const Aws::String &value)
Definition: DescribeHsmConfigurationsResult.h:91
Aws::Redshift::Model::DescribeHsmConfigurationsResult
Definition: DescribeHsmConfigurationsResult.h:36
Aws::Redshift::Model::HsmConfiguration
Definition: HsmConfiguration.h:37
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeHsmConfigurationsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeHsmConfigurationsResult.h:151
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeHsmConfigurationsResult.h:154
AWSString.h
Aws::Redshift::Model::DescribeHsmConfigurationsResult::AddHsmConfigurations
DescribeHsmConfigurationsResult & AddHsmConfigurations(const HsmConfiguration &value)
Definition: DescribeHsmConfigurationsResult.h:142
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetHsmConfigurations
void SetHsmConfigurations(Aws::Vector< HsmConfiguration > &&value)
Definition: DescribeHsmConfigurationsResult.h:127
Aws::Redshift::Model::DescribeHsmConfigurationsResult::operator=
DescribeHsmConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithResponseMetadata
DescribeHsmConfigurationsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeHsmConfigurationsResult.h:160
Aws::Redshift::Model::DescribeHsmConfigurationsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeHsmConfigurationsResult.h:81
ResponseMetadata.h
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithHsmConfigurations
DescribeHsmConfigurationsResult & WithHsmConfigurations(const Aws::Vector< HsmConfiguration > &value)
Definition: DescribeHsmConfigurationsResult.h:132
Aws::Redshift::Model::DescribeHsmConfigurationsResult::DescribeHsmConfigurationsResult
DescribeHsmConfigurationsResult()
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithMarker
DescribeHsmConfigurationsResult & WithMarker(const char *value)
Definition: DescribeHsmConfigurationsResult.h:111
Aws::Redshift::Model::DescribeHsmConfigurationsResult::WithHsmConfigurations
DescribeHsmConfigurationsResult & WithHsmConfigurations(Aws::Vector< HsmConfiguration > &&value)
Definition: DescribeHsmConfigurationsResult.h:137