AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeHsmClientCertificatesResult.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 DescribeHsmClientCertificatesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 
101  inline DescribeHsmClientCertificatesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
111  inline DescribeHsmClientCertificatesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
119  inline const Aws::Vector<HsmClientCertificate>& GetHsmClientCertificates() const{ return m_hsmClientCertificates; }
120 
126  inline void SetHsmClientCertificates(const Aws::Vector<HsmClientCertificate>& value) { m_hsmClientCertificates = value; }
127 
133  inline void SetHsmClientCertificates(Aws::Vector<HsmClientCertificate>&& value) { m_hsmClientCertificates = std::move(value); }
134 
140  inline DescribeHsmClientCertificatesResult& WithHsmClientCertificates(const Aws::Vector<HsmClientCertificate>& value) { SetHsmClientCertificates(value); return *this;}
141 
147  inline DescribeHsmClientCertificatesResult& WithHsmClientCertificates(Aws::Vector<HsmClientCertificate>&& value) { SetHsmClientCertificates(std::move(value)); return *this;}
148 
154  inline DescribeHsmClientCertificatesResult& AddHsmClientCertificates(const HsmClientCertificate& value) { m_hsmClientCertificates.push_back(value); return *this; }
155 
161  inline DescribeHsmClientCertificatesResult& AddHsmClientCertificates(HsmClientCertificate&& value) { m_hsmClientCertificates.push_back(std::move(value)); return *this; }
162 
163 
164 
165  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
166 
167 
168  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
169 
170 
171  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
172 
173 
174  inline DescribeHsmClientCertificatesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
175 
176 
177  inline DescribeHsmClientCertificatesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
178 
179  private:
180 
181  Aws::String m_marker;
182 
183  Aws::Vector<HsmClientCertificate> m_hsmClientCertificates;
184 
185  ResponseMetadata m_responseMetadata;
186  };
187 
188 } // namespace Model
189 } // namespace Redshift
190 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeHsmClientCertificatesResult.h:165
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::AddHsmClientCertificates
DescribeHsmClientCertificatesResult & AddHsmClientCertificates(const HsmClientCertificate &value)
Definition: DescribeHsmClientCertificatesResult.h:154
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::HsmClientCertificate
Definition: HsmClientCertificate.h:36
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeHsmClientCertificatesResult.h:51
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::DescribeHsmClientCertificatesResult
DescribeHsmClientCertificatesResult()
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithMarker
DescribeHsmClientCertificatesResult & WithMarker(const Aws::String &value)
Definition: DescribeHsmClientCertificatesResult.h:91
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithMarker
DescribeHsmClientCertificatesResult & WithMarker(const char *value)
Definition: DescribeHsmClientCertificatesResult.h:111
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeHsmClientCertificatesResult.h:168
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithMarker
DescribeHsmClientCertificatesResult & WithMarker(Aws::String &&value)
Definition: DescribeHsmClientCertificatesResult.h:101
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::GetHsmClientCertificates
const Aws::Vector< HsmClientCertificate > & GetHsmClientCertificates() const
Definition: DescribeHsmClientCertificatesResult.h:119
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeHsmClientCertificatesResult.h:61
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithResponseMetadata
DescribeHsmClientCertificatesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeHsmClientCertificatesResult.h:174
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeHsmClientCertificatesResult.h:171
HsmClientCertificate.h
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetHsmClientCertificates
void SetHsmClientCertificates(const Aws::Vector< HsmClientCertificate > &value)
Definition: DescribeHsmClientCertificatesResult.h:126
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithResponseMetadata
DescribeHsmClientCertificatesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeHsmClientCertificatesResult.h:177
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeHsmClientCertificatesResult.h:81
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::DescribeHsmClientCertificatesResult
DescribeHsmClientCertificatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetHsmClientCertificates
void SetHsmClientCertificates(Aws::Vector< HsmClientCertificate > &&value)
Definition: DescribeHsmClientCertificatesResult.h:133
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::operator=
DescribeHsmClientCertificatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::AddHsmClientCertificates
DescribeHsmClientCertificatesResult & AddHsmClientCertificates(HsmClientCertificate &&value)
Definition: DescribeHsmClientCertificatesResult.h:161
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
ResponseMetadata.h
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithHsmClientCertificates
DescribeHsmClientCertificatesResult & WithHsmClientCertificates(Aws::Vector< HsmClientCertificate > &&value)
Definition: DescribeHsmClientCertificatesResult.h:147
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeHsmClientCertificatesResult.h:71
Aws::Redshift::Model::DescribeHsmClientCertificatesResult::WithHsmClientCertificates
DescribeHsmClientCertificatesResult & WithHsmClientCertificates(const Aws::Vector< HsmClientCertificate > &value)
Definition: DescribeHsmClientCertificatesResult.h:140
Aws::Redshift::Model::DescribeHsmClientCertificatesResult
Definition: DescribeHsmClientCertificatesResult.h:36